The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hello,
Here is what I want to do. I want to have a variable that tells me whether the page that is loaded is from the root directory (i.e. www.domain.com/xyz.php) or whether it is being called from the blog directory (i.e. www.domain.com/blog/xyz.php). Based on what pages are getting loaded, i want to be able to change things in the common header. How do I do this? Thanks |
|
#2
|
|||
|
|||
|
Define a constant in each script, something like;
PHP Code:
PHP Code:
|
|
#3
|
|||
|
|||
|
Check the constant VB_AREA.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|