vBulleting + MODx = Good Website

MODx is one of the most promising Content management systems. It is relatively new but there are growing number of developers who already use it. It is good for blogging and any other type of authoring and media projects. The purpose of the articles here is to offer advice on how to integrate MODx with vBulletin.

There is an integration script called BanzaiTokyo. It’s modXVBin 1.0 version helps you to synchronize the users databases of modX and vBulletin.

To integrate the content management platform with vBulletin forums you need to get PHP files of both MODx CMS and vBulletin located on the same server. Databases can be anywhere since the script looks up the information for the connections in the configuration files.

Already works fine:

Synchronized log in and log out.

Synchronized registration through vBulletin. MODx takes database from the forum.

Synchronized “Profile edit”. When users add/edit profiles in their VBuleting Control panel, the script updates the parameters in MODx.

Synchronized change of user’s data. Again form vBulletin Admin panel.

Synchronized “Password reset”.

The script works fine when users work on vBulletin interface. What is not finished yet is to edit details on MODx and to get them changed in vBulletin.

Script Installation in vBulletin

1. Plugins & Products -> Manage Products -> Add/Import Product -> Choose product-modixvbin.xml from the installation archive.

2. Turn off GZIP HTML output in vBulletin Options -> Cookies and HTTP Header Options -> GZIP HTML Output. Once installation is complete, test user login and registration. If everything works ok, you can turn GZIP HTML output back on.

3. Languages & Phrases -> Phrase Manager -> Phrase Type: GLOBAL find phrase “modxpath” and set it to modX.

Script Installation in MODx

1. Manager -> Resources -> Manage resources -> Plugins -> New Plugin

Plugin name – any name. Take “vBulletin” for instance.

Plugin code – insert the contents of modx_vblogin.php

Menu tab System Events: check OnWebLogin, OnWebLogout. Save.

2. In index.php anywhere (you can do it right after “<?php” insert the contents of modx_index.php

in $VBDIR put the path to vBulletin script (see below)

Setting the Paths and example can be found here.

If you need something related to MODx CMS visit MODx forums. If you need MODx web hosting take a look at one of the MODx sponsors – Host Color.