views:

133

answers:

1

Hello, I need to use vBulletin auth system on the rest of my site. Does vB has any APIs for that?

Im expecting to find something like that:

if($vBulletin->isAuthenticated())
{
    // user authenticated
}

In case of vB does not have such API, is there any other ways to check if user is authenticated?

+1  A: 

A plugin has been written for 3.7 which you can find here and an updated version for 4 is here.

I don't think there's an API which has been developed by vBulletin which allows you to do it, but these mods seem to do the trick. You could look through the code to see how it has been done if you want to use a different method.

Ben Shelock