The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Action based on condition
Can someone tell me how to exclude an action (or line(s)) in a vBulletin script page such as in index.php by allowing only a paricular user or administrator ?
For example...... <if $Username="Administrator"> This is the line I want to be conditionally executed </if> In the above example, I ONLY want the red line to be executed if the user is Administrator. I need some way to exclude a line of the script UNLESS it's the administrator(s) or a particular members who IS the adminstrator. What I don't know is what variables are stored in memory and how to use them in a conditional statement like this. Thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|