Forum in /forum to Suite /index with v4.0.1

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ZoDesigns.com
    Senior Member
    • Nov 2005
    • 272
    • 3.5.x

    [Suite] Forum in /forum to Suite /index with v4.0.1

    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?
  • Harv
    Senior Member
    • Jan 2005
    • 157
    • 4.1.x

    #2
    I am waiting for someone to comment on this as well - I've been waiting for this to be resolved. Bump

    Comment

    • jhabers
      Senior Member
      • Nov 2009
      • 125
      • 4.0.0

      #3
      Originally posted by Harv
      I am waiting for someone to comment on this as well - I've been waiting for this to be resolved. Bump

      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');
      Maxum Boat Forum / Computer Repair Cary NC

      Comment

      • jhabers
        Senior Member
        • Nov 2009
        • 125
        • 4.0.0

        #4
        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');
        Maxum Boat Forum / Computer Repair Cary NC

        Comment

        • steven s
          Senior Member
          • Jul 2004
          • 3722
          • 3.8.x

          #5
          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

          • thunderclap
            Senior Member
            • Dec 2008
            • 407
            • 4.2.x

            #6
            The HOME Navbar button disappears off The Front Page now. Anyone else notice this?

            Comment

            • melbo
              Senior Member
              • Apr 2005
              • 517
              • 3.8.x

              #7
              Originally posted by jhabers
              copy this to your root as index.php
              Where did you find that?

              Comment

              • steven s
                Senior Member
                • Jul 2004
                • 3722
                • 3.8.x

                #8
                Originally posted by thunderclap
                The HOME Navbar button disappears off The Front Page now. Anyone else notice this?
                No and if you are having an issue, you really need to start your own thread.
                ...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

                • jhabers
                  Senior Member
                  • Nov 2009
                  • 125
                  • 4.0.0

                  #9
                  Originally posted by melbo
                  Where did you find that?
                  one of the dev's posted it in the project forum for this "bug"
                  Maxum Boat Forum / Computer Repair Cary NC

                  Comment

                  • ZoDesigns.com
                    Senior Member
                    • Nov 2005
                    • 272
                    • 3.5.x

                    #10
                    But v4.0.1 was supposed to fix the "bug" so I should not have to use that "fix", correct?

                    Comment

                    • WhatChaMissin
                      Senior Member
                      • Apr 2005
                      • 689
                      • 3.8.x

                      #11
                      Originally posted by ZoDesigns.com
                      But v4.0.1 was supposed to fix the "bug" so I should not have to use that "fix", correct?
                      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

                      • thunderclap
                        Senior Member
                        • Dec 2008
                        • 407
                        • 4.2.x

                        #12
                        Originally posted by steven s
                        No and if you are having an issue, you really need to start your own thread.
                        Why? I was just making an observation and didn't intend to hijack your precious thread.

                        Comment

                        • steven s
                          Senior Member
                          • Jul 2004
                          • 3722
                          • 3.8.x

                          #13
                          Originally posted by thunderclap
                          Why? I was just making an observation and didn't intend to hijack your precious thread.
                          1) It's not my thread.
                          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

                          • melbo
                            Senior Member
                            • Apr 2005
                            • 517
                            • 3.8.x

                            #14
                            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

                            • steven s
                              Senior Member
                              • Jul 2004
                              • 3722
                              • 3.8.x

                              #15
                              Originally posted by melbo
                              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?
                              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.
                              Working...