Quote:
Originally Posted by kh99
$vbulletin->usergroupcache[] has the information for each group, so in a plugin you could do something like:
PHP Code:
foreach ($vbulletin->usergroupcache AS $usergroup)
{
$usergroups[] = $usergroup['opentag'] . $usergroup['title'] . $usergroup['closetag'];
}
$usergroup_legend = implode(' | ', $usergroups);
or if you want to control the groups or order of the included groups, you could use this instead:
PHP Code:
foreach (array(6, 5, 4, 3, 2, 8) AS $groupid)
{
$usergroup &= $vbulletin->usergroupcache[$groupid];
$usergroups[] = $usergroup['opentag'] . $usergroup['title'] . $usergroup['closetag'];
}
$usergroup_legend = implode(' | ', $usergroups);
(BTW, I haven't tried these so there could be typos...).
|

At the risk of sounding like an idiot....
I am a extreme novice at all of this. can you break this down "barney style?"