Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

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

Category: Administrative and Maintenance Tools - Version: 3.6.8 Rating:
Released: 02-12-2007 Last Update: 02-12-2007 Installs: 616
Uses Plugins Template Edits
 
No support by the author.


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 of actions your moderators do.

Features:
  • Uses vBulletin easy Product installer/updater/uninstaller
  • Full set of options
  • Uses AJAX Tecnology so advanced info does not have to be loaded all the time.
  • 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 fall down for allot more stats.
Installation information on hack:
  • Files edited: 0
  • Templates edited: 0
  • Files to upload: 1 (a product file)
  • Time to install: 5 seconds max
Updates:

Version 2.0 (02/12/07):
  • Release for vb3.6
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.

Download Now

File Type: (21.4 KB, 0 views)
File Type: (21.4 KB, 0 views)

Supporters / CoAuthors

Show Your Support

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

Comments
  #162  
Old 06-09-2008, 08:30 PM
vitrag24's Avatar
vitrag24 vitrag24 is offline
 
Join Date: Nov 2006
Location: India
Posts: 639
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it was nice mod.
can i have same for vb 3.7?
Reply With Quote
  #163  
Old 06-13-2008, 08:54 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 vitrag24 View Post
it was nice mod.
can i have same for vb 3.7?
Some day when i have time
Reply With Quote
  #164  
Old 06-14-2008, 03:49 AM
vitrag24's Avatar
vitrag24 vitrag24 is offline
 
Join Date: Nov 2006
Location: India
Posts: 639
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abe1 View Post
Some day when i have time
Hope you'll have time soon.
Bcz i was using your mod while promoting new users in moderator group.
Thanks.
Reply With Quote
  #165  
Old 07-03-2008, 09:07 PM
proxx proxx is offline
 
Join Date: Oct 2003
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does anyone know how to make this mod count/display stats of actions within certain forums (as opposed to all forums)?

I would pay for a quick fix, if anyone has it
Reply With Quote
  #166  
Old 07-22-2008, 09:55 AM
vithorius's Avatar
vithorius vithorius is offline
 
Join Date: Feb 2008
Location: Portugal
Posts: 347
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi everyone!

Any news on the 3.7.x port?


Thank you very much! :up: :up: :up:
Reply With Quote
  #167  
Old 07-23-2008, 09:30 PM
vitrag24's Avatar
vitrag24 vitrag24 is offline
 
Join Date: Nov 2006
Location: India
Posts: 639
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dying to get for 3.7.1
Reply With Quote
  #168  
Old 09-20-2008, 09:44 AM
ShiZoPhreN ShiZoPhreN is offline
 
Join Date: Apr 2008
Location: Germany/Hamburg
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello

any news, about the version for 3.7?
Reply With Quote
  #169  
Old 09-25-2008, 02:49 AM
Blind Guardian's Avatar
Blind Guardian Blind Guardian is offline
 
Join Date: Mar 2004
Location: South Carolina
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well it works on 3.7 as is, it's just missing the ability to show infractions.

That's easily fixed by adding a few lines of code here and there. Firstly under the "Moderators Stats" misc_start hook find the following:

Code:
$moderatorinfo[$moderator['userid']]['threadforum'] = 0;
And after it, add:

Code:
$moderatorinfo[$moderator['userid']]['infraction'] = 0;
Then find:

Code:
// load thread information 
    $moderatorthreads = $db->query_read(" 
        SELECT postuserid, dateline, forumid 
        FROM ".TABLE_PREFIX."thread 
        WHERE postuserid IN (".implode(",",$moderatorids).") 
        AND dateline >= $settings_days_time 
    "); 

    while ($moderatorthread = $db->fetch_array($moderatorthreads)) 
    { 
        if ($moderatorthread['dateline'] >= $settings_thread) 
        { 
            $moderatorinfo[$moderatorthread['postuserid']]['thread']++; 
        } 

        if (in_array($moderatorthread['forumid'], $moderatorinfo[$moderatorthread['postuserid']]['forums']) && $moderatorthread['dateline'] >= $settings_thread_forum) 
        { 
            $moderatorinfo[$moderatorthread['postuserid']]['threadforum']++; 
        } 
    }
And after it add:

Code:
//Obtain warning information 
         
    $moderatorinfractions = $db->query_read(" 
        SELECT whoadded, points, dateline 
        FROM ".TABLE_PREFIX."infraction 
        WHERE whoadded IN (".implode(",",$moderatorids).") 
        AND dateline >= $settings_days_time 
    ");         

     
    while ($moderatorinfraction = $db->fetch_array($moderatorinfractions)) 
    { 
        if ($moderatorinfraction['dateline'] >= $settings_thread) 
        { 
            $moderatorinfo[$moderatorinfraction['whoadded']]['infraction']++; 
        } 
    }
Now you just have to add it into the templates, so go to MODERATOR_STATS and after:

Code:
<td class="thead" valign="top" nowrap="nowrap">
                <a href="misc.php?$session[sessionurl]do=moderator_stats&amp;order=$oppositesort&amp;sort=modlog">$vbphrase[total_moderator_actions]</a> $sortarrow[modlog]
        </td>
Add:

Code:
<td class="thead" valign="top" nowrap="nowrap">
                <a href="misc.php?$session[sessionurl]do=moderator_stats&amp;order=$oppositesort&amp;sort=infraction">Infractions</a> $sortarrow[infraction]
        </td>
Note: I couldn't be bothered with phrasing. If you're wanting that kind of thing, add it yourself.

And finally in moderator_stats_bit_user find:

Code:
<td class="$bgclass">$moderatorstats[modlog]</td>
And after add:

Code:
<td class="$bgclass">$moderatorstats[infraction]</td>
You can put those columns anywhere you want, but I like them after the actions.

That should be everything. There's no "total infractions" or fancy addition to the expanded AJAX information, but it works.
Reply With Quote
  #170  
Old 09-25-2008, 09:41 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Statistics from Blog, albums, VM's, group messages, etc would be nice.
Any tips on adding that?
Reply With Quote
  #171  
Old 10-02-2008, 01:55 AM
proxx proxx is offline
 
Join Date: Oct 2003
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If somebody could modify this to allow me to EXCLUDE forums from stats, I could pay for such a modification.

for example, i have off topic forum and support forum. I don't care the posts and moderation actions in off topic forums, but I would rather get only stats of moderators in support forums.

Please PM me if you can do what I need. I can pay by paypal.
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 09:56 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.06143 seconds
  • Memory Usage 2,344KB
  • Queries Executed 27 (?)
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
  • (8)bbcode_code
  • (2)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
  • (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
  • (2)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
  • 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_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