vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Moderator management system (https://vborg.vbsupport.ru/showthread.php?t=70850)

Kentaurus 10-20-2004 10:00 PM

Moderator management system
 
tested with 3.0.3

You went into a lot of trouble selecting the moderators for your forum, you created a set of rules, told them what you expected from them. Now, how do you know if they are really moderating?

Of course, if you have 3 forums and 3 moderators, it's not big deal. But if you have 5+ moderators then this tool might be useful.

I wanted to receive an alert when my moderators were absent, or when they were in the forum but weren't doing any moderation at all... also I want my moderators to be active posters. But checking on every one of them is time consuming. That's why I made this tool.

With it you receive an alert pm if:
  • a moderator has been absent for more than x days
  • a moderator has not modded (edited/deleted/moved/closed) for more than z days
  • a moderator has not posted in HIS forum for more than y days
  • a moderator has nos posted for more than y days
  • a moderator has not created a new thread in HIS forums for more than y days
  • a moderator has not created a thread globally for more than y days
  • a moderator has failed to OPEN and potentially read at least x percent threads in HIS forum in the last week
Installation instructions:

1)
Upload the files in the .zip file to your forum. Make sure that you follow the directory structure in the zip file.
modmanagement.php goes in the root of your forum
functions_modmanagement.php goes to the includes/ directory
modmanagement_cron.php goes into the includes/cron/ directory
modmanagement_install.php goes into the admincp directory

2)
Open the modmanagement_install.php in your browser

3)
That's it :) No file modifications, no template modifications

Customization:
- Go to vbulletin options and change how many posts a moderator should do in how many days, how long can someone be inactive, etc.
- Go to the scheduled tasks and you can change the cron job. By default, it sends the alerts sunday morning.

Other options:
Open modmanagement.php in your browser to see a summary of the moderators activity.

Even more customization:
Note: You should really test that the hack is working and that you like it before doing anything else :)

*optional* For integration in the admincp and a link in every page, you need some file modifications, here: https://vborg.vbsupport.ru/showpost....5&postcount=27

*optional* The summary page can only be accesed by administrators. If you want to give access to supermoderators or moderators, here:
https://vborg.vbsupport.ru/showpost....9&postcount=64


Info for hackers:
You may modify, improve, upgrade, redistribute this hack, include it
in another hack or yours or translate it provided you do it free of
charge and you distribute it in www.vbulletin.org at least, there is no
need to pm me asking for permission
Some portions of the code are (c) Jelsoft Enterprises Ltd.

Kentaurus 10-21-2004 08:24 PM

There is an extra option in the hack, but it needs additional modifications so I'm posting it apart.

THIS IS OPTIONAL AND ONLY IF YOU WANT THE EXTRA FUNCTIONALITY



You need my "who viewed thread" hack installed:
https://vborg.vbsupport.ru/showthread.php?t=61225 (yes, it works with 3.0.3)

after you install that other hack:

1)
open includes/functions_modmanagement.php

2)
change:
define('ENABLE_MODERATOR_READ', false);
to this:
define('ENABLE_MODERATOR_READ', true);


you will get an extra column that shows the % number of threads that your moderator has read. If it is a really good moderator then he reads 100% of the threads in his forum, right?

Check the last column in the following screenshot for an example of this extra option.

Koutaru 10-21-2004 08:32 PM

Excellent hack :D Hopefully I'll be able to scare my mods into being more active with this thing ;)

Could there also be an email to the moderator who has been unactive for x days or has not posted x amount of threads to remind them of their duties?

alkatraz 10-21-2004 08:40 PM

OUTSTANDING hack! Can't wait to install thi

Rick Sample 10-21-2004 09:44 PM

Great Hack! You should have a link or something to the modmanagement.php file in the quick links bar somewhere that only admins and mods can see so we won't always have to remember that filename, other than that great hack!

~~now its time to show this to my mods so it can wake them up~~

jd-inflames 10-21-2004 10:56 PM

I like the concept. I'm going to recommend it to a few people, and consider installing it on my own forum.

turkforum 10-21-2004 11:17 PM

its good but every body can see this right ?!!
users guest everybody
if i put modmanagement.php under the admicp/ folder will this work

AlexanderT 10-21-2004 11:38 PM

nice work!

Kentaurus 10-22-2004 12:14 AM

Quote:

Originally Posted by turkforum
its good but every body can see this right ?!!
users guest everybody
if i put modmanagement.php under the admicp/ folder will this work

No. Only the admin can see it. Other people get a nopermission screen.

Boofo 10-22-2004 12:22 AM

The Master is back! ;)

Another quality hack, sir. ;)

[high]* Boofo clicks the install button[/high]


All times are GMT. The time now is 11:28 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.01060 seconds
  • Memory Usage 1,741KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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