The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
I have modifyed the php server side script would this be correct ?
If this is correct can my server side php script reside in the web root and not in the /forums/ sub dir where all the vbulletin stuff resides. I want to have my script one level above the vbulletin sub dir? And do i need to have any more includes or any other code or should this work fine as is? <?php $selected = $_POST['selected']; switch ($selected) { case "John T Heard Lodge": $vbulletin->url = $vbulletin->options['bburl']."/forumdisplay.php?f=30"; eval(print_standard_redirect('redirecting to forum', false, true)); break; case "The Tyrian-Acacia Lodge": $vbulletin->url = $vbulletin->options['bburl']."/forumdisplay.php?f=31"; eval(print_standard_redirect('redirecting to forum', false, true)); break; default: echo "Invalid page"; break; } ?> THANKS Frank H. Shaw $vbulletin->url = $vbulletin->options['bburl']."/forumdisplay.php?f=30"; eval(print_standard_redirect('redirecting to forum', false, true)); |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|