Eqvaliser
27-02-2010, 10:52 AM
Alot who are getting into vbulletin 4 either want their website to open on the forum
while others want their website to open on the homepage.
Here is how you set it..
Open/Edit the index.php in your root folder and take a look..
This code allows it to start up on the Home tab.
/**
* You can choose the default script here. Uncomment the appropriate line
* to set the default script. Note: Only uncomment one of these, you must
* add // to comment out the script(s) that you DO NOT want to use as your
* default script.
*
* You can choose the default script even if you do not plan to move this
* file to the root of your website.
*/
/**
* Use the CMS as the default script:
*/
require('content.php');
/**
* Use the forum as the default script:
*/
// require('forum.php');
This code allows it to start on the forum tab.
/**
* You can choose the default script here. Uncomment the appropriate line
* to set the default script. Note: Only uncomment one of these, you must
* add // to comment out the script(s) that you DO NOT want to use as your
* default script.
*
* You can choose the default script even if you do not plan to move this
* file to the root of your website.
*/
/**
* Use the CMS as the default script:
*/
// require('content.php');
/**
* Use the forum as the default script:
*/
require('forum.php');
The difference is marked with bold text, and if youre unsure how it works.
simply copy the code from the box you want, and put it into your index.php
replaceing the code there..
Eqvaliser.
while others want their website to open on the homepage.
Here is how you set it..
Open/Edit the index.php in your root folder and take a look..
This code allows it to start up on the Home tab.
/**
* You can choose the default script here. Uncomment the appropriate line
* to set the default script. Note: Only uncomment one of these, you must
* add // to comment out the script(s) that you DO NOT want to use as your
* default script.
*
* You can choose the default script even if you do not plan to move this
* file to the root of your website.
*/
/**
* Use the CMS as the default script:
*/
require('content.php');
/**
* Use the forum as the default script:
*/
// require('forum.php');
This code allows it to start on the forum tab.
/**
* You can choose the default script here. Uncomment the appropriate line
* to set the default script. Note: Only uncomment one of these, you must
* add // to comment out the script(s) that you DO NOT want to use as your
* default script.
*
* You can choose the default script even if you do not plan to move this
* file to the root of your website.
*/
/**
* Use the CMS as the default script:
*/
// require('content.php');
/**
* Use the forum as the default script:
*/
require('forum.php');
The difference is marked with bold text, and if youre unsure how it works.
simply copy the code from the box you want, and put it into your index.php
replaceing the code there..
Eqvaliser.