The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Show text only to Certain Usergroups
Hi,
I've searched around Vb.org, and still can't find it. How do I show text to a certain usergroup, like the 'welcome guest' message that only shows to guests. Thank you, Donny |
#2
|
|||
|
|||
with conditions
<if condition="is_member_of($bbuserinfo, 2, 6, 7)"> see everybody who's in 2,6,7 </if> function is_member_of makes one extraquery! better try <if condition="in_array($bbuserinfo['usergroupid'], array(2, 6, 7))">see everybody whos in the primargroup 2,6 or 7</if> but this is just checking the "primary??" group i'm not sure if primary is the right word |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|