The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Check if user is logged in, and part of a usergroup.
And allo there. I'm trying to get a non-vb page to check if a user is logged in, and then if it's part of that membergroup. So far, the login check is working all fine and dandy, however the membergroup check isn't, and I'm assuming that it's because if the user is in multiple groups, it isn't a simple number that's checked, there's also commas in the table. So far this is what I have:
PHP Code:
|
#2
|
||||
|
||||
As you are using $bbuserinfo, I guess you've required the vBulletin Backend.
Then you can use PHP Code:
|
#3
|
|||
|
|||
Ahhh, dandy, that did the trick! Thanks m8!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|