Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
vBMQN - Moderation Queue Notifications + Desktop App Details »»
vBMQN - Moderation Queue Notifications + Desktop App
Version: 2.0, by Lee Roberts Lee Roberts is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.2.x Rating:
Released: 02-10-2013 Last Update: 02-11-2013 Installs: 36
Uses Plugins
Re-useable Code Additional Files Translations  
No support by the author.

****


Introduction
There are many scenarios where this mod would come in handy for administrators. There are too many for me to cover them all, so I will give you the scenario this mod was developed for...

If you have a hand full of moderating staff and a large number of forums, adding each moderator to each forum can be quite a pain, however doing it that way would give you notifications for those moderators when something dose need their attention from within those said forums...

Another option would be to setup staff to be Global Moderators, this removes the need to add them to specific forums but it also removes queue notifications because moderators wouldn?t be assigned to individual forums...

We require new members to be moderated and/or that their first submissions to the forum require moderating, this can become quite a pain because again staff would need to continually check the moderation queue for new items...

The Solution and Requirements
What we need is moderation queue notifications via email and possibly a desktop app for those staff that would rather not use their email/inbox.

Features:
- Email Notifications for multiple users/addresses
- Notifications for every item type (posts, threads, attachments etc.)
- Email sending using the vB mail method/system (plain text emails)
- Email generation should use the vB Phrase system (multi-language support)
- Automated checking of the moderation queue (vB Cron system)
- Should support the Scheduled Task log system (debugging, report actions taken)
- Support for external applications and their development (xml based status)

All of the above are present in the first release of this mod (v1), please see the screen shots.

This mod is setup as a vB Cron task; I could not see/find a better way to make this an automated system working with anything else from within the vB system. By default the Cron task is setup to run every 30 minutes, if you would like to adjust this, simply go in and adjust the Cron job as you wish.

Desktop App
At the moment I am still developing a windows (.net) desktop app to work with this, right now we don?t have a big need for this so it?s not a priority for me to develop this and get it out to you any time soon, when the moderation queue is checked regardless of its current state the included xml file is updated to reflect this. So all your own app would need to do is read in this xml file and take the action you require.

If there is a massive interest in the desktop app for this I could be persuaded to push it to the top of my job list, for now though it is work in progress and with no planned deadline or release date.

Support
We have been using this mod in a production environment for almost 12 months now with no problems at all, it is really quite a simple mod and I?m surprised it hasn?t been done already, given the number of requests I have seen.

I will support this as best I can, I am a busy guy so you will need to understand this if you do run into any problems and request support.

Install/Upgrade
Installing this mod is much like any other, upload the files in the download to the same locations on your server, import the product xml file, go to the Admin > Settings > Options > vBMQN: General Options page and configure as you wish. If you are upgrading from an older version simply follow the same steps as installing for the first time.

Change Log
v1.0 - 11 Feb 2013
- First version

v2.0 - 12 Feb 2013
- Added support for table prefix's ( config.php > $config['Database']['tableprefix'] = ''; )
- Rewrite of the database query code, now uses the vB Database Class ( $vbulletin->db->query_first )
- Changed from the use of the php "number_format" function to the vB function "vb_number_format"
- Added instant email notification rather than sending emails to the vB mail queue ( $notsubscription = true )

Enjoy!
This has helped us allot and I hope those of you who have requested this before find it to be ?just the job? as well.

Regards,
Lee Roberts

Download Now

File Type: zip vbmqn-v2.zip (343.5 KB, 180 views)

Screenshots

File Type: png 00.png (60.6 KB, 0 views)
File Type: png 01.png (70.8 KB, 0 views)
File Type: png 02.png (46.3 KB, 0 views)
File Type: png 03.png (27.5 KB, 0 views)
File Type: png 04.png (63.8 KB, 0 views)
File Type: png 05.png (44.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
Bluemax712, joeychgo, Marcin_J_, tareqbd

Comments
  #42  
Old 04-02-2013, 08:04 PM
cdoyle cdoyle is offline
 
Join Date: Oct 2004
Posts: 462
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We've been using this for a few months, but lately it seems we are getting more emails of posts that need moderation but when we go to the forum, there is nothing there.

My mods want me to remove this feature, but I'm hoping there is something that could be tweaked.
Reply With Quote
  #43  
Old 04-08-2013, 03:40 PM
peterherman peterherman is offline
 
Join Date: Jul 2010
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

i have installed the Add-On, and the i have test it, and it did not work. The problem is: the System send me no E-Mails, for moderated Posts.
Can you give me a hint, what i can do now?

Thanks and regards

EDIT: It works now, i forgot to copy two files, sorry.
Reply With Quote
  #44  
Old 07-02-2013, 12:00 AM
xony xony is offline
 
Join Date: Mar 2005
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, had long waiting for a mod to do this, thank you very much, but I have an error when running cron, I get this error:

Quote:
vBMQN


Warning: SimpleXMLElement::asXML([path]/includes/xml/vbmqn.xml) [simplexmlelement.asxml]: failed to open stream: Permission denied in [path]/includes/cron/vbmqn.php on line 59
Queue Checked
would be possible to fix it? thank you again.
Reply With Quote
  #45  
Old 07-04-2013, 11:34 PM
Lee Roberts's Avatar
Lee Roberts Lee Roberts is offline
 
Join Date: Jun 2008
Location: UK
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cdoyle View Post
We've been using this for a few months, but lately it seems we are getting more emails of posts that need moderation but when we go to the forum, there is nothing there.

My mods want me to remove this feature, but I'm hoping there is something that could be tweaked.
Hi, sorry for the delay in getting back to you!

Could it be that one of your "mods" is getting to the items waiting before the other mods check/get the email and so when they go to the queue its empty?

Quote:
Originally Posted by xony View Post
Hi, had long waiting for a mod to do this, thank you very much, but I have an error when running cron, I get this error:

Quote:
vBMQN


Warning: SimpleXMLElement::asXML([path]/includes/xml/vbmqn.xml) [simplexmlelement.asxml]: failed to open stream: Permission denied in [path]/includes/cron/vbmqn.php on line 59
Queue Checked
would be possible to fix it? thank you again.
Hi, in the error message "Permission denied" would suggest there is a problem with file permissions for the .xml file you uploaded to the server, what permission dose this file have?

My file permission is set to 644 and this works just fine for me/my server setup, let me know and we can hopefully get this working for you.

Thanks,
.Me
Reply With Quote
  #46  
Old 07-05-2013, 06:02 AM
xony xony is offline
 
Join Date: Mar 2005
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for your reply, the current permissions are at 644, is like giving the error, I've risen to 777 and stops giving error but so clear I guess I can not leave them for safety reasons, there would be some other solution?, although that mistake, I'll keep using it, I'm doing well, thanks for your help.
Reply With Quote
  #47  
Old 07-05-2013, 08:02 AM
Lee Roberts's Avatar
Lee Roberts Lee Roberts is offline
 
Join Date: Jun 2008
Location: UK
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xony View Post
thanks for your reply, the current permissions are at 644, is like giving the error, I've risen to 777 and stops giving error but so clear I guess I can not leave them for safety reasons, there would be some other solution?, although that mistake, I'll keep using it, I'm doing well, thanks for your help.
Morning,

Humm, with out seeing your server setup its hard to tell...

What permissions for /includes and also /includes/xml folders?

If you have no need for xml support (i.e - Support for external applications and their development (xml based status)), then i can make you a custom version of this mod (vbmqn.php), just simple upload of 1 file. Just let me know.

.Me
Reply With Quote
  #48  
Old 08-25-2013, 05:26 AM
juzz86 juzz86 is offline
 
Join Date: May 2013
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

G'day Lee, thankyou for your work mate, this looks like it will be a perfect fit for us!

I've installed and copied the files across and am just awaiting some moderated posts to test. After running the scheduled task manually (vB 4.2.1), I've got the following output. It looks like it can't find the files, although they are both where they should be. Any ideas mate?

Code:
vBMQN

Warning: include_once([path]/./includes/cron/vbmqn.php) [function.include-once]: failed to open stream: No such file or directory in [path]/admincp/cronadmin.php on line 116

Warning: include_once() [function.include]: Failed opening '[path]/./includes/cron/vbmqn.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/celluieo/php') in [path]/admincp/cronadmin.php on line 116

Done
Cheers!

Justin
Reply With Quote
  #49  
Old 08-25-2013, 06:07 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1.) Did you by chance rename your admincp directory in Admin Control Panel?

2.) If your not scared of editing your files, you can go to the error-ed line and dump the current working directory. If the files are where they are suppose to be, then your current working directory has been altered for some reason.

Of course this only works if your testing the mod on a test board, which you should be doing.

Code:
$cwd = getcwd();  vardump($cwd); die();  //Will display the current working directory
Reply With Quote
  #50  
Old 08-25-2013, 07:31 AM
juzz86 juzz86 is offline
 
Join Date: May 2013
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbworld View Post
1.) Did you by chance rename your admincp directory in Admin Control Panel?

2.) If your not scared of editing your files, you can go to the error-ed line and dump the current working directory. If the files are where they are suppose to be, then your current working directory has been altered for some reason.

Of course this only works if your testing the mod on a test board, which you should be doing.

Code:
$cwd = getcwd();  vardump($cwd); die();  //Will display the current working directory
Thanks again for your help bud. Funnily enough, it works just fine in our testbed - e-mails and all.

As such, I went to deploy it and ran into this.

The good news is that a re-upload of the working files, and a re-install of the product now sees it working beautifully. This will be a great addition to our little forum - thanks again to you both!

Justin
Reply With Quote
  #51  
Old 08-25-2013, 02:32 PM
daveaite's Avatar
daveaite daveaite is offline
 
Join Date: Jul 2009
Location: Florida
Posts: 1,890
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very cool concept!
Reply With Quote
Reply

Thread Tools

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 10:57 AM.


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.12855 seconds
  • Memory Usage 2,360KB
  • 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
  • (3)bbcode_code
  • (6)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (4)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
  • (7)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