For some reason I cannot get it to show in 3.6.11
I followed all the steps below and have a thread moderated and it still is not showing.
Code:
Add new template called navbar_moderation to all styles with this code:
Code:
<if condition="$bbuserinfo[usergroupid]=='6' or $bbuserinfo[usergroupid]=='5'">
<!-- Quick Moderation -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="<if condition="$alertmods==true">alertmod<else />alt1</if>" width="100%">
<div class="smallfont">
<b>Quick Moderation:</b>
<if condition="$show['threads']">
<a href="modcp/moderate.php?do=posts">Threads</a>: <b>$threads[count]</b>
</if>
<if condition="$show['posts']">
<a href="modcp/moderate.php?do=posts#posts">Posts</a>: <b>$posts[count]</b>
</if>
<if condition="$show['attachments']">
<a href="modcp/moderate.php?do=attachments">Attachments</a>: <b>$attachments[count]</b>
</if>
<if condition="$show['events']">
<a href="modcp/moderate.php?do=events">Events</a>: <b>$events[count]</b>
</if>
<if condition="$show['users']">
Users: <b>$users[count]</b>
</if>
<if condition="$show['reports']">
<a href="private.php">Reports Unfulfilled</a>: <b>$reports[count]</b>
</if>
</div>
</td>
</tr>
</table>
<!-- / Quick Moderation -->
<br />
</if>
Open template called navbar
At absolute bottom of template insert this code:
Code:
$moderate
and/or insert it anywhere in any other template if you'd like
Configuration
To change what user groups can view the quick-mod bar replace
Code:
<if condition="$bbuserinfo[usergroupid]=='6' ">
in the navbar_moderation template with whatever user group IDs you would like. You can find the usergroup IDs in the admincp by clicking 'usergroups' -> 'usergroup manager' then looking at what it says in the dropdown on the right of each user group [example: Edit Usergroup (ID:2)].