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
  #52  
Old 10-23-2004, 03:55 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now, you want to hear the best? I am at home on a different PC, and it tells me unable to add cookies headers already sent on the echo line. When I remove the echo line, the page simply takes forever to load.... or perhaps does not load at all (closed brpwser after 5 minutes)
Reply With Quote
  #53  
Old 10-23-2004, 04:35 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

Page generated in 0.51729 seconds with 13 queries [Server Loads: 0.49 0.55 : 0.47]awesome hack
Reply With Quote
  #54  
Old 10-23-2004, 05:00 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kentaurus
That might be the problem.... I have only tested this hack with vb3.0.3, it might not work with 3.0.1. Depending on your server configuration you can get a blank page if you have a php error, like calling a function that didn't exist... can you get the detailed error from the server log or something like that? maybe it is a simple fix. Did you remembered to upload functions_modmanagement.php in the includes directory? You can also try adding something like "Hello" at the very end of the file, if it doesn't print then it is a php error and nothing with the template.
It works fine with 3.0.1, I can assure you.

And again, thanks for a lovely hack. Now, I am awaiting for the alerts to see what they are about, haven't seen one yet.

Rgds
Reply With Quote
  #55  
Old 10-23-2004, 12:01 PM
Makador Makador is offline
 
Join Date: Sep 2004
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack has a major bug. If your Admins dont have the groupid 6 you cant access the page...

/edit:
Hm and changing to this doesn't work:

if (!can_administer('whatever'))
{
print_cp_no_permission();
}

/edit2:
Anybody knows a way to change it in that way, that all people who have access to the admin panel can view it? Because in my case, they are all in a lot of different usergroups.
Reply With Quote
  #56  
Old 10-23-2004, 01:33 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Makador
This hack has a major bug. If your Admins dont have the groupid 6 you cant access the page...

/edit:
Hm and changing to this doesn't work:

if (!can_administer('whatever'))
{
print_cp_no_permission();
}

/edit2:
Anybody knows a way to change it in that way, that all people who have access to the admin panel can view it? Because in my case, they are all in a lot of different usergroups.
// only administrators can see this page
if (($bbuserinfo['usergroupid'] != 6) AND ($bbuserinfo['usergroupid'] != 5))
{
print_no_permission();
}

Add any group that you want to included in the above IF condition, same way I add
"AND ($bbuserinfo['usergroupid'] != 5)"
Reply With Quote
  #57  
Old 10-23-2004, 01:52 PM
Makador Makador is offline
 
Join Date: Sep 2004
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hm I could do that, but I dont want to put everyone who can access the admin panel in one group and especially not as primary group, because they all need different acess to forums and different titles. We got around 400+ Forums, so it is a bit complex
Reply With Quote
  #58  
Old 10-23-2004, 05:10 PM
GamerJunk.net's Avatar
GamerJunk.net GamerJunk.net is offline
 
Join Date: Jan 2004
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome! Great Job!
Reply With Quote
  #59  
Old 10-23-2004, 05:38 PM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Hack!!!
Reply With Quote
  #60  
Old 10-23-2004, 06:17 PM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Makador
This hack has a major bug. If your Admins dont have the groupid 6 you cant access the page...

/edit:
Hm and changing to this doesn't work:

if (!can_administer('whatever'))
{
print_cp_no_permission();
}

/edit2:
Anybody knows a way to change it in that way, that all people who have access to the admin panel can view it? Because in my case, they are all in a lot of different usergroups.
First of all I would appreciate if you didn't call that a "major bug" because you are going to frighten someone, after reading it I thought it was a security issue, performance issue or something like that

Certainly yours is a special setup, by default most people use the 6 as the administrator group and it is also the default. I agree with you that it should be fixed. here it is.

In modmanagement.php change
PHP Code:
if ($bbuserinfo['usergroupid'] != 6)
{
    
print_no_permission();

To this
PHP Code:
if (!($permissions['adminpermissions'] & CANCONTROLPANEL))
{
    
print_no_permission();

Reply With Quote
  #61  
Old 10-23-2004, 06:38 PM
Makador Makador is offline
 
Join Date: Sep 2004
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hehe sorry for calling it a major bug and thanks for your help
But I also need to change the modmanagement_cron.php. Same here: All users, who can see the adminpanel should get the pm's.
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 04:39 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.04482 seconds
  • Memory Usage 2,316KB
  • 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
  • (2)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
  • (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