vBulletin® integration


vBulletin® integration plug-in provide you full vBulletin integration, including User system and Comment system.

This is an easy solution to integrating vBulletin forum software with your Vivvo system. If activated, vBulletin will take over full management of users and comments. A single registration works for the site as well as for the forums. It means that users are registered on the both systems at the same time, and when they log-in, they're logged to both systems at the same time.

vBulletin is a professional forum solution and this plug-in has capability of smoothly integration vBulletin into Vivvo CMS software.


  • Vivvo v4.1
  • vBulletin v3.7.x or v3.8.x or v4.0

Both scripts have to be installed on the same domain.

Pre-installation Steps

Prior to installing the plug-in itself, you should make one modification to vB original code if you want to be redirected to your website after you log-out. Open the file VBULLETIN_ROOT/includes/functions_login.php and find this code (around line 409):

($hook = vBulletinHook::fetch_hook('logout_process')) ? eval($hook) : false;

then below just paste this code:

if (isset($_REQUEST['logout_url']) && $_REQUEST['logout_url'] != ''){
header('Location: ' . $_REQUEST['logout_url']);

In case your forum is installed in Vivvo's subdirectory, it is necessary to place .htaccess into this folder in order to make forum functional.

.htaccess content:

<IfModule mod_rewrite.c>
RewriteEngine Off

After you have completed all pre-installation steps, you can install the plug-in.

Vivvo vB integration will work with non-English characters only if forums HTML Character Set is UTF-8. You can this character set in your vBulletin admin control panel → Languages & Phrases → Language Manager → Edit Settings

How to Install?

You need to access the Plug-ins section. Click on Plug-ins link which is located in Main menu at the top of your administration panel.

Admin menu

A list of all plug-ins currently registered to the system is displayed on the right hand side of the screen on Downloaded plug-ins tab.

To install vBulletin® integration plug-in you need to click on the install icon on the right side of the plug-ins name.

vBulletin install

This will take you to the page with the following fields. Just fill-in the values of corresponding parameters:

vBulletin install step 1

  • vB url → You should enter the full URL address of your website, http://www.example.com/forum (http:// prefix and slash are mandatory)
  • vB File System root → In this box you should placed a local path on your server where vBulletin® is installed

If you are unsure about the path you should do the following:

  1. open index.php file located in your forums' folder
  2. put the following line right after <?php tag
    echo dirname(__FILE__);
  3. save the file and reupload to your server
  4. open forums' index page in your browser, the path should be displayed on the top of page

When you got your forums path you should revert all changes to index.php file.

Do not go any further in the installation until you have both url and root added. After you enter these required fields, press the Next button to proceed with the installation.

On the next step, all you need to do is add some parameters in the form shown bellow:

vBulletin install step 2

  • vBulletin user ID → The option is used for ArticleBot to generate comments thread for respective articles
  • vBulletin forum ID → This indicates forum that will store auto-generated threads


After you have created a Forum that will store threads from your Vivvo site open it in your favorite browser and look at the URL.

Forum ID

As you may see, in our case, forums ID is 18.

The similar way you can get user ID. Just click on the username that will act like a bot (thread creator) and look at the URL:

User ID

Next, you will be informed that the plug-in was successfully installed and configured. Also the important notice will appear:

vBulletin install step 3

“From this point on, vBulletin® will manage User Management and Comment Management of the system. After this step you will be logged out and you must login into Vivvo using your vBulletin® administrator credentials.”

Choosing the finish task will log you out and provide you to administration log-in page. Now you should log-in using vBulletin administrator account. If you enter the correct credentials you'll be logged in to both systems.



After the vBulletin bridge installation, it is necessary to set 'Enable Vivvo comments' option in Vivvo administration - Preferences - Modules to 'No'

Now you should include vBulletin template for comments in your article template instead of current Vivvo comments template. Open /xhtml/article/default.tpl file and instead of this code line (around line 47):

<vte:include file="{VIVVO_TEMPLATE_DIR}box/comments.tpl" />

place the following:

<vte:include file="{VIVVO_TEMPLATE_DIR}box/vb_comments.tpl" />

If you have customized your template, you will need to use vb_login.tpl instead of using Vivvo login.tpl file. The log-in box is usualy placed inside the header template. So, you should just use this:


instead of using:


In case that you used {VIVVO_PROXY_URL}login.html, than just replace this code:

<vte:if test="!{CURRENT_USER}">
   <a href="{VIVVO_PROXY_URL}login.html">Register • Sign In</a>
      <vte:value select="{CURRENT_USER.get_name}" /> • 
      <strong><a href="{VIVVO_URL}index.php?action=login&cmd=logout"><vte:value select="{LNG_USER_LOGOUT}" /></a> | <a href="{VIVVO_PROXY_URL}usercp.html"><vte:value select="{LNG_EDIT_PERSONAL_INFORMATION}" /></a></strong>

with this:

<vte:if test="!{CURRENT_USER}">
   <a href="{VIVVO_PLUGIN_VB_USER_URL}register.php">Register • Sign In</a>
      <vte:value select="{CURRENT_USER.get_name}" /> • 
      <strong><a href="{VIVVO_PLUGIN_VB_USER_URL}login.php?do=logout&logouthash={CURRENT_USER.get_login_hash}&logout_url={VIVVO_URL}"><vte:value select="{LNG_USER_LOGOUT}" /></a></strong>

How to Uninstall?

To uninstall vBulletin® integration plug-in you need to click on the uninstall icon on the right side of the plug-in name.

vBulletin uninstall

This will take you to the page with the link for uninstall: Click here to Uninstall the plug-in

vBulletin uninstall step 1

You will be informed that the plug-in was successfully uninstalled. After clicking on a logout link Click here to logout, you will be taken back to the main login screen. From this point on you can login into Vivvo only by using your Vivvo credentials.

vBulletin uninstall step 2

After the deinstallation return the Vivvo comment template (comments.tpl instead of vb_comments.tpl) and set 'Enable Vivvo comments' option in Vivvo administration - Preferences - Modules to 'Yes'


After vBulletin bridge installation Vivvo will inherit forums users and usergroups. You should set them Vivvo permissions in Users section in Vivvo administration panel as explained in Add/edit usergroup chapter of this User manual.

Users need to log in via Log-in form using vBulletin username and password. If the user credentials are right, they will pass validation and will be logged to both systems.

Learn how to pull the latest comments from your vB forum to your Vivvo site via RSS feed. You'll find instructions for creating Latest comments box on this page: http://www.vivvo.net/resources/how-to/vbulletin-latest-post.html

user_manual/plugin_manual/vb_bridge.txt · Last modified: 2009/12/29 03:25 by shketuljko
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki