Can anyone explain how the USEROPTIONS array works? I would like to determine the COPPA status of the user. It used to be a field
user.coppauser in vb2, but now I understand I need to extract it somehow of the useroptions in vb3
PHP Code:
// Defined constants used for user field.
$_USEROPTIONS = array(
'showsignatures' => 1,
'showavatars' => 2,
'showimages' => 4,
'coppauser' => 8,
'adminemail' => 16,
'showvcard' => 32,
'dstauto' => 64,
'dstonoff' => 128,
'showemail' => 256,
'invisible' => 512,
'showreputation' => 1024,
'receivepm' => 2048,
'emailonpm' => 4096,
'hasaccessmask' => 8192,
//'emailnotification' => 16384, // this value is now handled by the user.autosubscribe field
'postorder' => 32768,
);
How would I recover coppa status for a user? I am using this in PHP, not a template, if that matters.
Regards,
Matt