PDA

View Full Version : I'd like to add to $user_changelog_fields


nexialys
Thu 20th Mar '08, 11:11pm
Hi, this is a technical question, no need of support...

i'd like to be able to track more elements than the ones hardcoded in class_dm_user.php, here:
/**
* Which fieldchanges will be logged
*
* @var array
*/
var $user_changelog_fields = array('username', 'usergroupid', 'membergroupids', 'email');
so, what would be the only way of doing it?!... you know what i mean, the problem here is that there is no hook to add more fields in the system, so i'd like to know YOUR way ?!

nexialys
Fri 21st Mar '08, 11:58am
forget about it, i found it on my own...

btw, user fields are not phrased, have to create the ones related to the fields instead of placing carrets in them someway...