Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
SCANU's Quick Moderation: Moderation queue info on Forum home Details »»
SCANU's Quick Moderation: Moderation queue info on Forum home
Version: 1.3, by Scanu Scanu is offline
Developer Last Online: Apr 2022 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.x.x Rating:
Released: 06-27-2012 Last Update: 01-02-2014 Installs: 69
Uses Plugins Auto-Templates
Translations  
No support by the author.

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

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

Follow me on twitter for updates

If you like italian G-funk/rap please try out this music or this music

Download Now

File Type: xml SCANU'S_Quick_Moderation_1.0.xml (8.3 KB, 31 views)
File Type: xml SCANU'S_Quick_Moderation_1.1.xml (8.0 KB, 45 views)
File Type: xml SCANU'S_Quick_Moderation_1.2.xml (8.3 KB, 203 views)
File Type: xml SCANU'S_Quick_Moderation_1.3.xml (9.2 KB, 134 views)

Screenshots

File Type: jpg screen_quick_mod.jpg (33.8 KB, 0 views)
File Type: jpg setting_quick_mod.jpg (44.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
RichieBoy67

Comments
  #32  
Old 07-20-2012, 11:52 AM
Jncocontrol's Avatar
Jncocontrol Jncocontrol is offline
 
Join Date: Mar 2009
Location: St.louis
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #33  
Old 07-20-2012, 12:11 PM
Scanu's Avatar
Scanu Scanu is offline
 
Join Date: Nov 2010
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If so Replace this
PHP Code:
if ($vbulletin->userinfo[usergroupid]=='6' OR $vbulletin->userinfo[usergroupid]=='5'
With this
PHP Code:
if ($vbulletin->userinfo[usergroupid]=='9' OR $vbulletin->userinfo[usergroupid]=='6' OR $vbulletin->userinfo[usergroupid]=='7' OR $vbulletin->userinfo[usergroupid]=='5'
Reply With Quote
  #34  
Old 07-20-2012, 12:41 PM
Jncocontrol's Avatar
Jncocontrol Jncocontrol is offline
 
Join Date: Mar 2009
Location: St.louis
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #35  
Old 07-20-2012, 12:57 PM
Scanu's Avatar
Scanu Scanu is offline
 
Join Date: Nov 2010
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes i will do it in the next update but please can you post all your plugin code you probably delete the { after the )
Reply With Quote
  #36  
Old 07-20-2012, 12:59 PM
Jncocontrol's Avatar
Jncocontrol Jncocontrol is offline
 
Join Date: Mar 2009
Location: St.louis
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
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('quickmod_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);
}}
Reply With Quote
  #37  
Old 07-20-2012, 01:16 PM
Scanu's Avatar
Scanu Scanu is offline
 
Join Date: Nov 2010
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try to replace all the code with this
PHP Code:
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('quickmod_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);

}} 
Reply With Quote
  #38  
Old 07-20-2012, 05:44 PM
Scanu's Avatar
Scanu Scanu is offline
 
Join Date: Nov 2010
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated to choose usergroups ids
Reply With Quote
  #39  
Old 07-21-2012, 01:25 AM
Jncocontrol's Avatar
Jncocontrol Jncocontrol is offline
 
Join Date: Mar 2009
Location: St.louis
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #40  
Old 07-21-2012, 12:43 PM
Scanu's Avatar
Scanu Scanu is offline
 
Join Date: Nov 2010
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i've done almost everything but i d0n't know about articles what do you normally do to moderate an article?
Reply With Quote
  #41  
Old 07-23-2012, 02:08 PM
Scanu's Avatar
Scanu Scanu is offline
 
Join Date: Nov 2010
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated to 1.0, i didn't add Articles to moderate because i don't know anything about this :/
Quote:
- 1.0
- No more Beta release
- Added Blogs, Groups and Visitors Messages and Pictures Comments to moderate
- Centered everything
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:32 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.20251 seconds
  • Memory Usage 2,366KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete