Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Moderator Statistics Details »»
Moderator Statistics
Version: 1.3, by Abe1 Abe1 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 01-25-2006 Last Update: 03-19-2006 Installs: 482
Uses Plugins
 
No support by the author.

Moderator Statistics 1.3


vb3.6 version released here: https://vborg.vbsupport.ru/showthread.php?t=139248


About this hack:
This idea and part of this hack are a port over from a hack made for vb3.0 called Moderator Management System. I have changed the name since I did not include the weekly PMs about your mods in this hack. This hack only gives you a page you can go to view stats on your mods. Although I did not include the weekly email, I have improved the hack in many ways. I have also added detailed columns of each type of action there is for a moderator to do. You can see what type off actions your moderators do.

Features:
  • Uses vBulletin easy Product installer/updater/uninstaller
  • Full set of options
  • Setting to add other usergroups to the stats (eg. smods and admin)
  • Setting for who can view the stats
  • Only a plug-in. No FTP file uploading required.
  • Can sort by any category
  • Many more ...
List of Stats:
  • Last Activity
  • Posts
  • Posts in His Forums
  • Threads Started
  • Threads Started in His Forums
  • Total Moderator Actions
  • Average Per Day of Total Moderator Actions
  • Advanced stats drop down for split moderator actions types.
Installation information on hack:
  • Files edited: 0
  • Templates edited: 0
  • Files to upload: 1
  • Time to install: 5 seconds max
Updates:

Version 1.0 (01/25/06):
  • Release

Version 1.1 (01/27/06):
  • FIX Normal error if no mods come up.
  • FIX Fixed sql error if you have no mods and were just using this hack to capture usergroups.

Version 1.2 (01/31/06):
  • ADD Average Moderator Actions Per Day
  • ADD Advanced moderator action stats.

Version 1.3 (03/20/06):
  • CHANGED Changed how the Advanced moderator action stats show.

Please post your comments or suggestions for this hack. I read ALL posts.

MAKE SURE YOU CLICK INSTALL!
You will get an email when a new version is released.


This hack is created for your use free of charge. No payment is requested. However, if you would like to donate money for the work I put in to this hack, a donation would show your appreciation.

Show Your Support

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

Comments
  #22  
Old 01-26-2006, 03:53 PM
darksoulz darksoulz is offline
 
Join Date: Jul 2005
Location: Lochbuie, CO
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

getting a sql error on this. anyone have an idea how to fix?

Code:
Database error in vBulletin 3.5.3:

Invalid SQL:

        SELECT userid, count(*) AS total
        FROM moderatorlog AS moderatorlog
        WHERE dateline >= 1135705843 AND userid IN ()
        GROUP BY userid;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
        GROUP BY userid' at line 3
Error Number : 1064
Date         : Thursday, January 26th 2006 @ 11:50:43 AM
Script       : http://xxxxxx/board/misc.php?do=moderator_stats
Referrer     : 
IP Address   : xxxxx
Username     : xxxxx
Classname    : vB_Database_MySQLi
also getting
Warning: array_unique() [function.array-unique]: The argument should be an array in /misc.php(86) : eval()'d code on line 161

a bunch of
Warning: Invalid argument supplied for foreach() in /misc.php(86) : eval()'d code on line 168

and a
Warning: implode() [function.implode]: Bad arguments. in /misc.php(86) : eval()'d code on line 181
Reply With Quote
  #23  
Old 01-26-2006, 04:07 PM
Martin Martin is offline
 
Join Date: Jan 2002
Location: Honolulu
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed, but it just hangs when I try to access it. How does it retrieve the data? If it's searching for raw info in the database, this may not be suitable for large forums like mine.

This is what I get when I run it:

Server Load Averages 20.74 7.92 5.21 | 737 Users Online
Reply With Quote
  #24  
Old 01-26-2006, 04:10 PM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Posts in "His" forum?

What about people who have female moderators?
Reply With Quote
  #25  
Old 01-26-2006, 04:12 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by darksoulz
getting a sql error on this. anyone have an idea how to fix?

Code:
Database error in vBulletin 3.5.3:

Invalid SQL:

        SELECT userid, count(*) AS total
        FROM moderatorlog AS moderatorlog
        WHERE dateline >= 1135705843 AND userid IN ()
        GROUP BY userid;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
        GROUP BY userid' at line 3
Error Number : 1064
Date         : Thursday, January 26th 2006 @ 11:50:43 AM
Script       : http://xxxxxx/board/misc.php?do=moderator_stats
Referrer     : 
IP Address   : xxxxx
Username     : xxxxx
Classname    : vB_Database_MySQLi
also getting
Warning: array_unique() [function.array-unique]: The argument should be an array in /misc.php(86) : eval()'d code on line 161

a bunch of
Warning: Invalid argument supplied for foreach() in /misc.php(86) : eval()'d code on line 168

and a
Warning: implode() [function.implode]: Bad arguments. in /misc.php(86) : eval()'d code on line 181
I see you are using MySQLi, I didn't do any test on it. I will look at the code tonight to see what I can come up with.
Reply With Quote
  #26  
Old 01-26-2006, 04:14 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Martin
I installed, but it just hangs when I try to access it. How does it retrieve the data? If it's searching for raw info in the database, this may not be suitable for large forums like mine.

This is what I get when I run it:

Server Load Averages 20.74 7.92 5.21 | 737 Users Online
It only uses about 4 queries besides the standard queries that run on every click. No queries just pull all info. They all have limits as far as I remember.
Reply With Quote
  #27  
Old 01-26-2006, 04:16 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kall
Posts in "His" forum?

What about people who have female moderators?
When we talk about God, we refer to 'him' as 'him'. 'Him' is normal for languge when it can be either or. If you dont like it, you can edit the phrase. The hack is fully phrased.
Reply With Quote
  #28  
Old 01-26-2006, 04:33 PM
Martin Martin is offline
 
Join Date: Jan 2002
Location: Honolulu
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here are my loads without it running:

2.95 2.55 3.30 | 799 Users Online

I have 94 forums, 44 mods, 4.6mil posts, ~274,000 threads.

I think it's the size of my forum that's causing problems. Pity, because this is a great hack idea.
Reply With Quote
  #29  
Old 01-26-2006, 04:35 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Martin
Here are my loads without it running:

2.95 2.55 3.30 | 799 Users Online

I have 94 forums, 44 mods, 4.6mil posts, ~274,000 threads.

I think it's the size of my forum that's causing problems. Pity, because this is a great hack idea.
That's alot of mods. I'll have to look into it.
Reply With Quote
  #30  
Old 01-26-2006, 04:38 PM
JsnakeJ JsnakeJ is offline
 
Join Date: Mar 2005
Location: Pennsylvania
Posts: 231
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me installs.

Very useful hack.
Reply With Quote
  #31  
Old 01-26-2006, 04:41 PM
Martin Martin is offline
 
Join Date: Jan 2002
Location: Honolulu
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abe1
That's alot of mods.
It's a big and somewhat active forum
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 03:18 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.05665 seconds
  • Memory Usage 2,305KB
  • 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_code
  • (5)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