The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[AJAX] Moderator Statistics Details »» | |||||||||||||||||||||||||||||
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:
Version 2.0 (02/12/07):
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
Supporters / CoAuthors Show Your Support
|
Comments |
#162
|
||||
|
||||
it was nice mod.
can i have same for vb 3.7? |
#163
|
||||
|
||||
Some day when i have time
|
#164
|
||||
|
||||
Hope you'll have time soon.
Bcz i was using your mod while promoting new users in moderator group. Thanks. |
#165
|
|||
|
|||
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 |
#166
|
||||
|
||||
Hi everyone!
Any news on the 3.7.x port? Thank you very much! :up: :up: :up: |
#167
|
||||
|
||||
dying to get for 3.7.1
|
#168
|
|||
|
|||
Hello
any news, about the version for 3.7? |
#169
|
||||
|
||||
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; Code:
$moderatorinfo[$moderator['userid']]['infraction'] = 0; 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']++; } } 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']++; } } Code:
<td class="thead" valign="top" nowrap="nowrap"> <a href="misc.php?$session[sessionurl]do=moderator_stats&order=$oppositesort&sort=modlog">$vbphrase[total_moderator_actions]</a> $sortarrow[modlog] </td> Code:
<td class="thead" valign="top" nowrap="nowrap"> <a href="misc.php?$session[sessionurl]do=moderator_stats&order=$oppositesort&sort=infraction">Infractions</a> $sortarrow[infraction] </td> And finally in moderator_stats_bit_user find: Code:
<td class="$bgclass">$moderatorstats[modlog]</td> Code:
<td class="$bgclass">$moderatorstats[infraction]</td> That should be everything. There's no "total infractions" or fancy addition to the expanded AJAX information, but it works. |
#170
|
||||
|
||||
Statistics from Blog, albums, VM's, group messages, etc would be nice.
Any tips on adding that? |
#171
|
|||
|
|||
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. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|