The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Usergroup conditional
I'm new to trying template conditionals so this will undoubtedly look very basic to those who know.
I want a chunk of html in the page body to appear to one usergroup or several but not to anyone else. I found <if condition="is_member_of($vbulletin->userinfo, 1, 2, 3)"></if> Do I treat it like an html bracket and simply place my html chunk in it in the body area of a template? Like <if condition="is_member_of($vbulletin->userinfo, 1, 2, 3)"> html html html </if> I'm creating some static pages with the VB header and footer so how would I add code so all others except the usergroup or usergroups specified see a message I place there? saying sorry no access please use Back? |
#2
|
||||
|
||||
Yes you would put html inbetween those <if> and </if> code tags.
|
#3
|
|||
|
|||
Lynne thank you so much.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|