The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Code snippet for: IF user is NOT member of groupid X THEN...
I am trying to set a template to display a brief message requesting donations to All viewers (including unregistered) EXCEPT those I have flagged as members of a (secondary) group name "Donors" with groupid 47. (The idea is that once they have donated I do not want to keep bugging them.)
I am looking for a snippet of vB code with this logic: IF viewer is NOT a member of (secondary) groupid47 THEN display "Please donate" This code does NOT seem to work: Code:
<IF condition="$bbuserinfo['usergroupid']!=47"> Please donate, blah, blah </IF> |
#2
|
||||
|
||||
Code:
<if condition="is_member_of($bbuserinfo, 47)"> Thanks for donating <else /> Please Donate </if> |
#3
|
||||
|
||||
Yes!! It works great!
Thank you!!!!! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|