![]() |
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 Quote:
and this Quote:
Quote:
|
Try:
Code:
if (!($userinfo['options'] & $vbulletin->bf_misc_useroptions['coppauser'])) Edit: Just decided to look at the code around those hooks that you mentioned, and I'm not sure $userinfo['options'] will be set yet. You may just want to use: Code:
if (!$vbulletin->GPC['coppauser']) |
All times are GMT. The time now is 06:22 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|