Log in

View Full Version : What is diff between bbuserinfo and $vbulletin->userinfo?


johnmont
04-08-2006, 10:23 PM
I'm a bit confused as I thought:

$bbuserinfo[usergroupid] and $vbulletin->userinfo[usergroupid]

were essentially the same thing. But I appear to be wrong. I was just doing some stuff and for a single user I do:

$vbulletin->userinfo[usergroupid] and I get back "9"

$bbuserinfo[usergroupid] and I get back "2"

I'm sure this is basic, but could someone clue me in?

MrOnline
04-09-2006, 10:25 AM
i'm trying this

,user.userid FROM user WHERE user.username='{$username}' AND (usergroupid !=3 OR usergroupid !=4

But it just doens seem to work.. so if you get any reply or anybody got an idea what i've done wrong please let me know...