![]() |
What variable is USERGROUP ID now?
I am trying to hardcode some values in class_dm_threadposts.
I want the floodcheck to only happen if you aren't in a certain usergroup I can't get the usergroupid though. I've tried all these variables and none give me a value: echo $bbuserinfo['usergroupid']; echo $user['usergroupid']; echo $userinfo['usergroupid']; echo $vbulletin->userinfo['usergroupid']; echo $vbulletin->userinfo['userid']; Same with class_dm_user.php None of those will display the user group id. |
data managers have access to $vbulletin data through $this->registry.
If you're outside the datamanagers (outside of classes) use $vbulletin, if you're inside classes use $this->registry. |
Quote:
|
All times are GMT. The time now is 10:34 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|