The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
statement/conditional help needed to run script for usergroup
Hi,
I was wondering if someone can help me with the syntax to allow a script to run (.php or .js file) when a member is part of certain usergroup (preferably 'registered'); as part of the header template or any other template that I wish. Thank you in advance! |
#2
|
||||
|
||||
Not sure if this is what you need, but....
HTML Code:
<if condition="$show[member]"> YOUR CUSTOM CODE </if> |
#3
|
|||
|
|||
Quote:
Code:
<if condition="is_member_of($vbulletin->userinfo, 1, 2, 3)"></if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|