![]() |
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 |
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 |
All times are GMT. The time now is 01:33 PM. |
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:
|