PDA

View Full Version : Problem with new User Field at AdminCP User Manager


SorentoUltimate
04-25-2010, 10:02 PM
Hello,

i add a new field at my user table

field name : takecardate
field type : int
field length : 10
field attributes : unsigned
field null : false
field default : 0

at userdata_start plugin i put
$this->validfields['takecardate'] = array(TYPE_UINT, REQ_NO);

at useradmin_edit_column2 plugin i put
print_table_break('', $INNERTABLEWIDTH);

print_table_header($vbphrase['takecardate']);
print_time_row($vbphrase['user_takecardate'], 'user[takecardate]', $user['takecardate'], 0);

i go to edit a user, i change the date, i press Save but when i go to see the user data again the date is not saved !!!!

any help on that ?

--------------- Added 1272303876 at 1272303876 ---------------

please i want your help to go on with a new addon for my site...