[Request] Username color in Forumdisplay the same as Showthread
#2
This shows lastposter in usergroupcolor
Open forumdisplay.php


Search for:
$lastposterlink = build_profile_link($lastposter, $lastposteruid);

replace with:
$lastpostgroup='';
$lastpostgroup=$db->fetch_field($db->query("SELECT usergroup FROM ".TABLE_PREFIX."users WHERE uid='$lastposteruid'"),"usergroup");
$lastposterlink = "<a href='member.php?action=profile&amp;uid=$lastposteruid'>".format_name($lastposter, $lastpostgroup)."</a>";

Regards NetHunter
Everything is relative
Reply


Messages In This Thread
RE: [Request] Username color in Forumdisplay the same as Showthread - by NetHunter - 2008-08-11, 05:35 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)