The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
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 ![]() |
#2
|
||||
|
||||
![]()
Anyone?
![]() |
#3
|
||||
|
||||
![]()
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"> stuff only for if the user is in usergroupid 4 </if> |
#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: ![]() 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). |
#5
|
||||
|
||||
![]()
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.) |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|