Quick Overview: Installing vBulletin Connect

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74170

    Quick Overview: Installing vBulletin Connect

    Installing vBulletin Connect is a relatively simple process but it can appear intimidating. This is the quick install guide for getting vBulletin Connect running on your server.

    Note: If you would rather not deal with installation, please look at our vBulletin Cloud product. We will take care installing the software needed and provide all the tools necessary to get started.


    Tools needed to install vBulletin Connect on your server
    • A text editor that understands Linux linefeeds. Suggested editors are Atom, Visual Studio Code, and Notepad++.
    • ZIP Management Utility.
    • SFTP Client. We suggest Filezilla.
    • Web Hosting. We suggest cPanel based hosting on a Linux server.
    • Registered Domain Name.
    • A database created on the server and its credentials written down.
    • An email address.

    A moderate knowledge of HTML and CSS will be beneficial in customizing your site but is not necessary for basic customizations.

    Before Installation


    Before installing vBulletin please make sure that your hosting provider meets the minimum requirements for the software. If you don't understand some of the terms on the requirements list, you can simply provide it to your hosting provider and they can do the verification.

    Note: It is important to install vBulletin 5 into a clean and empty directory.


    Setting Up vBulletin Connect for the first time
    1. After Purchasing, download vBulletin Connect from the your Member's Area.
    2. Unzip the downloaded package on your local machine. Depending on your hosting provider and internet connection this can take some time.
    3. In your vBulletin files there will be a directory called upload. Enter it.
    4. Rename config.php.bkp to config.php (ren config.php.bkp config.php)
    5. Enter the /upload/core/includes directory.
    6. Rename config.php.new to config.php (ren config.php.new config.php)
    7. Edit config.php and change these values to match your information.
      • $config['Database']['dbname'] = 'databasename';
      • $config['Database']['technicalemail'] = '[email protected]';
      • $config['MasterServer']['servername'] = 'localhost'; // may be referred to as a host name
      • $config['MasterServer']['port'] = 3306;
      • $config['MasterServer']['username'] = 'username';
      • $config['MasterServer']['password'] = 'password';
      • Make sure that all values are to the right of the equal sign (=) and between the single quotes ('). If you do not know these values they can be obtained from your hosting provider.
      • No other values need to be changed in this file for a basic installation of vBulletin Connect.
    8. Using your SFTP Client, upload the contents of the upload directory (including all sub-directories and files) to your server. Place these files in the directory where you want to install vBulletin.
    9. Rename htaccess.txt to .htaccess (the leading period is required). If you are using Filezilla, you can do this by right-clicking on the file and choosing rename on the context menu. This can also be done from the Windows Command Line before uploading the files to the server.

    Note: If you are using Windows File Explorer, the default settings may hide file extensions. You can make the system show these by choosing View -> Options from the menu or ribbon and then unchecking the box next to "Hide Extensions of Known File Types". Apply your changes and click OK to close the dialog box.


    Running the Install Wizard


    Now that the files have been copied to your server, you need to install the software by creating the vBulletin Connect database and adding the necessary data. We have provided an Install Wizard to walk you through this important step.

    A couple of definitions before we get started:
    • %yourdomain% should be replace with the domain name you are using for your site.
    • %forumroot% refers to the directory where vBulletin Connect is installed. If you install vBulletin Connect in the public_html or www directory, this value would be empty.
    1. Load the installation wizard in your browser. The URL should be https://%yourdomain%/%forumroot%/install/install.php
      • If the URL above does not work and you have renamed htaccess.txt to .htaccess, then URL Rewrites are not working properly on your server. Discuss this issue with your hosting provider. You can alternatively access the install file from https://%yourdomain%/%forumroot%/core/install/install.php
    2. The Installation Wizard will ask for your Customer ID. This can be found in your Member's Area after logging in.
    3. Process all the steps in the Wizard.
    4. When the Wizard finishes, it will redirect you to the AdminCP.
    5. Delete the /core/install folder from your server for security purposes.
    6. When finished you can view the site through the baseurl (http://%yourdomain%/%forumroot%/).
    7. To get started quickly, log in with the administrator created during installation and click "Edit Site" toggle. This will turn on Site Builder. You can use Site Builder's Quick Setup to get up and running quickly.
    8. For permissions and advanced options, click on the AdminCP button within the Site Builder menu.

    Installing vBulletin in a sub-directory and using another App above it


    Many web applications rely on a method called URL Rewriting to find content. vBulletin Connect is no different. When you have multiple web applications installed on the same server this cause conflicts. There are tools to make sure this doesn't happen. The best method is to install each app in its own sub-domain but this isn't always possible. To prevent URL conflicts with multiple apps follow these steps:
    1. Make sure vBulletin is installed in its own directory.
    2. Use a separate database for each web app.
      • If separate databases are not possible use a table prefix specified in the /core/includes/config.php file. We suggest using 'vb_'.
    3. Edit your .htaccess file and set the RewriteBase directive at the top. The instructions to do this are in the file. Delete the '#' at the beginning of the line to remove the comment. The code is listed below for reference.

    Code:
    # In some cases where you have other mod_rewrite rules, you may need to remove the
        # comment on the following RewriteBase line and change it to match your folder name.
        # This resets the other mod_rewrite rules for just this directory
        # If your site was www.example.com/forum, the setting would be /forum/
        #RewriteBase /
    Last edited by Wayne Luke; Tue 23 Jun '20, 12:13pm.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74170

    #2
    Frequent Installation Issues

    The Installer has the error "Error description: 2: mysqli_real_connect(): (HY000/1045): Access denied for user 'XXXX'@'localhost' (using password: NO)"
    This means the database connection information in your /core/includes/config.php file is incorrect. Please review this information with your Hosting Provider and/or Server Administrator.

    After installing vBulletin 5, my site is unformatted
    This means that URL Rewriting is not working on your site. Possible causes include:
    • htaccess.txt has not been renamed to .htaccess (the leading period is important)
    • mod_rewrite is not installed for Apache 2.4
    • URL Rewrite is not installed for IIS 8.5+
    • The server configuration for NGINX has not been updated. See the file for your version of PHP within the do_not_upload folder.
    • AllowOverride is not allowed in the Apache configuration file.
    Your hosting provider can help you get URL Rewrites working on your site.

    I already have Wordpress/Drupal/Other CMS installed in my root directory.
    In order for vBulletin to work properly, you must set the RewriteBase line in the vBulletin .htaccess file. By default the line looks like this:
    Code:
    #RewriteBase /
    You should change this to reflect the sub-directory that vBulletin is installed in. For example if you install vBulletin in the /forum directory, the line should be changed to:
    Code:
    RewriteBase /forum/
    I am only allowed one database and have other applications installed.
    Open the /core/includes/config.php file and change the table prefix. Find this line:
    PHP Code:
    $config['Database']['tableprefix'] = ''
    Change it to:
    PHP Code:
    $config['Database']['tableprefix'] = 'vb_'

    There is no AdminCP directory
    This is a virtual directory and does not need to actually exist on the server.

    The system states that it is not able to find the Log In Form
    Make sure that the Log In URL is set correctly in the AdminCP. In most installations, it should be the same as the Front-end URL.

    When trying to enable Site Builder I receive "error_information_x"
    White list your site in your Ad Blocking software. The error should go away.

    The AdminCP directory is empty
    This is by design. The /admincp/ directory is just a place holder and not actually needed or used by the software.


    The option to rename the AdminCP is missing.
    This is by design. Renaming this directory doesn't actually provide any security to your installation. If someone has access to your Administrator username and password, they can still access the AdminCP. vBulletin Connect and vBulletin Cloud both have other methods to secure the AdminCP. These include both Two-Factor Authentication and IP Blocking built into the software.
    Last edited by Wayne Luke; Mon 10 Feb '20, 11:37am.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    Related Topics

    Collapse

    Working...