The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
It doesn't seem to want to accept to following code;
Code:
if (THIS_SCRIPT == 'index') {
$page_menu = '<if condition="$bbuserinfo['userid']">it works<else />login</if>'; }
Code:
if (THIS_SCRIPT == 'index') {
$page_menu = 'it works'; }
|
|
#2
|
||||
|
||||
|
I'm pretty sure you need to escape some of the symbols, I could be wrong though.
Try PHP Code:
You could also (which would make more sense to me) have all of it inside the template you are using (not php one) as nested <if>s instead of using the php one, or do the opposite: all in php. IMO anyway. |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|