PDA

View Full Version : Forum Home Enhancements - SCANU's Quick Moderation: Moderation queue info on Forum home


Scanu
06-27-2012, 10:00 PM
Description
It displays in the forumhome a box that shows your admins and moderators what does need moderation:

Posts to moderate
Threads to moderate
Attachments to moderate
Events to moderate
Blogs to moderate
Groups Messages to moderate
Visitors Messages to moderate
Pictures Comments to moderate
Users to moderate


Installation

Upload the product via admincp and.. Done!.
If something isn't working go in Settings->Quick moderation set autotemplate edit to No and put
{vb:raw quickmod_template} wherever you want on forumhome template.
For the update just redownload and reupload the file, make sure that overwriting is set to Yes.

Translations

Please post your translation in a reply so everyone can uses it.

PLEASE VOTE THIS MOD FOR MOTM CLICK HERE, AND CLICK MARK AS INSTALLED (https://vborg.vbsupport.ru/showthread.php?p=2251846)

To get support:
Mark this mod as Installed
Copy/Pasted errors or screenshots
URL/link to site


Follow me on twitter for updates (http://twitter.com/scanu_account)

If you like italian G-funk/rap please try out this music (www.youtube.com/watch?v=agPuN80vgaE) or this music (http://www.youtube.com/watch?v=bf6kP1lMdJc)

Scanu
06-28-2012, 03:32 PM
Version History
- 0.1 First release on Vbulletin.org as Beta

- 0.2 You can choose wich usergroups can see the quick moderation box

- 1.0
- No more Beta release
- Added Blogs, Groups and Visitors Messages and Pictures Comments to moderate
- Centered everything

- 1.1 Less code and more compatibility with custom styles

- 1.3
- Added a message when there isn't anything to moderate (now it will only show what need moderation not zeros
- Fixed missing number of attachments awaiting moderation
- Set 'no blog' as default to prevent database error
- Fixed blank name options
- Added Version check url

Scanu
06-28-2012, 03:33 PM
http://www.dvdimagehosting.altervista.org/images/screenquickmod.png

Scanu
06-28-2012, 03:33 PM
*Reserved*

Jncocontrol
06-28-2012, 06:49 PM
Mark as installed and nominated

Scanu
06-28-2012, 07:08 PM
Thanks so now it is working?

Kraxell
06-28-2012, 08:25 PM
Box only visible for admins/mods?

davidg
06-28-2012, 08:31 PM
is not working by default people need to do "If something isn't working go in Settings->Quick moderation set autotemplate edit to No and put
{vb:raw quickmod_template} wherever you want on forumhome template." manually to make this work

BirdOPrey5
06-28-2012, 08:39 PM
Did you get permission from rosco_2005 to "port" this mod?

Scanu
06-28-2012, 08:41 PM
Box only visible for admins/mods?
Yes but you can change it to whatever usergroup you want
is not working by default, people need to do "If something isn't working go in Settings->Quick moderation set autotemplate edit to No and put
{vb:raw quickmod_template} wherever you want on forumhome template." manually to make this work
Maybe is because you have edited the forumhome template.. On default style and in a style where forumhome is "unchanged" everything should works "by default"

Scanu
06-28-2012, 08:44 PM
Did you get permission from rosco_2005 to "port" this mod?
Really not but there is almost nothing of his mod

davidg
06-28-2012, 08:47 PM
Yes but you change it to whatever usergroup you want

Maybe is because you have edited the forumhome template.. On default style and in a style where forumhome is "unchanged" everything should works "by default"

it may be this(i have edited the forumhome template)
nice work anyway

Scanu
06-28-2012, 08:50 PM
Thanks :)

Jncocontrol
06-28-2012, 11:50 PM
I got it to work.
My only problem with this is that (i dunno if it has anything to do with where i put the code in the forumhome templete) But my quick Moderation bar is at the bottem of my forums and not the top. But overall, well done Scanu

Sage Knight
06-29-2012, 05:14 AM
Could you add other items such as Articles, Blogs etc... to moderate?

Scanu
06-29-2012, 09:26 AM
I got it to work.
My only problem with this is that (i dunno if it has anything to do with where i put the code in the forumhome templete) But my quick Moderation bar is at the bottem of my forums and not the top. But overall, well done Scanu

Move this: {vb:raw quickmod_template} under {vb:raw navbar}


Could you add other items such as Articles, Blogs etc... to moderate?


I think so, wait for an update

Kraxell
06-29-2012, 10:50 AM
Dont work for me, it shows only the box, no content.

Scanu
06-29-2012, 10:56 AM
Search this template: "Quick Moderation template" and replace all the content with this:
<br />
<div class="floatcontainer forumbit_nopost">
<div class="forumhead foruminfo collapse">
<h3>
<span class="forumtitle"><a href="#">Quick Moderation by SCANU</a></span>
<a class="collapse" id="collapse_quickmod_content" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse_40b.png" title="Collapse" /></a>
</h3>
</div>
<div id="quickmod_content" class="forumbit_post table">
<div class="forumrow table" style="padding-{vb:stylevar right}:0px">
<div align="left" width="100%" style="margin:10px 0px 20px 10px;">
<a href="modcp/moderate.php?do=posts">Threads</a>: <b>{vb:raw threads.count}</b>
<a href="modcp/moderate.php?do=posts#posts">Posts</a>: <b>{vb:raw posts.count}</b>
<a href="modcp/moderate.php?do=attachments">Attachments</a>: <b>{vb:raw attachments.count}</b>
<a href="modcp/moderate.php?do=events">Events</a>: <b>{vb:raw events.count}</b>
Users: <b>{vb:raw users.count}</b>

</div>
</div>
</div>
</div></br>

Kraxell
06-29-2012, 01:42 PM
http://pic-place.de/images-i3463bmzy58.jpg

Dont work too ^^ No numbers.

Scanu
06-29-2012, 04:36 PM
Just to try, do you have prefix on vbulletin tables?

Scanu
06-29-2012, 04:39 PM
No that should'nt be the problem it should works anyway.. but tell me if you have it

Kraxell
06-29-2012, 08:03 PM
No prefix.

Jncocontrol
06-29-2012, 08:19 PM
If i was to also suggest something, Can you center everything, add blogs into the moderation, Remove the collapes button, and add other groups.

Scanu
06-29-2012, 08:42 PM
No prefix.
I really don't know something's wrong with your database.. Maybe you changed the name of the Quick Moderation template?

If i was to also suggest something, Can you center everything, add blogs into the moderation, Remove the collapes button, and add other groups.
1 yes
2 yes
3 Why you should want to remove the collapse button?
5 I will ad an option for set the ids of the usergroup that can view quickmod

Kraxell
06-29-2012, 09:41 PM
I have install the xml file, add {vb:raw quickmod_template} under navbar (Template forumhome) and save the template.

Theres nothing wrong with my db, all other 20 addons works perfect :)

Scanu
06-29-2012, 10:02 PM
You have a pm

Jncocontrol
06-30-2012, 12:47 AM
3 Why you should want to remove the collapse button?


I don't like the idea that my mod's and fellow admins trying to avoid doing what i expect of them, i put it there to help make their job a little easier, not so that they can avoid doing their job.
But, thats just me, I'm sure many wouldn't mind having the collapes button.

Scanu
06-30-2012, 07:57 AM
I don't like the idea that my mod's and fellow admins trying to avoid doing what i expect of them, i put it there to help make their job a little easier, not so that they can avoid doing their job.
But, thats just me, I'm sure many wouldn't mind having the collapes button.

If so find and remove this code on quick moderation template
<a class="collapse" id="collapse_quickmod_content" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse_40b.png" title="Collapse" /></a>

Jncocontrol
07-20-2012, 03:09 AM
Hey scanu, I have my own personal usergroup, How i put myself in the loop with this?

Scanu
07-20-2012, 11:43 AM
Are you trying to change usergroups that can view the box? If so go in plugin manager and edit the plugin called "Template"
Find this
if ($vbulletin->userinfo[usergroupid]=='6' OR $vbulletin->userinfo[usergroupid]=='5')

You can change the ids 6 and 5 as you want if you want to add an id for example 3 write this
if ($vbulletin->userinfo[usergroupid]=='6' OR $vbulletin->userinfo[usergroupid]=='5' OR $vbulletin->userinfo[usergroupid]=='3')

Jncocontrol
07-20-2012, 11:52 AM
i want me, my fellow admins, global Moderators, and regular mods to be able to see it

I'm usergroup 9, Admins-6 and Gmods 7 and mods-5

Scanu
07-20-2012, 12:11 PM
If so Replace this
if ($vbulletin->userinfo[usergroupid]=='6' OR $vbulletin->userinfo[usergroupid]=='5')
With this
if ($vbulletin->userinfo[usergroupid]=='9' OR $vbulletin->userinfo[usergroupid]=='6' OR $vbulletin->userinfo[usergroupid]=='7' OR $vbulletin->userinfo[usergroupid]=='5')

:)

Jncocontrol
07-20-2012, 12:41 PM
Got this error

Parse error: syntax error, unexpected '}' in /home/content/47/9363947/html/forums/includes/class_bootstrap.php(430) : eval()'d code on line 42

Not to be rude, If you decide to update the mod, I would like to suggest add a field in the mod to allow X groups to view this mod.

Scanu
07-20-2012, 12:57 PM
Yes i will do it in the next update but please can you post all your plugin code you probably delete the { after the )

Jncocontrol
07-20-2012, 12:59 PM
if ($vbulletin->userinfo[usergroupid]=='6' OR $vbulletin->userinfo[usergroupid]=='5') {
$templater = vB_Template::create('Quick Moderation template');
$quickmod_template = $templater->render();
vB_Template::preRegister('FORUMHOME',array('quickm od_template' => $quickmod_template));
if ($vbulletin->options['quickmod_auto']) {
require_once(DIR . '/includes/class_template_parser.php');
$parser = new vB_TemplateParser('<div id="pagetitle">
<h1>{vb:raw vboptions.bbtitle}</h1>
<p id="welcomemessage" class="description">{vb:rawphrase welcome_to_the_x, {vb:raw vboptions.bbtitle}}</p>
</div>');
$parser->dom_doc = new vB_DomDocument($parser->fetch_dom_compatible());
$find = trim($parser->_parse_nodes($parser->dom_doc->childNodes()));
$parser = new vB_TemplateParser('<div id="pagetitle">
<h1>{vb:raw vboptions.bbtitle}</h1>
<p id="welcomemessage" class="description">{vb:rawphrase welcome_to_the_x, {vb:raw vboptions.bbtitle}}</p>
</div>{vb:raw quickmod_template}');
$parser->dom_doc = new vB_DomDocument($parser->fetch_dom_compatible());
$replace = trim($parser->_parse_nodes($parser->dom_doc->childNodes()));
$vbulletin->templatecache['FORUMHOME'] = str_replace($find, $replace, $vbulletin->templatecache['FORUMHOME']);
unset($find, $replace);
}}

Scanu
07-20-2012, 01:16 PM
Try to replace all the code with this
if ($vbulletin->userinfo[usergroupid]=='9' OR $vbulletin->userinfo[usergroupid]=='6' OR $vbulletin->userinfo[usergroupid]=='7' OR $vbulletin->userinfo[usergroupid]=='5') {

$templater = vB_Template::create('Quick Moderation template');

$quickmod_template = $templater->render();

vB_Template::preRegister('FORUMHOME',array('quickm od_template' => $quickmod_template));

if ($vbulletin->options['quickmod_auto']) {

require_once(DIR . '/includes/class_template_parser.php');

$parser = new vB_TemplateParser('<div id="pagetitle">

<h1>{vb:raw vboptions.bbtitle}</h1>

<p id="welcomemessage" class="description">{vb:rawphrase welcome_to_the_x, {vb:raw vboptions.bbtitle}}</p>

</div>');

$parser->dom_doc = new vB_DomDocument($parser->fetch_dom_compatible());

$find = trim($parser->_parse_nodes($parser->dom_doc->childNodes()));

$parser = new vB_TemplateParser('<div id="pagetitle">

<h1>{vb:raw vboptions.bbtitle}</h1>

<p id="welcomemessage" class="description">{vb:rawphrase welcome_to_the_x, {vb:raw vboptions.bbtitle}}</p>

</div>{vb:raw quickmod_template}');

$parser->dom_doc = new vB_DomDocument($parser->fetch_dom_compatible());

$replace = trim($parser->_parse_nodes($parser->dom_doc->childNodes()));

$vbulletin->templatecache['FORUMHOME'] = str_replace($find, $replace, $vbulletin->templatecache['FORUMHOME']);

unset($find, $replace);

}}

Scanu
07-20-2012, 05:44 PM
Updated to choose usergroups ids

Jncocontrol
07-21-2012, 01:25 AM
it work Scanu, Well done.

Only other thing i would suggest for the future update would be to do what has already been suggested, Center everything, Blogs, all that good stuff.

Cheer

Scanu
07-21-2012, 12:43 PM
i've done almost everything but i d0n't know about articles what do you normally do to moderate an article?

Scanu
07-23-2012, 02:08 PM
Updated to 1.0, i didn't add Articles to moderate because i don't know anything about this :/
- 1.0
- No more Beta release
- Added Blogs, Groups and Visitors Messages and Pictures Comments to moderate
- Centered everything

Scanu
07-26-2012, 01:02 PM
Updated to 1.1: Less code and more compatibility with custom styles

AK47-
07-27-2012, 08:44 PM
database error in vBulletin 4.2.0:

Invalid SQL:
SELECT COUNT(*) AS count FROM blog WHERE state = 'moderation';

MySQL Error : Table '*******_vbulletin.blog' doesn't exist
Error Number : 1146
Request Date : Friday, July 27th 2012 @ 11:43:27 PM
Error Date : Friday, July 27th 2012 @ 11:43:27 PM
Script : ****************
Referrer :
IP Address : &***********
Username : ************
Classname : ************
MySQL Version : 5.5.24-cll

That's when i installed 1.1.......

Scanu
07-27-2012, 08:58 PM
Do you have blog on your site?

AK47-
07-28-2012, 09:50 AM
Do you have blog on your site?

Nope i only have retail forum.

Scanu
07-28-2012, 10:04 AM
I thought just ad publishing suite.. :( Wait for an update and i will fix cms and blog problems

RedTurtle
08-01-2012, 01:17 AM
This looks awesome. Can't wait to install and give it a try.

RedTurtle
08-01-2012, 06:44 AM
Looking forward to the update. Doesn't work for me currently on 4.1.12 PL2. Keeps giving database errors since I don't have a blog, only the regular forum.

Thanks SCANU!

Scanu
08-01-2012, 09:46 AM
I would like to do it but unfortunately my macmini is dead :( but i will found a way to update this mod and "warning to users awaiting moderation"

Scanu
08-01-2012, 01:26 PM
Updated to 1.2 now i have fixed all that blog errors :) So if you have the blog just go in quick moderation settings and set blog option to off

RedTurtle
08-01-2012, 08:16 PM
Updated to 1.2 now i have fixed all that blog errors :) So if you have the blog just go in quick moderation settings and set blog option to off

Thanks for the update but this still doesn't work for me.

The database errors no longer show up but the auto template option being on or off doesn't make a difference and nothing different shows up.

I would suggest you make the blog being off as the default option as I don't think most people use the blog and if they enable your plugin they will get a database error due to its default settings.

Also, your plugin doesn't have a descriptive title that shows up under the Settings in the ACP. It is just a blank line.

I'm disabling this for now until an update can get it working.

Thank you!

Scanu
08-01-2012, 08:50 PM
All suggestions are appreciated however after you disable autotemplate you have to put {vb:raw quickmod_template} wherever you want on forumhome template.

RedTurtle
08-02-2012, 05:40 PM
Ok thanks I will try that. Any idea on how to fix the blank line in ACP? Thanks!

AK47-
08-04-2012, 04:48 PM
Update does not work with retail forum 4.2.0....
Database error in vBulletin 4.2.0:

Invalid SQL:
SELECT COUNT(*) AS count FROM blog WHERE state = 'moderation';

MySQL Error : Table '**********_vb1.blog' doesn't exist
Error Number : 1146
Request Date : Saturday, August 4th 2012 @ 09:47:30 PM
Error Date : Saturday, August 4th 2012 @ 09:47:30 PM
Script : ******************************
Referrer :
IP Address : ************
Username : **********
Classname : vB_Database
MySQL Version : *********

RedTurtle
08-04-2012, 04:51 PM
Update does not work with retail forum 4.2.0....
Database error in vBulletin 4.2.0:

Invalid SQL:
SELECT COUNT(*) AS count FROM blog WHERE state = 'moderation';

MySQL Error : Table '**********_vb1.blog' doesn't exist
Error Number : 1146
Request Date : Saturday, August 4th 2012 @ 09:47:30 PM
Error Date : Saturday, August 4th 2012 @ 09:47:30 PM
Script : ******************************
Referrer :
IP Address : ************
Username : **********
Classname : vB_Database
MySQL Version : *********

If you don't have a blog, you need to disable the blog feature in this product's settings in AdminCP -> Settings -> Options

AK47-
08-04-2012, 04:54 PM
If you don't have a blog, you need to disable the blog feature in this product's settings in AdminCP -> Settings -> Options


Good work op it's works. You should make it clear on the thread. Nominated thread :)

nyenius
08-13-2012, 04:49 AM
doesn't work for me. using vbul Forum 4.2.0

have been using auto-template and manual, and both (manual+auto add template). Shows nothing...

Scanu
08-13-2012, 04:59 AM
Do you have the template "Quick moderation Template"

nyenius
08-13-2012, 09:57 AM
Do you have the template "Quick moderation Template"

do you mean after installing the mod? haven't checked it yet.

Scanu
08-13-2012, 10:17 AM
Yes after installing the mod please check it

nyenius
08-13-2012, 10:24 AM
Yes after installing the mod please check it

yes I have. what should i do now? ( my version is 4.2)

oh and btw, the options has no name (see attachment)

Scanu
08-13-2012, 11:09 AM
yes I have. what should i do now? ( my version is 4.2)

oh and btw, the options has no name (see attachment)

Yes i know it's a strange bug for me too, however after you choose manual template edit you have to put {vb:raw quickmod_template} wherever you want on forumhome template. Did you add it?!

nyenius
08-13-2012, 11:44 PM
Yes i know it's a strange bug for me too, however after you choose manual template edit you have to put {vb:raw quickmod_template} wherever you want on forumhome template. Did you add it?!

done it, no effect.

Scanu
08-14-2012, 09:50 AM
Mmh cold you paste you forumhome template?

bomb192uk
08-16-2012, 08:53 PM
Nice mod.

Just a couple of things:

*Attachments aren't entered under "vbulletin preregister" so a number doesn't show up, need to add'attachments' => $attachments,

*No name in vbulletin settings, just a blank space, need to put this code into the <phrases> group
<phrase name="settinggroup_quickmod_settings"><![CDATA[SCANU's Quick Moderation Settings]]></phrase>

nyenius
08-17-2012, 07:38 PM
Mmh cold you paste you forumhome template?

{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
{vb:raw headinclude}
<title>{vb:raw vboptions.bbtitle}</title>
<script type="text/javascript" src="clientscript/vbulletin_read_marker.js?v={vb:raw vboptions.simpleversion}"></script>
<vb:if condition="$vboptions['storecssasfile']">
{vb:cssfile forumhome-rollup.css}
<vb:else />
{vb:cssfile forumbits.css,forumhome.css,options.css}
</vb:if>
<!--[if lt IE 8]>{vb:cssfile forumbits-ie.css,options-ie.css}<![endif]-->
<vb:if condition="$show['sidebar']">
{vb:cssfile sidebar.css,widgets.css,tagcloud.css}
<!--[if lt IE 8]>{vb:cssfile sidebar-ie.css}<![endif]-->
<script type="text/javascript">
<!--
document.write('<script type="text/javascript" src="' + yuipath + '/animation/animation-min.js?v={vb:raw vboptions.simpleversion}"></script>');
var sidebar_align = '{vb:raw show.sidebarposition}';
var content_container_margin = parseInt('{vb:math {vb:stylevar forum_sidebar_width}+{vb:math {vb:stylevar padding}*2}}');
var sidebar_width = parseInt('{vb:stylevar forum_sidebar_width}');
//-->
</script>
<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/vbulletin-sidebar.js?v={vb:raw vboptions.simpleversion}"></script>
</vb:if>
{vb:raw headinclude_bottom}
</head>
<body>

{vb:raw header}

{vb:raw navbar}

<div id="pagetitle">
<h1>{vb:raw vboptions.bbtitle}</h1>
<p id="welcomemessage" class="description">{vb:rawphrase welcome_to_the_x, {vb:raw vboptions.bbtitle}}</p>
</div>

<vb:if condition="$show['sidebar']">
<div id="content_container" class="{vb:raw $sidebar_class} <vb:if condition="$show['sidebarposition'] == 'left'">contentright</vb:if>">
<div id="content" <vb:if condition="$sidebar_class">class="{vb:raw $sidebar_class}"</vb:if>>
</vb:if>
<!-- main -->
{vb:raw template_hook.forumhome_above_forums}
<ol id="forums" class="floatcontainer">
{vb:raw forumbits}
</ol>
{vb:raw template_hook.forumhome_below_forums}
<!-- /main -->

<div class="navlinks">
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:ra w bbuserinfo.securitytoken}" rel="nofollow">{vb:rawphrase mark_forums_read}</a>
<vb:if condition="$vboptions['forumleaders']">|
<a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow">
<vb:if condition="$vb_suite_installed">
{vb:rawphrase view_site_leaders}
<vb:else />
{vb:rawphrase view_forum_leaders}
</vb:if>
</a></vb:if>
</div>
{vb:raw ad_location.board_after_forums}
<!-- what's going on box -->
<div id="wgo" class="collapse wgo_block block">
<h2 class="blockhead">{vb:rawphrase whats_going_on}</h2>
<div class="blockbody formcontrols floatcontainer">
{vb:raw template_hook.forumhome_wgo_pos1}
<vb:if condition="$show['loggedinusers']">
<!-- logged-in users -->
<div id="wgo_onlineusers" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="{vb:rawphrase currently_active_users}" />{vb:rawphrase currently_active_users}</h3>
<div>
<p>{vb:rawphrase there_are_x_y_online_link, {vb:raw totalonline}, {vb:raw session.sessionurl_q}} <span class="shade">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</span></p>
<p>{vb:rawphrase most_users_ever_online_was_x_y_at_z, {vb:raw recordusers}, {vb:raw recorddate}, {vb:raw recordtime}}</p>
<vb:if condition="$activeusers">
<ol class="commalist" id="wgo_onlineusers_list">
<vb:each from="activeusers" value="loggedin">
<li>{vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw loggedin}}">{vb:raw loggedin.musername}</a>{vb:raw loggedin.invisiblemark}{vb:raw loggedin.buddymark}{vb:raw loggedin.comma}</li>
</vb:each>
</ol>
</vb:if>
</div>
</div>
<!-- end logged-in users -->
</vb:if>
{vb:raw template_hook.forumhome_wgo_pos2}
<!-- Start Members Today -->
<vb:if condition="$show['wgo_members']">
<div id="wgo_wgo_members_users" class="wgo_subblock section collapse">
<h3 class="blocksubhead"><a href="{vb:raw wgo_members.url}"><img src="{vb:stylevar imgdir_misc}/forum_stats.png" alt="{vb:phrase wgo_members_alt_title}"/></a>{vb:raw wgo_members.whotitle}</h3>
<a class="collapse" id="collapse_wgo_members_list" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse_40b{vb:raw wgo_members.collapse}.png" alt="" title="{vb:rawphrase collapse_expand}" /></a>
<div id="wgo_members_list" {vb:raw wgo_members.style}>
<p>{vb:raw wgo_members.visitors}</p>
<vb:if condition="$vboptions['wgo_members_names']">
<vb:if condition="$wgo_members['totaltoday'] == 0">
{vb:phrase no_members_list}
<vb:else />
<ul class="commalist" id="wgo_wgo_members_list">
<vb:if condition="$wgo_members['template_hook']">
{vb:raw wgo_members.template_hook}
<vb:else />
<vb:each from="wgo_members_list" value="row">
<li>{vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw row}}" title="{vb:raw row.wrdate}">{vb:raw row.musername}</a>{vb:raw row.markinv}{vb:raw row.comma}</li>
</vb:each>
</vb:if>
</ul>
</vb:if>
<vb:else />
{vb:phrase member_list_disabled}
</vb:if>
</div>
</div>
</vb:if>
<!-- End Members Today -->
{vb:raw template_hook.forumhome_wgo_pos6}
<vb:if condition="$show['upcomingevents']">
<div id="wgo_events" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/event.png" alt="{vb:rawphrase todays_events}" /><vb:if condition="$show['todaysevents']">{vb:rawphrase todays_events}<vb:else />{vb:rawphrase upcoming_events_for_the_next_x_days, {vb:raw vboptions.showevents}}</vb:if></h3>
<ol>
{vb:raw upcomingevents}
</ol>
</div>
</vb:if>
{vb:raw template_hook.forumhome_wgo_pos3}
<vb:if condition="$show['birthdays']">
<!-- today's birthdays -->
<div id="wgo_birthdays" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/birthday.png" alt="{vb:rawphrase todays_birthdays}" />{vb:rawphrase todays_birthdays}</h3>
<ol class="commalist">
<vb:each from="birthdays" value="row">
<li><a href="{vb:link member, {vb:raw row}}">{vb:raw row.username}</a><vb:if condition="$row['age']"> ({vb:raw row.age})</vb:if>{vb:raw row.comma}</li>
</vb:each>
</ol>
</div>
<!-- end today's birthdays -->
</vb:if>
{vb:raw template_hook.forumhome_wgo_pos4}
<div id="wgo_stats" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/forum_stats.png" alt="{vb:rawphrase x_statistics, {vb:raw vboptions.bbtitle}}" />{vb:rawphrase x_statistics, {vb:raw vboptions.bbtitle}}</h3>
<div>
<dl>
<dt>{vb:rawphrase threads}</dt>
<dd>{vb:raw totalthreads}</dd>
<dt>{vb:rawphrase posts}</dt>
<dd>{vb:raw totalposts}</dd>
<dt>{vb:rawphrase members}</dt>
<dd>{vb:raw numbermembers}</dd>
<vb:if condition="$show['activemembers']">
<dt>{vb:rawphrase active_members}</dt>
<dd>{vb:raw activemembers}</dd>
</vb:if>
</dl>
<p>{vb:rawphrase welcome_to_our_newest_member_x, {vb:link member, {vb:raw newuserinfo}}, {vb:raw newuserinfo.username}}</p>
{vb:raw template_hook.forumhome_wgo_stats}
</div>
</div>
<div id="wgo_legend" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/legend.png" alt="{vb:rawphrase icon_legend}" />{vb:rawphrase icon_legend}</h3>
<div>
<dl id="icon_legends" class="icon_legends">
<dt><img src="{vb:stylevar imgdir_statusicon}/forum_new-16.png" alt="{vb:rawphrase new_posts_forum}" /></dt><dd>{vb:rawphrase new_posts_forum}</dd>
<dt><img src="{vb:stylevar imgdir_statusicon}/forum_old-16.png" alt="{vb:rawphrase no_new_posts_forum}" /></dt><dd>{vb:rawphrase no_new_posts_forum}</dd>
<vb:if condition="$vboptions['showlocks']"><dt><img src="{vb:stylevar imgdir_statusicon}/forum_lock-16.png" alt="{vb:rawphrase forum_is_closed_for_posting}" /></dt><dd>{vb:rawphrase forum_is_closed_for_posting}</dd></vb:if>
<dt><img src="{vb:stylevar imgdir_statusicon}/category-16.png" alt="{vb:rawphrase category_forum}" /></dt><dd>{vb:rawphrase category_forum}</dd>
<dt><img src="{vb:stylevar imgdir_statusicon}/forum_link-16.png" alt="{vb:rawphrase link_forum}" /></dt><dd>{vb:rawphrase link_forum}</dd>
{vb:raw template_hook.forumhome_icon_legend}
</dl>
</div>
</div>
{vb:raw template_hook.forumhome_wgo_pos5}
</div>
</div>
<!-- end what's going on box -->

{vb:raw ad_location.board_below_whats_going_on}
<vb:if condition="$show['sidebar']">
</div>
</div>

<div id="sidebar_container" class="<vb:if condition="$show['sidebarposition'] == 'left'">sidebarleft</vb:if><vb:if condition="$close_sidebar"> sidebar_closed</vb:if>">
<a id="sidebar_button_link" href="#">
<vb:if condition="$show['sidebarposition'] == 'left'">
<img id="sidebar_button" src="{vb:stylevar imgdir_misc}/<vb:if condition="$close_sidebar">tab-expanded-left.png<vb:else />tab-collapsed-left.png</vb:if>" alt="" />
<vb:else />
<img id="sidebar_button" src="{vb:stylevar imgdir_misc}/<vb:if condition="$close_sidebar">tab-expanded.png<vb:else />tab-collapsed.png</vb:if>" alt="" />
</vb:if>
</a>
<ul id="sidebar" <vb:if condition="$close_sidebar">class="sidebar_hidden"</vb:if> >
{vb:raw sidebar}
</ul>
</div>
</vb:if>
<script type="text/javascript">
<!--
vbphrase['doubleclick_forum_markread'] = "{vb:rawphrase doubleclick_forum_markread}";
init_forum_readmarker_system();
//-->
</script>
{vb:raw footer}
</body>
</html>

Scanu
08-17-2012, 07:57 PM
I don't see {vb:raw quickmod_template} in that themplate

nyenius
08-17-2012, 08:21 PM
I don't see {vb:raw quickmod_template} in that themplate

No i've added it below 'navbar'

<body>

{vb:raw header}

{vb:raw navbar}
{vb:raw quickmod_template}

still nothing shows

nyenius
08-18-2012, 06:40 PM
Fiuhhh Scanu, I finally found the culprit. The usergroup (admin, moderator/supermods), has to be the primary usergroup for the person to be able to see the quick moderation panel....

I'm sorry for all the trouble, it is a great mod!!!

rated 5 stars!

Thank you :) :) :)

RedTurtle
08-18-2012, 07:43 PM
Is there a way that secondary usergroups could also be included please?

nyenius
08-20-2012, 02:07 AM
Today, i try to create a dummy moderator for certain forum with 1 unapproved post. Instead of showing 1 unapproved post, the quick mod panel shows total number of all unapproved posts in the board (more than one).

Not an annoying problem for me, I still can explain it. But it would be nice if there any solution to this ;)

RedTurtle
08-20-2012, 02:19 AM
With Scanu's assistance I integrated this plugin into my Spam-O-Matic Statistics plugin and have the number of threads and posts that are awaiting moderation show up in the same place as the Spam-O-Matic statistics do.

I've always had the issue of not knowing when stuff is in the moderation queue and not going into the AdminCP or ModCP enough to check. I don't like the idea of users having posts stuck in moderation for a long period of time so I wanted something that quickly catches my attention when I visit the page.

Using some conditional statements I have it so that it only shows up if the number is greater than 0 and also is only viewable by admins and moderators. The entire phrase completely disappears if there are 0 items in the queue.

Also, just because I am a little OCD about being a perfectionist, the word Thread/Post/etc become pluralized (Threads/Posts) when the count is greater than 1.

qpurser
08-20-2012, 03:31 PM
Really would love to use this mod.
Installed the latest version and manually edited the template.
Shows fine but unfortunately no numbers show up.

What could be wrong?
Any help appreciated
Michael

Bluemax712
10-12-2012, 09:21 PM
Could you add an option to also send an email or a PM to Moderators
when there something in the Awaiting Moderation Queue?

RedTurtle
10-12-2012, 09:33 PM
Could you add an option to also send an email or a PM to Moderators
when there something in the Awaiting Moderation Queue?

A lot of us would love to have this option.

flash84
10-15-2012, 01:09 AM
This mod is awesome! Working in VB4.2. I have marked as installed.

As other people have said the mod's name is blank in the ACP > Options > Settings

Also it was showing up 13 Threads in moderation at first, due to 13 old entries that I had in the moderation table with threads that no longer existed. I simply deleted these entries from the moderation table and all is good now!

bomb192uk
10-16-2012, 10:37 AM
Another upgrade for this mod would be to have the text bold when something is in the queue

Noerenberg
10-17-2012, 04:16 AM
I want to use this mod, but the box is empty in my forum.

V8Owner
11-12-2012, 06:14 AM
I have the same issue. mine was working fine & now it's empty??

keteflips
11-12-2012, 11:04 AM
No options page in ACP > Options > Settings

deltahawk5
11-18-2012, 07:47 AM
Could really use this, doesn't work however. No options in the AdminCP, box in blank in the forums.

sarangan
11-30-2012, 12:37 PM
Could really use this, doesn't work however. No options in the AdminCP, box in blank in the forums.

Same problem for me in 4.2.0

bomb192uk
12-19-2012, 11:21 PM
The settings are a blank entry in the settings and options dropdown menu, the name is missing in the install

DAMINK
12-20-2012, 05:03 AM
Tested this today.
Want to get it working so will persist.
One thing i noticed is this script assumes your mod area is modcp/
Mine clearly isnt. Dunno i will keep playing with it until it works for me as i like the idea.

hsoen
12-23-2012, 11:57 AM
This mod is very useful.

Work perfectly on 4.2.0

Scanu
03-13-2013, 09:30 PM
An update for this is coming it will fix the empty panel problem and i will add a name to the setting group (as now you have to click on the blank setting), It will take about a month to me to release it tough

tomshawk
03-27-2013, 05:25 AM
Got it to work on 4.2.0 even though the admincp Settings group box is blank.

thanks, I look forward to the update

avitor
04-08-2013, 02:01 PM
thanks for great mod and best support by coder
works 100% on vb 4.2 with out any extra configuration
just import the product
all the best

Scanu
04-08-2013, 06:15 PM
Thank you i hope i will have the time to release the update that fix blank box in forumhome and blank settings

Salvo
05-10-2013, 08:50 PM
When there are not user to moderate, the link gets to a 404 error, is it normal?
/user.php?do=moderate
4.2.1. forum's version

fxdigi-cash
07-29-2013, 01:27 AM
I get database error after importing the product and then refresh the forumhome... !!

vb.4.2.1

sarangan
09-18-2013, 09:28 AM
I get database error after importing the product and then refresh the forumhome... !!

vb.4.2.1

Me too!

ozzy47
09-18-2013, 09:49 AM
I get database error after importing the product and then refresh the forumhome... !!

vb.4.2.1

Me too!

You really should post the error, I don't think Scanu has a crystal ball to know what errors you got. :)

megabink
09-18-2013, 02:56 PM
Looks like a great useful mod to bad it's not working like it should be,i would install it for sure.
I hope the maker can find some time to update it because there is no good working moderation mod here on vB.org anymore....maybe a hint to other coders lol.

dougdirac
09-21-2013, 05:24 PM
So is this not working. I was looking forward to installing.

Jncocontrol
11-09-2013, 02:57 AM
I have it installed for 2.2 and it works like a charm.

wtatech
12-07-2013, 11:10 AM
Does the primary group need to be moderator or admin for this to work? We have a default primary group, and then admins, mods, etc get their permissions from additional usergroups.

BirdOPrey5
12-07-2013, 11:39 AM
Does the primary group need to be moderator or admin for this to work? We have a default primary group, and then admins, mods, etc get their permissions from additional usergroups.

Looking at the code, indeed that seems to be the case. If you need secondary groups you can try this edit.

In the Template plugin-

Look for-

if (in_array($vbulletin->userinfo['usergroupid'], $ids))

and change it to

if (is_member_of($vbulletin->userinfo, $ids))

Haven't tested this but it should show up to secondary usergroups with this edit.

ozzy47
12-07-2013, 11:47 AM
It should be,

if (is_member_of($vbulletin->userinfo, $ids))

Small typo _od = _of

BirdOPrey5
12-07-2013, 12:23 PM
Whoops, thanks Ozzy. :)

ozzy47
12-07-2013, 12:24 PM
No problem. :)

wtatech
12-15-2013, 12:05 PM
much appreciated guys! Thanks! I will give it a shot.

wtatech
12-15-2013, 12:20 PM
In settings, it does not show "Scanu's Quick Moderation..." any where on the list. There is a blank entry at the bottom, that is it.

Installed 1.2 on 4.2.2

Meestor_X
12-29-2013, 05:59 PM
In settings, it does not show "Scanu's Quick Moderation..." any where on the list. There is a blank entry at the bottom, that is it.

Installed 1.2 on 4.2.2I see this same issue on 4.2.0 pl2.

Meestor_X
12-29-2013, 06:18 PM
Also, this addon looks like this:
Threads (http://www.mindplacesupport.com/forum/modcp/moderate.php?do=posts): 0 Posts (http://www.mindplacesupport.com/forum/modcp/moderate.php?do=posts#posts): 0 Attachments (http://www.mindplacesupport.com/forum/modcp/moderate.php?do=attachments): Events (http://www.mindplacesupport.com/forum/modcp/moderate.php?do=events): 0 Vistor Messages (http://www.mindplacesupport.com/forum/modcp/moderate.php?do=messages): 0 Users (http://www.mindplacesupport.com/forum/modcp/user.php?do=moderate): 0 Blogs: 0 Group Messages: 0 Pictures Comments: 0


As you can see, the "Attachments:" link has no number beside it.
Even in the screenshot from the coder (https://vborg.vbsupport.ru/showpost.php?p=2343607&postcount=3). I would think that perhaps {vb:raw attachments.count} used in the template is maybe the wrong variable?

Scanu
01-03-2014, 07:08 PM
- 1.3
- Added a message when there isn't anything to moderate (now it will only show what need moderation not zeros)
- Fixed missing number of attachments awaiting moderation
- Set 'no blog' as default to prevent database error
- Fixed blank name options
- Added Version check url
Good news! I finally found the time to update this mod! Enjoy ;D

Scanu
01-03-2014, 07:09 PM
You really should post the error, I don't think Scanu has a crystal ball to know what errors you got. :)
lol who knows? :D

Meestor_X
01-04-2014, 04:40 PM
Thanks for updating! New display looks good and the settings name is no longer blank!

The previous Mod I was using would list the posts/threads to be moderated as a list with links to the posts. This was handy, I could just use inline moderation instead of having to do use the modcp, which is less convenient.

Any idea if that would be easy to add?

Scanu
01-04-2014, 10:03 PM
Thank for your feedback! I'll consider adding that feature in the next version :)

Meestor_X
01-05-2014, 03:14 PM
Thank you very much!

It was this mod (https://vborg.vbsupport.ru/showthread.php?t=241301) I was using before, but it's not compatible with the vbNotifications mod, whereas yours is!

tomshawk
01-14-2014, 08:17 PM
2 things

1: with this new xml file, even when I tell it I have blogs, but clicking yes and save, it reverts back to no

2: It is showing 2 posts that need to be modded when there are non.

Ideas?

sarangan
01-20-2014, 05:04 AM
It would have been much better if it completely hide the box if there is nothing to moderate.

My Hattiesburg
02-11-2014, 02:50 AM
I just installed this on vb 4.2.1 and it says there's nothing to moderate even though I have a buttload of posts that are in moderation. I even unapproved a post after install to see if that did anything, but it didn't.

kapii
01-25-2015, 09:36 PM
Why does this mod show a notification for threads or posts if the moderator can not see a particular forum?

Stratis
09-16-2015, 02:35 PM
I just installed this on vb 4.2.1 and it says there's nothing to moderate even though I have a buttload of posts that are in moderation. I even unapproved a post after install to see if that did anything, but it didn't.

Same to me in vb4.2.0
Uninstalled, it would be great if there an update.

Thanks Andrea.
Ευχαριστώ Ανδρέα. :D

V8Owner
11-08-2015, 06:30 AM
I had version 1.2 running perfectly with the exception of the title in the adminCP and Users for maybe 2 years.

Today i updated to version 1.3 and i have nothing. I tried to uninstall & reinstall the old 1.2 but it no longer can be seen on the forum home.

I also tried the forum home edit - Nothing :(

z3r0
11-09-2015, 06:10 AM
If you can't get this mod working then the following one is a pretty good alternative - https://vborg.vbsupport.ru/showthread.php?t=241301

RichieBoy67
11-23-2016, 09:27 PM
Everything works but the user moderation..

/user.php?do=moderate

What is the proper url now? /admincp/user.php?do=moderate

yeah, that fixed it..

Go into the xml file and change /user.php?do=moderate to /admincp/user.php?do=moderate if you have an issue with your user moderating. Replace admincp with your admin directory name.

I have not checked the other urls. My client said it was the users only that were not working.