Hi i put this code into global.php in an attempt to get some user specific graphics in my postbits.
PHP Code:
switch ($bbuserinfo[usergroupid])
{
case 6 : $stbg="http://www.artorg.co.uk/cupboards/admin.gif"; break ;
case 8 : $stbg="http://www.artorg.co.uk/cupboards/contrib.gif"; break ;
case 5 : $stbg="http://www.artorg.co.uk/cupboards/staff.gif"; break ;
}
i tried just putting $stbg in the postbit template but to no luck?
how woul di get it to output the pictures in the postbit?
soz if this is a newb question im just not to sure about the workings of eval and stuf in vbulletin.
Any help is v.much appreciated