vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   QUICKMODERATION: Moderation queue info on Forums (https://vborg.vbsupport.ru/showthread.php?t=92809)

spamgirl 09-05-2008 01:04 PM

When I do

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:

I get

PHP Parse error: syntax error, unexpected ']' in F:\inetpub\wwwroot\mysite\global.php(360) : eval()'d code on line 61

Fixed by removing the ] after the 0 "if ($threads['count']>0 or $posts['count']>0 or $reports['count']>0 or $events['count']>0 or $attachments['count']>0 or $users['count']>0"

students_forum 09-16-2008 02:01 AM

Quote:

Originally Posted by lostgirl815 (Post 1568139)
It caused my forum home page to be replaced with some kind of a database error message. I'm hoping it does get updated, it was really really handy.

ditto

King Justice 10-01-2008 02:14 AM

Please update this plugin!

rossco_2005 10-01-2008 09:07 PM

Nothing to update it should just keep working all the way through to vb3.8

Meestor_X 10-02-2008 10:23 PM

Is there any mod like this that just sends an e-mail to the moderator telling him/her that there's stuff to be moderated?

Ohiosweetheart 10-12-2008 06:32 AM

Quote:

Originally Posted by King Justice (Post 1634391)
Please update this plugin!

It works perfectly on 3.7.3

Danny_HR 10-13-2008 09:31 AM

Cheers... Nice one, should definitly be included by default.

DannyITR 12-03-2008 09:15 PM

If you want the moderation box to only show up when there are posts to moderate use this in your navbar_moderate template


Code:

<if condition="$bbuserinfo[usergroupid]=='6' or $bbuserinfo[usergroupid]=='5' or $bbuserinfo[usergroupid]=='24'">
<!-- Quick Moderation -->
<if condition="($threads[count] > 0) or ($posts[count] > 0) or ($users[count] > 0) or ($attachments[count]) or ($events[count]) or ($reports[count])">
<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>
</if>
<!-- / Quick Moderation -->
<br />
</if>


transparent 01-13-2009 02:48 PM

Working in 3.8 Gold.

FD929 02-10-2009 04:24 PM

Quote:

Originally Posted by rossco_2005 (Post 1274893)
@tmod,

This is a vbulletin bug I encountered ONCE on my own forums.
It left behind the entry in the 'moderation' table even though the post was set to visible (approved).

Here is how I fixed it. You need phpmyadmin access for this method, or if you're familiar with mysql you can come up with a query of your own but I won't spend time on that.

1. Make sure there are no posts, threads, etc. in the moderation queue first!
2. Go into phpmyadmin and browse to the table 'moderation'
3. Click on browse and there should be only ONE entry here. Delete this entry. Backup/export first if you want for safety but there shouldn't be any problem.

Here's a quicker way, in admincp execute query (credit to Brian vbAdvanced.com):
DELETE FROM moderation

BTW, working fantastic on 3.8.1 ... would love to see this updated to include visitor messages, group messages, etc.!


All times are GMT. The time now is 01:50 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01167 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete