The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
How can I do something like....
<if page == domain.com/forum/vbnews.php> display custom stuff here </if> ? |
#2
|
|||
|
|||
![]()
Is it a vb page? If so there is a variable declared at the beginning of each page that will give you this info.
<if condition="THIS_SCRIPT == 'showthread'"> blah blah </if> |
#3
|
|||
|
|||
![]()
I think vbnews is a plug-in. Any ideas?
|
#4
|
||||
|
||||
![]()
If it's got a page, it's most likely got a THIS_SCRIPT constant -- and if it does not, it could always be added.
|
#5
|
|||
|
|||
![]()
How can I find the contant for a THIS_SCRIPT? Is there an equivalent way of echoing it out?
|
#6
|
||||
|
||||
![]()
Look in the PHP file, it's usually defined at the top. You could also create a plugin at hook location "global_complete" with the following:
Code:
echo THIS_SCRIPT; |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|