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)

athlon64bit 07-28-2008 01:04 AM

Quote:

Originally Posted by Rogier21 (Post 1569369)
This mod uses the wrong path to the forum!

I have http://www.site.com/forum (also in the admin!)
But the plugin goes to http://www.site.com/admincp/modlog.php etc.

please fix.

I have the same problem. I actually use customised named folders for my admin and mod folders. There is a vbulletin "command" text link (can't think how to describe it) which this author can use I think which would work for all forums regardless of their location like other add-ons make use of.

hotwheels 08-02-2008 07:33 AM

very nice........

Valter 08-02-2008 02:30 PM

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

To upgrade:
-Import XML, allow overwrite
-Revert hack templates if any modified

Super Jinni 08-02-2008 03:09 PM

thanks for update
:)

KURTZ 08-02-2008 04:30 PM

Quote:

Originally Posted by Cybernetec (Post 1589877)
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

To upgrade:
-Import XML, allow overwrite
-Revert hack templates if any modified

Cyb, there is an issue into the latest update ... :(

now it shows only the Super Admin (User ID 1) and the Normal Mods (Group ID 7) ... :( the others Admins and the Global Mods (Group ID 5) aren't showed ... :(

i tested it onto my two boards with the same issue ... :( can you fix that?

Subah 08-02-2008 09:51 PM

Thanks for the update :) , now it is work for me ;)

KURTZ 08-03-2008 10:29 AM

Quote:

Originally Posted by Subah (Post 1590161)
Thanks for the update :) , now it is work for me ;)

have you checked the other admins and the global moderators? ;)

PGAmerica 08-10-2008 03:59 PM

Can somebody please tell me how to manually add this to my navbar template? I just need to know the exact code to add.

MonkYZ 08-10-2008 06:36 PM

Can this be done so that vBadvanced links to work without adding custom links into styles templates ? I mean, the link is working inside the forum, but not in vBadvanced homepage. Thx in advance.

KURTZ 08-11-2008 01:13 PM

any news about the new issues that i've found?

PGAmerica 08-12-2008 10:59 PM

Quote:

Originally Posted by PGAmerica (Post 1595559)
Can somebody please tell me how to manually add this to my navbar template? I just need to know the exact code to add.

Is there any help to my problem?

Xenofox 08-12-2008 11:13 PM

Am i the only one who sees no infractions when limiting the time of the reports, instead of all time.?

PGAmerica 08-15-2008 02:30 PM

Is there any support for this mod at all?

KURTZ 08-15-2008 02:34 PM

Quote:

Originally Posted by PGAmerica (Post 1599279)
Is there any support for this mod at all?

i think not mate ... this hack is still glitched ...

smirkley 08-25-2008 01:47 PM

Cyb, like this mod alot.

Hoping at your convenience, that it could be fixed where admins, smods, and mods, are all included by the selector to show stats.

I have played with the settings, but am unable to get the mods, currently appointed, and their stats, to show up yet.

Thanks in advance.

Blind Guardian 08-26-2008 11:05 PM

Quote:

Originally Posted by Xenofox (Post 1597356)
Am i the only one who sees no infractions when limiting the time of the reports, instead of all time.?

No, you're not. I have the same issue, and had come here to try and find a solution myself.

Glancing at the code, I'd think it's a problem with the query not specifying the dateline properly, but I haven't tried tweaking the query to see if I can fix it yet.

Code:

$cybmodstats_get_infr = $vbulletin->db->query_read("SELECT whoadded, points, dateline FROM " . TABLE_PREFIX . "infraction WHERE whoadded='".$cybmodlogstat['userid']."' $cybmodstats_timeperiod ");
It might be that $cybmodstats_timeperiod is pulling from the mod log, and not the infaction log?

Blind Guardian 09-04-2008 01:25 AM

So no one has any input on why limiting the number of days shown breaks the infraction totals?

EDIT: Nevermind, I fixed the bad query myself.

mrcrx 09-07-2008 07:25 PM

Quote:

Originally Posted by Blind Guardian (Post 1614051)
So no one has any input on why limiting the number of days shown breaks the infraction totals?

EDIT: Nevermind, I fixed the bad query myself.


Can you share how you fixed it? I really dont know where to start.

Blind Guardian 09-12-2008 08:21 PM

Under "Cyb - Moderating Stats - MN" in the Plugin Manager, I changed this:

Code:

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

Code:

$cybmodstats_get_infr = $vbulletin->db->query_read("SELECT whoadded, points, dateline FROM " . TABLE_PREFIX . "infraction WHERE whoadded='".$cybmodlogstat['userid']."' AND dateline > $fromtime");
The problem was that the "$cybmodstats_timeperiod" being called in the query for the infractions was appending a "moderatorlog." prefix onto the "dateline" row, meaning it wasn't there in the infactions table. Removing it just pulls the regular dateline from that table and it works.

This will probably break the option to disable the time limitation on the logs, but I don't need that so it was the quickest fix for me.

What I'm currently trying to work out is why all of a sudden the "moderator posts in their own forums" fields are gone. Those were useful.

Valter 09-12-2008 09:13 PM

Quote:

Originally Posted by Blind Guardian (Post 1620746)
Code:

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

This is not part of my hack.

Here is original query:
Code:

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

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

-=Leb=- 10-03-2008 12:06 PM

I love all your his plugins lol

AtillaKral 10-14-2008 11:09 AM

thanks, installed :)

Audentio 10-14-2008 01:42 PM

In the ACP, you can't exclude more than one usergroup. You can only exclude one (i.e ex staff that are now members. Usergroupid=2). Can you release a fix for this soon please?

Great mod otherwise!

webuser99 10-26-2008 05:13 AM

I have custom usergroups made that have admin capabilities, that arent "Moderator" etc etc.

I don't see these included.. is this not possible to log this usergroup?

Valter 10-26-2008 07:43 AM

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

To upgrade:
-Import XML, allow overwrite

Subah 10-26-2008 09:43 AM

thanks for the update

KURTZ 10-26-2008 11:26 AM

Quote:

Originally Posted by Cybernetec (Post 1652947)
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

To upgrade:
-Import XML, allow overwrite

hi Cyb, unfortunately the UG with ID 7 (Moderators) aren't showed ... :( now it runs only with Admins & Super Moderators ...

Dr.LoVe 10-26-2008 06:31 PM

i want you add option for remove the Archive of log the Moderating Stats
because to not work space blank or load of server

Thank you,

Valter 10-26-2008 09:01 PM

v1.6.1 - Oct 26. 2008.
-Fixed bug where forum mods are not included in stats

Re-import product XML, allow overwrite.

Kihon Kata 10-26-2008 10:21 PM

updated mine to 1.6.1


All times are GMT. The time now is 01:36 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.01285 seconds
  • Memory Usage 1,828KB
  • 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
  • (10)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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