Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Thu Mar 28, 2024 6:07 pm

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
PostPosted: Sat Apr 13, 2013 6:07 am 
Offline
Newbie

Joined: Fri Feb 22, 2013 11:43 am
Posts: 23
Hi All

Is there any tutorials on how to add new fields to the database and then modify the script to populate this new field. For example say I want to add a field called TimeZone to the DB. I then want my script to query local PC on what time zone it is set and send this info to the DB in the new TimeZone Field I added.

Thanks for all the help.


Top
 Profile  
Reply with quote  
PostPosted: Sat Apr 13, 2013 8:27 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
No tutorials. If you're trying to add something generic (like TimeZone) that OpenAudit doesn't currently audit you should code it yourself and submit the code. If you can't then you should submit a feature request with what you want audited fleshed out a bit.

Having said that: 10,000 ft view (and could be wrong):
Add code to audit script as appropriate.
Add field to database as appropriate
Add database upgrade code to admin.php controller upgrade function
Edit the appropriate model's process_* function
Edit views to display information
Edit report XML to display information

Decide you should have just made a feature request :lol: Who knows how many changes Mark has made in the code since beta 9.2. It might be easiest to just make a request.


Top
 Profile  
Reply with quote  
PostPosted: Mon Apr 15, 2013 12:13 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
[quote="jpa"]Decide you should have just made a feature request Who knows how many changes Mark has made in the code since beta 9.2. It might be easiest to just make a request.

What JPA said (hint - lots of changes)...

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group