The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help with global.php guys
Hello everyone, I have this at the top of my global.php
Code:
$YOUR_DOMAIN = "forum.downwithipod.com"; // EDIT TO YOUR SETTING! $FORUM_DIRECTORY = "forum"; // EDIT TO YOUR SETTING! if($_SERVER['SERVER_NAME'] != $YOUR_DOMAIN){ header("Location: http://{$YOUR_DOMAIN}".str_replace("{$FORUM_DIRECTORY}/","",$_SERVER['REQUEST_URI'])); } Anyhelp? thank |
#2
|
||||
|
||||
Quote:
|
#3
|
|||
|
|||
I meant its redirecting the cmps page to the forum, have a look:
http://www.downwithipod.com/ redirects to http://forum.downwithipod.com/ :/ |
#4
|
||||
|
||||
Add a conditional checking if it's a portal page.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|