The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
How do I put an if condition to show something only in my custom vb page
for example /page.php |
#2
|
|||
|
|||
![]()
What you want to do is
<if condition = PAGE1> show XXXXYYY </if> am i get this right? |
#3
|
|||
|
|||
![]()
what do you mean by PAGE1? Do you mean the URL?
|
#4
|
|||
|
|||
![]()
You could define THIS_SCRIPT in your php file:
Code:
define('THIS_SCRIPT', 'page'); Code:
<if condition="THIS_SCRIPT == 'page'"> . . . </if> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|