Topic: Moderator Display
Ahh nevermind sorry to bother you guys i now have it so i might as well share it. Im currently displaying the forum moderators in viewforum.php just before the pagination links rather than taking up more space on index.php tell me what you think.
<div id="moderators">
<div class="box" style="margin-bottom: 12px">
<div class="inbox" style="margin: 5px">
<?php if ($cur_forum['moderators'] != '')
{
$mods_array = unserialize($cur_forum['moderators']);
$moderators = array();
while (list($mod_username, $mod_id) = @each($mods_array))
$moderators[] = '<a href="profile.php?id='.$mod_id.'">'.pun_htmlspecialchars($mod_username).'</a>';
$moderators = "\t\t\t\t\t\t\t\t".'<p>'.$lang_common['Moderated by'].': '.implode(', ', $moderators).'</p>'."\n";
} ?>
<?php echo $moderators ?>
</div>
</div>
</div>
demo may be viewed here: http://www.fatal-gfx.com (look in the announcements forum ( the only forum set up )