View Full Version : Statistics Modifications - Cyb - Moderating Stats
Valter
01-09-2009, 10:00 PM
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.
-=Leb=-
01-10-2009, 02:26 PM
On this version, i can see mods, supermods and admin's stats. Thx for the update :)
WreckRman2
01-11-2009, 08:53 PM
Why does it count an "Attachment Uploaded" as a mod action?
Valter
01-12-2009, 03:00 AM
You should ask vBulletin developers as this only reads what forum writes into logs. :-)
WreckRman2
01-12-2009, 04:36 AM
OK, but then is this hack really worthly of using being it includes data not related to the mods actions? The stats are not accurate the way it is...
Yeah, that attachment thing really is a pain, they have nothing to do with moderating (not sure why it's even logged by vB in the first place), so I just made this simple edit:
Find:
WHERE moderatorlog.userid>0 $cybmodstats_staffonly $cybmodstats_exclgroups $cybmodstats_timeperiod
and change to:
WHERE moderatorlog.userid>0 AND moderatorlog.type != 12 $cybmodstats_staffonly $cybmodstats_exclgroups $cybmodstats_timeperiod
Thanks for the mod, will be interesting in future (when I haven't just recently pruned all the logs). :)
Rated 5 stars as it definitely didn't deserve that 2* rating it had before.
proxx
01-15-2009, 08:39 PM
There is a crucial feature that needs to be included in this hack.
We should be able to select which forums should be counted in stats.
Let's say you have a forum, where some forums are support/premium and the others are general/spam talk. It is more valuable if your moderators are posting/moderating in 'support' forums as opposed to 'general' forum.
Can you please make this? so we can only view moderator stats within important forums.
benny92000
03-07-2009, 04:47 AM
Im gunna install, i think all the complaints above are minor.
Edit: Installed, seems to be working well.
cynthetiq
03-08-2009, 05:30 PM
I'm using this at the moment. I'd like to suggest that you add thread started and posts total and an amount like the variable days for moderation to this as well.
It is part of something that admins and board owners like to know about their staff, just how much are they participating within the community.
The forums selection is a good idea too because we don't know if they are just contributing to the staff forums only.
thanks for a good mod.
y2krazy
03-09-2009, 07:42 PM
I am having some format issues with this mod. I will post a screenshot as soon as possible. I'm at work right now, so sometime after I get home tonight.
Thanks.
~ Sean
trucker01
03-11-2009, 01:22 PM
thnx m8 nice job :D
installed.
RK1gaming
03-11-2009, 01:30 PM
Always have great add-in's - nice and easy to install - Great Mod
Jasem
03-25-2009, 01:12 PM
thanks for a good mod.
Installed.
GCSkye
03-28-2009, 06:38 AM
Thanks for this, what is the odds of you showing time online for selected usergroups only? Something like this:
https://vborg.vbsupport.ru/showthread.php?t=134091
I was thinking the time online could show up in the moderating stats page next to the right of the last activity column. Could show up as:
00:00:00(Days:Hours:Minutes)
or
00:00(Hours:Minutes)
Just a thought, thanks for the share.
Caerydd
03-30-2009, 08:24 AM
I would really like to see a feature revolving around number of posts made in their forum in the last 30 days, or a time online function. Our forum doesn't have a high volume of infractions or points, a moderator in our forum is more a leader of discussion.
cynthetiq
03-30-2009, 01:42 PM
I acutally use the cyb advanced statistics to do this. I block out all usergroups but the staff groups, and let the mod do it's calculations.
Jamey
04-10-2009, 09:56 PM
Does this work with 3.8.2?
Hornstar
04-10-2009, 10:40 PM
yeah it works with 3.8.2
I would love to see some new features in this mod, for example, how many threads they closed, how many threads they deleted, how many threads they moved, etc.
Jamey
04-10-2009, 11:40 PM
Thanks.
cleverone
04-13-2009, 12:45 AM
Thanks.... Handy Mod
KevinGupta
04-13-2009, 02:57 AM
I have just installed it now... and just read few comments about it as well.. I now just hope that I don't face any problems using this mod :)
I also see that the original poster of this thread hasn't replied with any useful info to the comments :( but hopefully he will update it with more new features ASAP :D
Thanks for this mod though! <-- Good Idea to keep track of staff!
dutchbb
04-18-2009, 10:45 PM
Great work Cyb , always high quality mods and really usefull.
nomoreturn
04-18-2009, 11:25 PM
nice mod installed thanks
dutchbb
04-20-2009, 02:37 PM
@Cyb: would it be possible to add the number of bans also? Our mods are asking for this :D
Bergler
04-21-2009, 07:23 PM
I have an ussue with this install, after instal I get this error
Not Found
The requested URL /misc.php was not found on this server.
thanks!
Bergler
04-22-2009, 05:34 AM
I have an ussue with this install, after instal I get this error
thanks!
Was this a stupid question??
Valter
04-22-2009, 08:54 AM
What you tried to do when you get that error?
Bergler
04-22-2009, 02:12 PM
click on the Moderating Stats link in the in the quick links drop down?
dutchbb
04-22-2009, 02:22 PM
@Cyb: would it be possible to add the number of bans also? Our mods are asking for this :D
Did you see this cyb? Thanks for considering.
Valter
04-22-2009, 02:33 PM
That happens when you are clicking from Portal, not Forum, right?
Change this line:
$cybmodstats_qllink = '<a href=\"misc.php?$session[sessionurl]do=cybmodstats\">$vbphrase[cyb_moderating_statistics]</a>';
to this:
$cybmodstats_qllink = '<a href=\"'.$vbulletin->options['bburl'].'/misc.php?$session[sessionurl]do=cybmodstats\">$vbphrase[cyb_moderating_statistics]</a>';
in "Cyb - Moderating Stats - QL" plugin.
dutchbb, I'll see what I can do when i find some time to update this...
Bergler
04-22-2009, 03:34 PM
That happens when you are clicking from Portal, not Forum, right?
You were bang on! :D Thank you!! That fixed it! Great mod, thank you so much!!:up:
Bergler
04-23-2009, 09:51 PM
My bad, wrong mod!
Sofia
04-24-2009, 01:35 PM
Thanks for this hack, Cybernetec.
Just a thing:
When i click on "Remove all non-Admin/Mod entries",nothing happens. Any idea?
And I don't understand this option : "Show only Moderator log entries generated by Admins/Mods"
dannykilla
05-01-2009, 02:12 AM
How come this is happening ?
Sweeks
05-01-2009, 11:49 PM
Installed
________
Vaporizer i (http://www.vaporshop.com)
proxx
05-13-2009, 05:37 AM
I have sections in my forum where moderators provide support. Then other sections that are just spamming and useless conversations.
I want to only see the stats of mod actions that are in some of the forums and not all.
How can this be done?
Valter
05-13-2009, 04:29 PM
No possible with the current version but option to exclude forums may be added in future releases...
tanand79
05-25-2009, 04:29 PM
the moderating actions keeps decreasing..... despite the moderator is performing moderations..
what does this infer ?
ITDarasgah
06-22-2009, 07:07 PM
Installed...thanks
DeanoUK
07-11-2009, 04:55 PM
Annnnother quality CYB hack, thanks!
Keesa
09-05-2009, 06:22 AM
Any idea why mine shows NO infractions at all?
Even when I just did some?
Do infractions need to be Warnings to show up?
atcspaul
09-05-2009, 10:53 AM
great mod, thank you!
princeedward
09-20-2009, 07:43 PM
thanks...;)
Sador
09-20-2009, 09:39 PM
Thanks for the useful mod, installed. :)
grtony
10-29-2009, 01:34 PM
thank you ..
gerbil249
11-03-2009, 01:57 AM
Thanks!
SVTCobraLTD
11-06-2009, 05:26 PM
Getting this at the top of the page.
Warning: include_once(./demographics.php) [function.include-once]: failed to open stream: No such file or directory in [path]/misc.php(100) : eval()'d code on line 295
Warning: include_once() [function.include]: Failed opening './demographics.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [path]/misc.php(100) : eval()'d code on line 295
mp3president
11-14-2009, 08:37 PM
Tnx m8
heugabel
12-08-2009, 08:15 PM
Hi i installed this mod but only my administors can see it. Im a webmaster and cant see it. It shows we it but cant click on each moderator, super moderator.
Can someone tell me why??
Thank you
Domenico
01-14-2010, 01:57 PM
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?
proxx
01-20-2010, 07:13 AM
does anyone know how to make moderator stats count only stats of mod actions in certain forums and not all forums?
Valter
02-22-2010, 10:43 PM
Released for vB4 here:
https://vborg.vbsupport.ru/showthread.php?t=236630
adriatic21
02-23-2010, 02:35 PM
I try to install, but I have this message
XML Error: not well-formed (invalid token) at Line 0
what is problem?
thanks for the help.
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?
merk_aus
05-21-2010, 02:45 AM
Thanks for this I love all of your mods they are the first ones I come to get when setting up a forum.
Samish
05-24-2010, 08:12 AM
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.
bulbasnore
10-19-2010, 02:07 AM
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:
if ($vbulletin->GPC['cybms_del']<1)
{
$cybmodstats_timeperiod = "";
$cybmodstats_timeperiod_tot = "";
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";
}
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.
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))
{
besedka
10-23-2010, 02:19 AM
thank you
jscieza
11-01-2010, 08:11 PM
Valter can you please also fix this vB 3.8.x version as you have done with the 4.x one?
v2.0.1 - Feb 25. 2010.
-Fixed bug with timecut in Infraction stats
Thank you,
Jonathan
Alfa1
06-05-2011, 01:27 PM
It would be nice to see an updated version for vb3.8.
For some reason I can't get rid of ex-moderators from years ago being listed in the mod stats.
Valter
06-06-2011, 11:50 AM
There is an option to enable Admins to delete logs for individual Moderator.
Enable it in product options, then refresh Stats page and delete logs you want.
Alfa1
06-06-2011, 04:30 PM
How do I show inactive moderators?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.