The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Some conditional help !
I have some HTML stored in a variable in a custom vb page something like this:-
PHP Code:
Now, all I want is to restrict the above image link in the variable to be viewed only by a certain usergroup, but it isn't working. I am using this:- PHP Code:
1. The above doesn't work instead its showing up the condition in source. 2. Please note, this is the only way I need to achieve this. I do not want to put the link code in template directly. I need to use the variable from php page in the template. 3. I have omitted the double course in the conditional as it gives a syntax error. Thank You |
#2
|
|||
|
|||
Use an if-statement in your PHP to only set this variable if you need it.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|