vbWikiPro - Vbulletin and Mediawiki Single Sign-on

Looking to integrate Vbulletin and Mediawiki? After much time working on just this issue, I have a suggestion…vbWikiPro. vbWikiPro is a “stack” integration of vBulletin and MediaWiki that authenticates against the vBulletin tables and autocreates MediaWiki users for a seamless integration of these two applications.

You can even integrate vBulletin into non-vb pages by using some similarity to the following code:


# include php from vbulletin
$curdir = getcwd ();
chdir($_SERVER['DOCUMENT_ROOT'] .  '/forums');

ob_start();
require_once( $_SERVER['DOCUMENT_ROOT'] . '/forums/global.php');
ob_end_clean();

$vbulletin->userinfo =& $vbulletin->session->fetch_userinfo($_COOKIE['bbuserid']);
chdir ($curdir);

The ob_start() and ob_end_clean() buffer output until you’re ready to output. This prevents the issue where if a newline character exists in the include, it causes the application to die by printing headers too quickly. This assumes the path of your forums is in your document root. If it’s not, for some reason, adjust accordingly.

If you include this in every page (say, init.php), you’ll have access to the vBulletin object, except in the Mediawiki pages. In those pages, the MW session takes over and you’ll need to access the Mediawiki object. This is great because you can maintain your highly customized skins without any changes.

The documentation is limited, but the coding is easy to read and the support of www.nuhit.com is phenomenal! They are also working on documentation. The appearance of the website looks a bit unsupported right now but nothing could be further from the case. The developer is actually supporting the site so you have direct access to the developer.

Most of the heavy lifting is done in the forum includes, so you can follow the logic easily without changing directories.

This “stack” is highly recommended!

5 Comment(s)

  1. Hi Diona, thanks for the positive feedback. As you mention we are still working on expanding vbWiki Pro’s documentation.. :)

    BTW, love your site’s design.

    Bert | Apr 18, 2007 | Reply

  2. Thanks! Wish I could take credit for it. It’s one of the best skins for Wordpress I’ve seen.

    You’re very welcome on the feedback, it’s well-deserved.

    Diona Kidd | Apr 18, 2007 | Reply

  3. Hi all!
    I like this forum!!

    WitheHorse | Apr 19, 2007 | Reply

  4. i’m eric. joining a couple boards and looking
    forward to participating. hehe unless i get
    too distracted!

    eric

    xztheericzx | Nov 6, 2007 | Reply

  5. Hey,
    I’m Gerry.

    Just saying hi - I’m new.

    oOgerryOo | Dec 16, 2007 | Reply

Post a Comment