The code seems to be working, but when in debug mode a lot of notices show up. I`d rather they shouldn`t:
PHP Code:
Notice (8): Undefined index: username [/home/path2vb/forum/includes/class_dm_user.php, line 419]
Notice (8): Undefined index: userid [/home/path2vb/forum/includes/class_dm_user.php, line 421]
Notice (8): Undefined index: ajax [/home/path2vb/forum/includes/functions.php, line 2696]
Notice (8): Use of undefined constant LANGUAGEID - assumed 'LANGUAGEID' [/home/path2vb/forum/includes/functions_misc.php, line 795]
Notice (8): Use of undefined constant LANGUAGEID - assumed 'LANGUAGEID' [/home/path2vb/forum/includes/functions_misc.php, line 812]
Notice (8): Undefined variable: errsize [/home/path2vb/forum/includes/class_dm.php, line 322]
Notice (8): Only variable references should be returned by reference [/home/path2vb/forum/includes/class_dm.php, line 294]
Then I got a question, is it possibile to add an user in an
inactive state, and only after a
third party email validation, enable him/her? I couldn`t find any column in the vb_user table that indicates this active/inactive state, any help?