The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
QUICKMODERATION: Moderation queue info on Forums Details »» | |||||||||||||||||||||||||||
QUICKMODERATION: Moderation queue info on Forums
Developer Last Online: May 2013
What does it do? Well, at the top of all forums will be a bar that tells your mods and admins how many:
The features include:
Hope this is to your liking, and if anyone has any I am open to suggestions. The installation requires 2 new plugins, 1 template change, 1 new template and a bit of configuration to choose which options you want. [high]Plugins[/high] Open your admincp -> Click Plugin System on the left nav panel -> Click 'Download/upload Plugins' -> Browse to QUICKMOD plugin.xml included in this package. This adds 2 plugins. One is the quick mod php code + queries. The second is the caching of the quick mod template (not required but recommended). [high]Templates[/high] 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> At absolute bottom of template insert this code: Code:
$moderate [high]Configuration[/high] To change what user groups can view the quick-mod bar replace Code:
<if condition="$bbuserinfo[usergroupid]=='6' or $bbuserinfo[usergroupid]=='5'"> You may choose which options are shown on the quick moderation bar through the 'QUICKMOD::code' template By default all but "reports unfulfilled" are shown on the quick mod bar, you can see that it is commented out using /* and */ (text between those is commented out, meaning it is not included in the code). The Users, Posts, Threads, Attachments and Events can also be turned off this same way. To have the quick mod bar show in a red color (or any other color of your choice) if there is something your mods must attend to, replace the following code in the QUICKMOD::code plugin: Code:
//See if any of them are greater than 1 /* if ($threads['count']>0 or $posts['count']>0 or $reports['count']>0 or $events['count']>0 or $attachments['count']>0 or $users['count']>0) { $alertmods = true; } */ Code:
//See if any of them are greater than 1 if ($threads['count']>0 or $posts['count']>0 or $reports['count']>0 or $events['count']>0 or $attachments['count']>0 or $users['count']>0) { $alertmods = true; } Code:
.alertmod { background-color: #F2D0D0; color: #183562; } That's about it, fairly simple but VERY useful mod. Enjoy If anyone has any questions or suggestions post, pm or email me. Supporters / CoAuthors Show Your Support
|
Comments |
#62
|
||||
|
||||
Ah, I see fractalizer went ahead and did that already. Well, the mod had a quick run on my board lol! Thank you for your hard work anyways. Always fantastic to see a mod make it through so long a period with no errors.
|
#63
|
||||
|
||||
I'm still using this fantastic mod with the identical navbar_moderation template to what DannyITR posted above.
|
#64
|
||||
|
||||
Quote:
|
#65
|
|||
|
|||
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)]. |
#66
|
|||
|
|||
Anyone?
|
#67
|
|||
|
|||
Hi,
I have a question about manually clearing the quickmoderation queue...hopefully not too dumb a question... In setting up another hack (Easy Forms) a thread was posted to Forum 0 (which doesn't exist) and now there is a thread waiting moderation, but when I click on it, there is no thread there to moderate... Is there a way of clearing this thread? Regards, Ian |
#68
|
|||
|
|||
Does this work on latest vbulletin?
|
#69
|
||||
|
||||
|
#70
|
||||
|
||||
works great for me!
had to modify the Users line: Code:
Users: <b>$users[count]</b> Code:
<a href="admincp/user.php?do=moderate">Users</a>: <b>$users[count]</b> sweet addition...thanks for your work! |
#71
|
||||
|
||||
rossco- if you still check this thread I sent you a PM a few days ago concerning a VB4 upgrade. Please let me know either way, at least I know you checked the PM.
Thanks. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|