vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Statistics Modifications - Cyb - Moderating Stats (https://vborg.vbsupport.ru/showthread.php?t=177951)

Blind Guardian 09-12-2008 09:46 PM

Indeed, my mistake. I didn't bother documenting exactly what I'd changed as I didn't perceive needing to explain it to anyone else, and didn't check what the original timeperiod variable included.

My explanation should have been replacing "$cybmodstats_timeperiod" alone with "AND dateline > $fromtime".

Rideharder 09-12-2008 09:49 PM

How can we fix it 'Under "Cyb - Moderating Stats - MN" in the Plugin Manager, I changed this'

Sorry to be a newbie..

Can you name how you fixed it step by step

Thasnk,
www.Speedaholic.net

Blind Guardian 09-12-2008 09:58 PM

In the Admin CP, under the Plugin Manager in Plugins & Products, edit the "Cyb - Moderating Stats - MN" plugin and find the line of code as follows:

Code:

$cybmodstats_get_infr = $vbulletin->db->query_read("SELECT whoadded, points, dateline FROM " . TABLE_PREFIX . "infraction WHERE whoadded='".$cybmodlogstat['userid']."' $cybmodstats_timeperiod ");
Simply replace that entire line with this:

Code:

$cybmodstats_get_infr = $vbulletin->db->query_read("SELECT whoadded, points, dateline FROM " . TABLE_PREFIX . "infraction WHERE whoadded='".$cybmodlogstat['userid']."' AND dateline > $fromtime");

Rideharder 09-12-2008 10:13 PM

Quote:

Originally Posted by Blind Guardian (Post 1620788)
In the Admin CP, under the Plugin Manager in Plugins & Products, edit the "Cyb - Moderating Stats - MN" plugin and find the line of code as follows:

Code:

$cybmodstats_get_infr = $vbulletin->db->query_read("SELECT whoadded, points, dateline FROM " . TABLE_PREFIX . "infraction WHERE whoadded='".$cybmodlogstat['userid']."' $cybmodstats_timeperiod ");
Simply replace that entire line with this:

Code:

$cybmodstats_get_infr = $vbulletin->db->query_read("SELECT whoadded, points, dateline FROM " . TABLE_PREFIX . "infraction WHERE whoadded='".$cybmodlogstat['userid']."' AND dateline > $fromtime");


Thank you and all that worked on this Mod!

mrcrx 09-17-2008 07:38 PM

Thank you for the step by step. Works great!

realmr 09-22-2008 09:10 AM

For me it shows stats of only 1 admin . How can I make it to display for mods, admins and super mods as well.
I can give permission for other usergroups to view the content but I can't see any other option to add permission for remaining admins, super mods and mods to show up in stats
I have added this code:
Code:

$cybmodstats_get_infr = $vbulletin->db->query_read("SELECT whoadded, points, dateline FROM " . TABLE_PREFIX . "infraction WHERE whoadded='".$cybmodlogstat['userid']."' AND dateline > $fromtime");
as mentioned above so does this make this plugin to work so strange ?

proxx 10-02-2008 01:53 AM

I installed this. But I don't see what advantage it has over the old 'moderator stats' ?

As a matter of fact, I'm surprised that neither the old script nor this one has the option of excluding forums from being counted towards in moderator actions and posts.

If somebody could modify https://vborg.vbsupport.ru/showthread.php?t=139248 to allow me to 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 forum, but I would rather get stats of moderators in support forums.

Please PM me if you can do what I need.

Nadeemjp 10-02-2008 02:33 AM

awsome hack cyb:) installed:)

Nadeemjp 10-02-2008 03:05 AM

the moderation stat in the quick links menu doesnt display. instead it says "page not found"
what to do?

KURTZ 10-03-2008 09:11 AM

what about the usergroups trouble? i still haven't the global moderators onto this stats ... :S


All times are GMT. The time now is 10:52 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.01185 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete