Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Moderator management system Details »»
Moderator management system
Version: 1.00, by Kentaurus Kentaurus is offline
Developer Last Online: Jul 2014 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 10-20-2004 Last Update: 11-19-2004 Installs: 105
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 10-22-2004, 08:03 AM
reteep reteep is offline
 
Join Date: Mar 2004
Location: Germany
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First of all, very nice hack!

Would it be possible to generate any kind of statistics for Super Moderators, too?
Reply With Quote
  #23  
Old 10-22-2004, 09:34 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Darmak
mmmm

i have this problem in modmanagement.php

Warning: array_key_exists(): The second argument should be either an array or an object in /home/digizona/public_html/foro/includes/functions_modmanagement.php on line 251
I have the same problem, and it annoys me. Is there something we can do about it?

Tnx, looks interesting.
Reply With Quote
  #24  
Old 10-22-2004, 10:06 AM
SaN-DeeP's Avatar
SaN-DeeP SaN-DeeP is offline
 
Join Date: Jun 2002
Location: Mumbai, India
Posts: 1,195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Kentaurus truly its a very nice hack , you can definetly add loads of features to same.. (i will myself recommend a few more things needed)

I appreciate your efforts for this hack


Warm Regards,
Sandy...
Reply With Quote
  #25  
Old 10-22-2004, 10:51 AM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mtha
very nice. However, sorting by lastvisit doesnt work very well.

agrrrrrrrrr

I have about 70 mods, and ...
Page generated in 3.61179 seconds with 12293 queries
What can I say? I am really sorry. I was hoping there was a cache for moderator permissions... there is not. 12293 queries is not acceptable. In my defense 12293 queries in only 3.6 seconds? Those must be light-speed queries.

It is fixed now, please use the modified functions_modmanagement.php in the zip (reupload it in your includes/ directory), I wrote a custom fetch_permissions and it uses A LOT less queries. Please let me know if it helped, I know it will.

Also for the array_key_exists() warning (I have never had that on my forum btw) I added code to fix that, please also reupload that file, you'll need to redownload the zip.
Reply With Quote
  #26  
Old 10-22-2004, 11:15 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Me clicked 'Install'.

Now, all I have to do is to find a way to integrate it into my AdminCP. This vB software can always keep you busy.

Thanks for a lovely hack.

Rgds
Reply With Quote
  #27  
Old 10-22-2004, 11:32 AM
Johnny's Avatar
Johnny Johnny is offline
 
Join Date: Jun 2002
Posts: 290
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well this is one awsome mod, thx, ill make sure ill install this one.
Reply With Quote
  #28  
Old 10-22-2004, 11:36 AM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sv1cec
Me clicked 'Install'.

Now, all I have to do is to find a way to integrate it into my AdminCP. This vB software can always keep you busy.

Thanks for a lovely hack.

Rgds
If you really need to do that (I was aiming at a no file no template modification hack, I am tired of rehacking everything every month )

For a link in you admincp, it will be below "View permissions" in the "Forums & Moderators" box

In admincp/index.php
find:
PHP Code:
construct_nav_group("$vbphrase[forums] & $vbphrase[moderators]"); 
add ABOVE:
PHP Code:
construct_nav_option('Moderators management''../modmanagement.php'); 

For a link in your footer template, it will appear just next to your "admincp" link

in your 'footer' template
find:
PHP Code:
<if condition="$show['admincplink']"><a href="$admincpdir/index.php?$session[sessionurl]">$vbphrase[admin]</a> -</if> 
REPLACE it with:
PHP Code:
<if condition="$show['admincplink']"><a href="$admincpdir/index.php?$session[sessionurl]">$vbphrase[admin]</a> - <a href="modmanagement.php">Moderators Management</a> -</if> 
Reply With Quote
  #29  
Old 10-22-2004, 11:46 AM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Before somebody asks.... If you don't like the alerts that the system sends you can always delete the cron job, it is called "Moderator Management alerts" and you can delete it at the:

Scheduled tasks -> Scheduled tasks manager -> find "Moderator Management alerts" and delete it.

You can also run the task to see an example of how you'd see the alerts. I find the alerts a main feature of the system but you can get a lot of alerts if you have many moderators and they are all inactive
Reply With Quote
  #30  
Old 10-22-2004, 12:46 PM
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Posts: 893
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Mod! Thanks for sharing Kentaurus

/me clicks install
Reply With Quote
  #31  
Old 10-22-2004, 01:34 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get the pm alerts, but I get a blank page for the modmanagement.php and templates are there
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 10:26 AM.


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.04527 seconds
  • Memory Usage 2,324KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete