2009-02-16, 08:16 AM
Sorry, I sped read the posts.
To use the usergroup image instead, in the file, replace both instances of:
You might also want to remove the comma separators - just edit this:
Untested, so tell me if it works. Thanks.
To use the usergroup image instead, in the file, replace both instances of:
format_name($ug['title'], $ug['gid'], 0)
with'<img src="'.strtr($ug['image'], array('{lang}' => (empty($GLOBALS['mybb']->user['language'])?$GLOBALS['mybb']->settings['bblanguage']:$GLOBALS['mybb']->user['language']), '{theme}' => $GLOBALS['theme']['imgdir'])).'" alt="'.$ug['title'].'" title="'.$ug['title'].'" />'
You might also want to remove the comma separators - just edit this:
$comma = ', ';
Untested, so tell me if it works. Thanks.