The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
What's the best way to check if individual user 'X' (the poster) is either a moderator or an admin when you're in a postbit hook?
|
#2
|
||||
|
||||
![]()
Here is what I would use:
Code:
if (in_array($vbulletin->userinfo['usergroupid'], array(5,6,7))) { your code here; } |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|