![]() |
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> |
Code:
<if condition="is_member_of($bbuserinfo, 47)"> |
Yes!! It works great!
Thank you!!!!! |
All times are GMT. The time now is 09:55 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:
|