Now v4.0.1 says the issue has been resolved so we can now have our forum in /forum and our CMS in /index. My question is if you already have a forum in /forum (actually it is a subdomain), how does the upgrade to the CMS take place? Will it be done automatically or?
Forum in /forum to Suite /index with v4.0.1
Collapse
X
-
-
copy this to your root as index.php
Code:<?php /** * If you want to move this file to the root of your website, change this * line to your vBulletin directory and uncomment it (delete the //). * * For example, if vBulletin is installed in '/forum' the line should * state: * * define(VB_RELATIVE_PATH, 'forum'); * * Note: You may need to change the cookie path of your vBulletin * installation to enable your users to log in at the root of your website. * If you move this file to the root of your website then you should ensure * the cookie path is set to '/'. * * See 'Admin Control Panel * ->Cookies and HTTP Header Options * ->Path to Save Cookies */ define(VB_RELATIVE_PATH, 'forum'); // Do not edit. if (defined('VB_RELATIVE_PATH')) { chdir('./' . VB_RELATIVE_PATH); } /** * 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');
Comment
-
then use this as your index.php file in your /forum folder
Code:<?php /** * If you want to move this file to the root of your website, change this * line to your vBulletin directory and uncomment it (delete the //). * * For example, if vBulletin is installed in '/forum' the line should * state: * * define(VB_RELATIVE_PATH, 'forum'); * * Note: You may need to change the cookie path of your vBulletin * installation to enable your users to log in at the root of your website. * If you move this file to the root of your website then you should ensure * the cookie path is set to '/'. * * See 'Admin Control Panel * ->Cookies and HTTP Header Options * ->Path to Save Cookies */ //define(VB_RELATIVE_PATH, 'forums'); // Do not edit. if (defined('VB_RELATIVE_PATH')) { chdir('./' . VB_RELATIVE_PATH); } /** * 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');
Comment
-
Well it still doesn't work on subdomains.
In fact, this works better for me
PHP Code:<?php
chdir('/home/pathtoforum/public_html');
require_once('/home/pathtoforum/public_html/content.php');Last edited by steven s; Tue 12 Jan '10, 5:21pm....steven
www.318ti.org (vB3.8) | www.nccbmwcca.org (vB4.2)
bmwcca.org/forum | m135i.net
"I tried to clean this up but this thread is beyond redemption." - Steve Machol
Comment
-
-
...steven
www.318ti.org (vB3.8) | www.nccbmwcca.org (vB4.2)
bmwcca.org/forum | m135i.net
"I tried to clean this up but this thread is beyond redemption." - Steve Machol
Comment
-
Comment
-
Comment
-
I totally agree, there shouldn't be a fixed for something that is reported as fix. Either it's not fixed or I'm missing something. Either way an official answer would be appreciated.Comment
-
Comment
-
2) Your post had nothing to do with this thread.
3) If you are looking for help, the topic should be in the subject line so someone may be able to help you.
4) No need for an attitude....steven
www.318ti.org (vB3.8) | www.nccbmwcca.org (vB4.2)
bmwcca.org/forum | m135i.net
"I tried to clean this up but this thread is beyond redemption." - Steve Machol
Comment
-
I was really expecting the contents of my fresh vB4.0.1.zip to have a / folder as well as the normal /upload folder so that the CMS would be in the root. Is this just a rewrite workaround for those of us with an existing (and SEO linked) /Forum?Comment
-
I wouldn't mind an index.php or content.php file that you dropped in the root directory if it actually worked. I really thought we would have seen a new setting in the admincp....steven
www.318ti.org (vB3.8) | www.nccbmwcca.org (vB4.2)
bmwcca.org/forum | m135i.net
"I tried to clean this up but this thread is beyond redemption." - Steve Machol
Comment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment