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

  • ArchAngelz
    replied
    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?

    Leave a comment:


  • bszopi
    replied
    Has anyone noticed issues with the sitemap because of this?

    http://www.vbulletin.com/forum/showt...-Sitemap-Issue

    This is the only thing I can think of that would cause the issue I'm having. Thanks!

    Leave a comment:


  • dholt
    replied
    Originally posted by Sledgstone View Post
    If anyone is interested, I was able to get the following to work for me. My forums are in a subdomain called forums. Make all the following files, but replace 'username' with your host account username and 'forums' with whatever your subdomain/directory your forums are installed in. Then place all the files in whatever directory you want your cms to load in. I have this working on vb 4.0.6. And I've made no changes to my htaccess file either.

    content.php
    Code:
    <?php
    chdir('/home/username/public_html/forums');
    require_once('/home/username/public_html/forums/content.php');
    ?>
    editor.php
    Code:
    <?php
    chdir('/home/username/public_html/forums');
    require_once('/home/username/public_html/forums/editor.php');
    ?>
    index.php
    Code:
    <?php
    chdir('/home/username/public_html/forums');
    require_once('/home/username/public_html/forums/content.php');
    ?>
    list.php
    Code:
    <?php
    chdir('/home/username/public_html/forums');
    require_once('/home/username/public_html/forums/list.php');
    ?>
    widget.php
    Code:
    <?php
    chdir('/home/username/public_html/forums');
    require_once('/home/username/public_html/forums/widget.php');
    ?>
    I did whatSledgstone done except I only did it after the
    require_once after the
    chdir I just put forum

    some servers require this and some don't Thanks for the post.

    Leave a comment:


  • Sledgstone
    replied
    If anyone is interested, I was able to get the following to work for me. My forums are in a subdomain called forums. Make all the following files, but replace 'username' with your host account username and 'forums' with whatever your subdomain/directory your forums are installed in. Then place all the files in whatever directory you want your cms to load in. I have this working on vb 4.0.6. And I've made no changes to my htaccess file either.

    content.php
    Code:
    <?php
    chdir('/home/username/public_html/forums');
    require_once('/home/username/public_html/forums/content.php');
    ?>
    editor.php
    Code:
    <?php
    chdir('/home/username/public_html/forums');
    require_once('/home/username/public_html/forums/editor.php');
    ?>
    index.php
    Code:
    <?php
    chdir('/home/username/public_html/forums');
    require_once('/home/username/public_html/forums/content.php');
    ?>
    list.php
    Code:
    <?php
    chdir('/home/username/public_html/forums');
    require_once('/home/username/public_html/forums/list.php');
    ?>
    widget.php
    Code:
    <?php
    chdir('/home/username/public_html/forums');
    require_once('/home/username/public_html/forums/widget.php');
    ?>

    Leave a comment:


  • revmitchell
    replied
    Apparently there is no support offered for this

    Leave a comment:


  • revmitchell
    replied
    What ever mistake I made killed all images. I have no idea how to fix it

    http://www.pastors-source.com/vb/forum.php

    Leave a comment:


  • Mountainwxman
    replied
    This is the most simplistic thing I've seen as a VB hack!

    One word of advice, Note Pad++

    Leave a comment:


  • Trevor Hannant
    replied
    Original Post now added as an article here

    Leave a comment:


  • punchbowl
    replied
    do exactly as posted in the first op. should be no need to edit your htaccess.

    Leave a comment:


  • sadon
    replied
    guys,
    i could really use your help as i'm intrested in having my CMS at the root.
    please advise.

    Leave a comment:


  • sadon
    replied
    also, one another thing: does it also have any effect on the .htaccess file?

    Leave a comment:


  • sadon
    replied
    thank you slinky for the thread.
    i am intrested in putting my cms in the root directory (www.mydomian.com) and the forums (www.mydomain.com/forums) in the subdirectory.
    However, i have a question: what if i want to upgrade to a latest version, will those changes make it difficult to do the upgrading?

    please advise.

    Leave a comment:


  • Subah
    replied
    First thing i will do after upgrading to vb4

    Leave a comment:


  • slinky
    replied
    Originally posted by punchbowl View Post
    yeah wordpad/word will add extra formatting codes etc to plain text so you should never use it.
    Good catch. It's like second nature to me. Never, ever use any word processor if you're doing coding. It has always been notepad, programmer's notebook or edit plus for me by instinct.

    Leave a comment:


  • Ohiocustoms
    replied
    Thank you very much.

    Leave a comment:

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