Announcement

Collapse
No announcement yet.

FAQ: How to install CMS in Root, Forums in subdirectory (up to 4.1.0 only)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Lostboyfan
    replied
    Thanks for this awesome tutorial. I got it working on my vbulletin site.

    Leave a comment:


  • gonumber6
    replied
    Worked perfectly, thanks

    Leave a comment:


  • Steve Machol
    replied
    Originally posted by Booth View Post
    Oh, what is the 4.1.1 solution?
    The vB Friendly URL options in the Admin CP.

    Leave a comment:


  • Booth
    replied
    Originally posted by Steve Machol View Post
    I recommend removing any prior changes before implementing the 4.1.1 solution.
    Oh, what is the 4.1.1 solution?

    Leave a comment:


  • Booth
    replied
    Thanksfor this tutorial, will come in very handy and it's simpler than I thought it would be.

    Leave a comment:


  • Trevor Hannant
    replied
    It is.

    Leave a comment:


  • Subah
    replied
    Will this be as built in change in 4.1.1 ??

    Leave a comment:


  • Steve Machol
    replied
    I recommend removing any prior changes before implementing the 4.1.1 solution.

    Leave a comment:


  • ArchAngelz
    replied
    Any Vbulletin Support staff able to help us answer this question?

    Originally posted by ArchAngelz View Post
    With the URL Mapping feature in vb4.1.1, do we need to reverse the steps taken in this thread before upgrading? or After? Or just upgrade and have to do anything?
    Originally posted by Joey Link View Post
    I also want to know how this will effect upgrading...
    Originally posted by mobosix View Post
    Same here.

    Leave a comment:


  • ceprya
    replied
    Originally posted by steven s View Post
    I thought this is all built into the current version. 4.1.1?
    ??
    ?

    Leave a comment:


  • steven s
    replied
    I thought this is all built into the current version. 4.1.1?

    Leave a comment:


  • TosaInu
    replied
    Maybe I'm doing it all wrong: but this should achieve it in a much easier way.

    Just install the whole suite in one directory. I assume many of us have the legacy of the forum and needing a 3rd party homepage. So, we installed anything vb related into a sub directory forum (http://www.yoursite.com/forum). Then in the root you may have loads of other directories for your CMS (like Drupal). Name conflicts were a reason to have a separate directory for the forum.

    How easy it will be with the suite. Not quite. While I'm not a skilled coder or skilled webmaster, I'm not totally ignorant with scripts and such. The easy CMS wasn't easy in the first suite release, and the instructions about how to set it up never hit home.

    This works for just the simple CMS in the root and the forums in a sub directory.

    1 Set your cookie to site wide: vbulletin options -> Cookies and HTTP Header Options and set Path to Save Cookies to / .

    2 edit index.php in the forum directory. Comment out require('content.php'); like this:
    Code:
    //require('content.php');
    and uncomment require('forum.php'); like this
    Code:
    require('forum.php');
    3 also make a copy of the index.php from your root and install that to your root: http://www.yoursite.com and edit it. Uncomment the relative path
    //define('VB_RELATIVE_PATH', 'forums'); and change the last bit to make it reflect to your forum directory like this

    Code:
    define('VB_RELATIVE_PATH', 'forum');
    Uncomment //require('content.php'); like this
    Code:
    require('content.php');
    And comment out require('forum.php'); like this
    Code:
    //require('forum.php');
    I don't think I have anything changed in the ACP otherwise for CMS, Forum, Blog or content paths. It just works like this in an easy to grasp way. Only 2 files to worry about and a cookie that works on the whole domain. When your user goes to the root of your site (http://www.yoursite.com) he'll get the CMS. When it's an old member recalling the legacy url to visit his forum (but also for old posts in your forum linking to another one): http://www.yoursite.com/forum will bring him to the forum. The internal links also work smoothly.

    Leave a comment:


  • TosaInu
    replied
    I did it like it was put in the first post and I'm getting this error:

    Your submission could not be processed because you have logged in since the previous page was loaded.<br />
    <br />
    Please reload the window.

    Turns out that there are different situations now: I'm still not logged in at the CMS, but I do show logged in at the forum. It seems to have fixed by going to vbulletin options -> Cookies and HTTP Header Options and set Path to Save Cookies to / . It's still very tricky. A sellingpoint for the Suite would be an off the box index in my root to the CMS (the very page that ties all together), and install my forum wherever I like. I was happy to see 4.1.1 made it easier, as it wasn't easy before. It still isn't.

    Leave a comment:


  • mobosix
    replied
    Same here.

    Leave a comment:


  • Joey Link
    replied
    I also want to know how this will effect upgrading...

    Leave a comment:

widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X