The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Check if userid is member of usergroup
How do I check if a userid is in a specific usergroup?
E.g: I want to check if userid 1 is an Administrator (usergroupid 6), how would I do that. I would like a method that'd work for multiple userids. I'm writing a quick plugin that allows me to apply certain functions to a person's username, based on their user ID. I have a box to input userids (separated by commas) and a box to input usergroup exceptions (e.g. stop this effect being placed on an administrator). The code I have: PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|