Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Cyb - Moderating Stats Details »»
Cyb - Moderating Stats
Version: 1.6.1, by Valter Valter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Statistics Modifications - Version: 3.8.x Rating:
Released: 01-09-2009 Last Update: Never Installs: 356
Uses Plugins Auto-Templates
 
No support by the author.

Info:
Get Moderating Statistics on separate page with the following details included:
-Moderator listing with stats on moderating actions, infractions/infraction points given
-Last moderation action info for each Moderator
-Total number of active Moderators, moderating actions, given infractions/infraction points
-Oldest/Latest moderating actions info
-Some standard info about Moderators (join date, post count, last activity)

See screenshots...

Installation:
-Import XML file (as product) through AdminCP: Plugin System > Manage Products > [Add/Import Product]

To set options:
Go to: vBulletin Options > Cyb - Moderating Stats

Custom link position in "Quick Links":
-Disable automatic placement in hack options, then add "$cybmodstats_qllink" between desired TR cells in navbar template. Or simply create link anywhere you wish to "FORUM/misc.php?do=cybmodstats".

Versions:
v1.0 - Aug 22. 2007.
-Initial release
v1.1 - Aug 24. 2007.
-New: Infraction Stats:
*Infractions given by moderator
*Infraction points given by moderator
*Total infractions given
*Total infraction points given
-ACP option to disable infraction stats
-Options to remove entries logged by X from Moderator Log
v1.2 - Sep 25. 2007.
-Fixed bug where "Display Usergroup" user settings are not followed
-Minor bugs fixed
v1.3 - May 03. 2008.
-Compatible with vBulletin 3.7
-Minor bugs fixed
v1.4 - Jun 24. 2008.
-New: Option to exclude non-Admin/Mod entries from Moderator log
-New: Option to delete all non-Admin/Mod entries from Moderator log
-New: Option to exclude usergroups from stats
-New: View mod log entries generated by user
-Some code optimizations done, and some minor bugs fixed
v1.5 - Aug 02. 2008.
-Fixed bug where mods are not showing in the list, only global mods and admins
-Fixed bug where links to logs are not working if admincp dir name was changed
v1.6 - Oct 26. 2008.
-Fixed bug where not all mods are shown in stats
-Fixed bug where not all selected usergroups are excluded from stats
v1.6.1 - Oct 26. 2008.
-Fixed bug where forum mods are not included in stats

Mark as INSTALLED to get support and updates.

Download Now

File Type: zip Cyb - Moderating Stats v1.6.1.zip (6.5 KB, 1701 views)

Screenshots

File Type: gif menu.gif (15.2 KB, 0 views)
File Type: gif qlmenu.gif (11.1 KB, 0 views)
File Type: jpg table.jpg (24.1 KB, 0 views)
File Type: jpg acp.jpg (60.4 KB, 0 views)

Show Your Support

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

Comments
  #52  
Old 01-14-2010, 01:57 PM
Domenico Domenico is offline
 
Join Date: Oct 2001
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Schnee View Post
Any idea why mine shows NO infractions at all?

Even when I just did some?

Do infractions need to be Warnings to show up?
Same here! I only see them when I set 'Show Mod log entries from last X days only' to NO.

Can you please fix this?
Reply With Quote
  #53  
Old 01-20-2010, 07:13 AM
proxx proxx is offline
 
Join Date: Oct 2003
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does anyone know how to make moderator stats count only stats of mod actions in certain forums and not all forums?
Reply With Quote
  #54  
Old 02-22-2010, 10:43 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Released for vB4 here:
https://vborg.vbsupport.ru/showthread.php?t=236630
Reply With Quote
  #55  
Old 02-23-2010, 02:35 PM
adriatic21 adriatic21 is offline
 
Join Date: Dec 2009
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I try to install, but I have this message

Quote:
XML Error: not well-formed (invalid token) at Line 0
what is problem?
thanks for the help.
Reply With Quote
  #56  
Old 05-18-2010, 01:49 PM
ORP ORP is offline
 
Join Date: Mar 2004
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, cool mod.

I've had good luck with other Cyb mods so I jumped on this one. I did use a different mod stat hack, which is currently quarentined here on vb.org. It had a few cool features that would be a big plus to this hack.
It showed the mods activity for the time period in question ...instead of total posts is showed the number of posts for the period and the number of threads started for the time period only.
If you needed columns freed up to add this new stuff I would suggest you delete total posts, date joined and date of last activity.
Any chance of getting this info added to this hack or is it wishful thinking?
Reply With Quote
  #57  
Old 05-21-2010, 02:45 AM
merk_aus merk_aus is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 582
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this I love all of your mods they are the first ones I come to get when setting up a forum.
Reply With Quote
  #58  
Old 05-24-2010, 08:12 AM
Samish Samish is offline
 
Join Date: Aug 2009
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got a query, I have changed the original url for the /admincp and this is stopping the log for Moderating Actions from going anywhere, I just get a 404 page from where the page used to be. Where is the coding for this and how do I change it? Thanks

Brilliant plugin however.
Reply With Quote
  #59  
Old 10-19-2010, 02:07 AM
bulbasnore bulbasnore is offline
 
Join Date: Dec 2004
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Domenico View Post
Same here! I only see them when I set 'Show Mod log entries from last X days only' to NO.

Can you please fix this?
The workaround for me is to turn off the 'time period'. When that is marked 'no' it works to show infractions and points.

I'm guessing this has to do with the evil php 5.3.1 I am running. I'm guessing it has broken this construct:
PHP Code:
if ($vbulletin->GPC['cybms_del']<1)
            {
                
$cybmodstats_timeperiod "";
                
$cybmodstats_timeperiod_tot "";
                [
B]if ($vbulletin->options['cybmodstats_time_period'])
                {
                    
$fromtime TIMENOW - ($vbulletin->options['cybmodstats_period_days']*24*60*60);
                    
$cybmodstats_timeperiod "AND moderatorlog.dateline > $fromtime";
                    
$cybmodstats_timeperiod_tot "WHERE dateline > $fromtime";
                }[/
B
Valter?

--- later ---

OK, comparing to his 4.0 product I came up with this fix. Sorry to go all Unix 'diff' utility on you folks, but I'm off to shop for my wife's birthday.

Code:
diff -c Cyb_MS.xml Cyb_MSfixed.xml
*** Cyb_MS.xml	2008-10-26 14:55:56.000000000 -0700
--- Cyb_MSfixed.xml	2010-10-18 20:20:44.000000000 -0700
***************
*** 84,94 ****
--- 84,96 ----
  			{
  				$cybmodstats_timeperiod = "";
  				$cybmodstats_timeperiod_tot = "";
+ 				$cybmodstats_timeperiod_inf = "";
  				if ($vbulletin->options['cybmodstats_time_period'])
  				{
  					$fromtime = TIMENOW - ($vbulletin->options['cybmodstats_period_days']*24*60*60);
  					$cybmodstats_timeperiod = "AND moderatorlog.dateline > $fromtime";
  					$cybmodstats_timeperiod_tot = "WHERE dateline > $fromtime";
+ 					$cybmodstats_timeperiod_inf = "AND dateline > $fromtime";
  				}			
  				$cybmodstats_exclgroups = "";
  				if ($vbulletin->options['cybmodstats_exclgroups'])
***************
*** 114,120 ****
  					if ($vbulletin->options['cybmodstats_enable_infractions'])
  					{
  						$cybmodstats_infpoints = 0;
! 						$cybmodstats_get_infr = $vbulletin->db->query_read("SELECT whoadded, points, dateline FROM " . TABLE_PREFIX . "infraction WHERE whoadded='".$cybmodlogstat['userid']."' $cybmodstats_timeperiod ");
  						$cybmodstats_infractions = $db->num_rows($cybmodstats_get_infr);
  						while ($cybmodinfractions = $db->fetch_array($cybmodstats_get_infr))
  						{
--- 116,122 ----
  					if ($vbulletin->options['cybmodstats_enable_infractions'])
  					{
  						$cybmodstats_infpoints = 0;
! 						$cybmodstats_get_infr = $vbulletin->db->query_read("SELECT whoadded, points, dateline FROM " . TABLE_PREFIX . "infraction WHERE whoadded='".$cybmodlogstat['userid']."' $cybmodstats_timeperiod_inf ");
  						$cybmodstats_infractions = $db->num_rows($cybmodstats_get_infr);
  						while ($cybmodinfractions = $db->fetch_array($cybmodstats_get_infr))
  						{
Reply With Quote
  #60  
Old 10-23-2010, 02:19 AM
besedka's Avatar
besedka besedka is offline
 
Join Date: Oct 2008
Location: Ru
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you
Reply With Quote
  #61  
Old 11-01-2010, 08:11 PM
jscieza jscieza is offline
 
Join Date: Apr 2007
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Valter can you please also fix this vB 3.8.x version as you have done with the 4.x one?

Quote:
v2.0.1 - Feb 25. 2010.
-Fixed bug with timecut in Infraction stats
Thank you,
Jonathan
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 11:02 PM.


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.04947 seconds
  • Memory Usage 2,351KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_code
  • (1)bbcode_php
  • (4)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)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