![]() |
COPPA template conditional?
Hi guys,
I'm using Cyb's Advanced Registration mod and would like to highlight any COPPA users. I know how I'm going to highlight them, I just need the if conditional for COPPA. Any help would be hot. Cheers folks :) |
Anyone? :confused:
|
The if condition for COPPA would just be a condition based on the usergroup. By default it is usergroupid 4. So, something like:
HTML Code:
<if condition="$userinfo['usergroupid'] == 4"> |
Hi Lynne,
Unfortunately going off usergroup wouldn't work for this as all newbies are in group 4 by default. The conditional I'm after is for this option in user.php: http://img.photobucket.com/albums/v2...l/ACPCOPPA.jpg Its not a modification specific question as the conditional could be used in other things, hence the posting here (though I have also posted on the modification thread). |
Look in the page source for that page and you should see the name of the variable. Try a search in your code for that variable and see where it comes from and if it's available for use. Then try using it in your conditions.
(variable name is "coppauser" which looks like it comes from the useroptions array.) |
All times are GMT. The time now is 05:38 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:
|