Hi guys,
i want to make a plugin with hook register_addmember_process or register_addmember_complete
i need if conditional code, in plugin for :
if coppauser is 0
coppauser is a variable in registration, thats mean the user is not COPPA User
i want to set something for non COPPA User using a plugin
please help guys, what s the if conditional looks like
i already tried this
Quote:
if (!$userinfo['coppauser'])
|
but its not working, maybe because the user is still registered as a user yet
and this
Quote:
if ($userdata->set('coppauser', 0))
|
but got this error message :
Quote:
Fatal error: Field coppauser is not defined in $validfields in class vB_DataManager_User in /includes/class_dm.php on line 485
|