Topic: User Group Span Configuration
Well, i figured that this modification would be great for punbb. How about a modification that lets administrators configure the span style of each seperate usergroup. Similar to colored usergroups, but more extended.
I thought of this in the midst of putting something together for moderator and administrator spans in viewtopic.php:
if($cur_post['g_id'] == PUN_ADMIN)
$username = '<a href="profile.php?id='.$cur_post['poster_id'].'"><span>- [ '.pun_htmlspecialchars($cur_post['username']).' ] -</span></a>';
else if($cur_poster['g_id'] == PUN_MOD)
$username = '<a href="profile.php?id='.$cur_post['poster_id'].'"><span>( -'.pun_htmlspecialchars($cur_post['username']).'- )</span></a>';
else
$username = '<a href="profile.php?id='.$cur_post['poster_id'].'">'.pun_htmlspecialchars($cur_post['username']).'</a>';