The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
making cms the homepage
I am having problems with making the cms page my home pages instead of the forums page for site crimeshq.com
Settings: URL of Forum is still set to http://crimeshq.com/forums Always use Forum URL as base path is set to NO CMS Component URL is set to http://www.crimeshq.com Homepage URL is set to http://crimeshq.com Content Management Settings: Default Page is set to 1-Index (I left it as it was when I installed vBulletin) Point CMS default page to index.php is set to YES Site tab URL is set to ../ I have attempted to follow the following instructions from the vBulletin online manual for Content Management -CMR URL, Optional URL for your CMS If this is specified it will override the Forum URL setting for CMS pages. You may specify an absolute URL or a URL relative to your Forum URL Examples: http://www.example.com http://www.example.com/cms ../ Note: This may be specified to change the base URL for all CMS links. This is useful if you run the CMS from a location that differs from your Forum URL. You may specify an absolute URL such as http://www.example.com/, or a URL relative to your Forum URL. If your forum is in /forum and your CMS is at the root of your webserver then you may use ../. If you use an absolute URL the option Always use Forum URL as Base Path will have no effect for CMS pages, and the CMS url specified will always be used. If you wish to run your CMS from a location other than your Forum URL then you must ensure that the appropriate entry scripts have been set up. Create the following files. Be sure to replace 'your_forum_path' with the actual path to your vBulletin installation. For example, if your CMS will be at http://www.example.com/ and your forums at http://www.example.com/forums/, then replace 'your_forum_path' with 'forums'. content.php <?php define(VB_RELATIVE_PATH, 'your_forum_path'); chdir('./' . VB_RELATIVE_PATH); require('content.php'); editor.php <?php define(VB_RELATIVE_PATH, 'your_forum_path'); chdir('./' . VB_RELATIVE_PATH); require('editor.php'); list.php <?php define(VB_RELATIVE_PATH, 'your_forum_path'); chdir('./' . VB_RELATIVE_PATH); require('list.php'); widget.php <?php define(VB_RELATIVE_PATH, 'your_forum_path'); chdir('./' . VB_RELATIVE_PATH); require('widget.php'); index.php PLEASE NOTE: The index.php file uses require('content.php'), not require('index.php') <?php define(VB_RELATIVE_PATH, 'your_forum_path'); chdir('./' . VB_RELATIVE_PATH); require('content.php'); Default Page If a user visits your CMS site without specifying a page, they will view this page. It should consist of the page number, dash, then the seo url you assigned that page. For example: '1-home-page'. An incorrect value here can prevent CMS from functioning. CMS Name Name of your CMS. This appears in the title of every CMS page. Site Tab URL The URL used by the CMS Tab in the main navigation menu. Associated Forum for Comments The forum to use for CMS item comment threads. Note, if you change this value to a different Forum then you will need to manually move any existing threads to the new forum. I have never done anything like this before so have no idea about editing files etc, anyway I tried inserting the codes into the 5 files it mentions but had no idea where to put them, after uploading them I logged onto http://crimeshq.com (there is nothing there) then tried http://crimeshq.com/forums and received the following error messages Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/crimeshq/public_html/forums/index.php on line 2 Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/crimeshq/public_html/forums/content.php on line 3 (received this error about 100 times Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/crimeshq/ I have since restored the original files without amendments to my public_html file in forums I found a similar post on vbulletin.com forum and one user suggested the following only; traen Fri 1st Jul '11, 2:40am To set cms as root, this is all I did. Login to admin control panel>Settings>Options>Content Management>Site Tab URL>Set to "./" without the quotations. Click save. Done. Edit to add: I also have Point CMS default to index.php set to no if that helps. Anyone have any suggestions on how I do this? If I have to re-insert the php codes back into the 5 files where in the files do I place them? Many Thanks in advance or anyones help --------------- Added [DATE]1325833212[/DATE] at [TIME]1325833212[/TIME] --------------- All ok now, my hosting provider fixed it for me |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|