The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Conditions in template that use the users groups
Hi all!
I wanna do a condition in my tpl to exclude some users groups to show a piece of template... Actualy i use that code but i don't like it: <if condition="$post[postcount] % $vboptions[maxposts] == 1 AND ($bbuserinfo[posts]<2000 OR !$bbuserinfo[userid])"> html tags... </if> Now i wanna change that condition to show to ALL and exclude some user groups... How can I do? |
#2
|
||||
|
||||
HTML Code:
<if condition="is_member_of($bbuserinfo, 5, 6, 7)"> stuff to show if user viewing is a member of usergroup 5,6,7 </if> <if condition="is_member_of($userinfo, 5, 6, 7)"> stuff to show to all only if the member is in usergroup 5,6,7 </if> |
#3
|
||||
|
||||
yes tanky
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|