I'm trying to change the colour of someones username depending on their usergroup.
I found this:
PHP Code:
$this->post['usertitle'] =& $this->registry->usergroupcache["0"]['usertitle'];
I would like to make a switch statement like:
PHP Code:
switch($post['usertitle'])
{
case "Member"; $colour = "#fff"; $alt = "Regular Member"; break;
}
Hope that makes sense. Not sure where to put the switch statement though... Very new to VBulletin and haven't had enough time to properly look through all of the code.
Any help would be greatly appreciated

. Thanks