Announcement

Collapse
No announcement yet.

What is the if conditional code, in plugin for : if coppauser is 0

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • What is the if conditional code, in plugin for : if coppauser is 0

    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

    if (!$userinfo['coppauser'])
    but its not working, maybe because the user is still registered as a user yet

    and this

    if ($userdata->set('coppauser', 0))
    but got this error message :
    Fatal error: Field coppauser is not defined in $validfields in class vB_DataManager_User in /includes/class_dm.php on line 485
    Build community is not easy, its a very long game
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X