The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
renaming my index.php
I just installed vbadvanced CMPS, and I would like to rename my index.php (forum) into forum.php so I can rename my CMPS file index.php
so that when users enter my site they get the portal first and then they click on the forum.php NOT: that the portal and the forum are on the same dir |
#2
|
||||
|
||||
just rename it, then go to AdminCP->vBulletin Options->Forum Home Page Options-> Set the first box to forum instead of index.
|
#3
|
|||
|
|||
it worked but now my arcade is messed up, everytime a user tries to save his highscore, it redirects him to the portal
I donno why so I restore it any other way to make people enter portal.php instead of index.php? |
#4
|
||||
|
||||
make an index.html file, put it in your root. and place this in it
HTML Code:
<html> <head> <title>your site name.... </title> <script language="JavaScript"> self.location.href='/forums/portal.php'; </script> </head> <body> </body> </html> |
#5
|
|||
|
|||
that didn't work :\
weird :\ any other way? maybe htaccess file? could that work? |
#6
|
|||
|
|||
In your index.php (which ever) add this at the top of the file just below <?php
Code:
if($_POST['module'] == "pnFlashGames"){ $_GET[act] = "Arcade"; $_GET['module'] = "arcade"; } if($_POST['func'] == "storeScore"){ $_GET['do'] = "pnFStoreScore"; } if($_POST['func'] == "saveGame"){ $_GET['do'] = "pnFSaveGame"; } if($_POST['func'] == "loadGame"){ $_GET['do'] = "pnFLoadGame"; } $act = $_GET[act]; $showuser= $_GET[showuser]; if($act == "Arcade") { include "arcade.php"; exit(); } if(!empty($showuser) && $showuser >= 1) { $u = $showuser; $_GET[u] = $showuser; include "member.php"; exit(); } Oh, assuming you use ibproarcade as on ut2007world.com So your index.php should look like PHP Code:
|
#7
|
|||
|
|||
thx man, seems to be working fine
really thx |
#8
|
|||
|
|||
glad that it worked
|
#9
|
||||
|
||||
utw-Mephisto,
Please remove vBa file quoted above. Thanks |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|