The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I can't seem to figure out an easier way to get the title of a user group for a user in a plugin. I've got:
Code:
$thegroup=$vbulletin->userinfo[usergroupid];
$result = $db->query_first("
SELECT * FROM " . TABLE_PREFIX . " usergroup
WHERE usergroupid = $thegroup");
$grouptitle = $result['title'];
$vbulletin->userinfo[usergrouptitle]; |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|