vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - [AJAX] Moderator Statistics (https://vborg.vbsupport.ru/showthread.php?t=139248)

Abe1 02-18-2007 04:38 AM

Quote:

Originally Posted by PoetJA-1975 (Post 1183640)
Thanx for this - had this mod for 3.5.4 - but the AJAX you've implemented makes it that much better!

1. suggestion - for soft deleted threads... possibly have a link to each soft-deleted thread so Admin can easily go to the thread and moderate :)

Other than that - really excellent share!
Thanx,

Jacquii.

This is a stats hack. Not a help moding hack.

Abe1 02-18-2007 04:39 AM

Quote:

Originally Posted by Fearlessninja (Post 1184657)
I suggest you add infractions given or something related to the stats

I'll look into it.

Abe1 02-18-2007 05:13 AM

Thanks to stinger2 who let me test the problem with old mods showing up, I was able to figure out the problem and come up with a fix.

It is more of a vb bug then mine, but I'm the one that will release a fix.

This happened when you had a forum and moderator for it, then you deleted the forum BEFORE you removed the moderator. You think you loose the moderator also? Wrong! For some unknown reason, vB keeps the row in the database but changes the forumid to -1.

He is fix for those who want to fix before my next update.

Go to your Plugin System. Open up the Moderator Stats plugin that is located by misc_start.

Find:
PHP Code:

$show_moderators_usergroups 'OR moderator.userid = user.userid'

and replace with:
PHP Code:

$show_moderators_usergroups 'OR (moderator.userid = user.userid AND moderator.forumid != \'-1\')'

Save the plug-in.

Done.

stinger2 02-18-2007 08:17 AM

excellant support Abe1.........and thanks to you for fixing it.........it is excellant now

kind regards

PoetJA-1975 02-18-2007 08:34 PM

Quote:

Originally Posted by Abe1 (Post 1185087)
This is a stats hack. Not a help moding hack.

Anyway.... I see Moderator Actions by ThreadID
It'd be nice if those IDs where clickable
But yeah.... whatever....
Thanx for the stats hack :)

Jacquii.

Abe1 02-18-2007 08:37 PM

Quote:

Originally Posted by PoetJA-1975 (Post 1185543)
Anyway.... I see Moderator Actions by ThreadID
It'd be nice if those IDs where clickable
But yeah.... whatever....
Thanx for the stats hack :)

Jacquii.

Future version.

PoetJA-1975 02-18-2007 09:11 PM

Quote:

Originally Posted by Abe1 (Post 1185547)
Future version.

kewl ;)

Jacquii.

Alfa1 02-18-2007 11:09 PM

Would it be feasable to add "average response time to reports in his own forum"? If it is, this would be a major advancement IMO.

Abe1 02-19-2007 12:47 AM

Quote:

Originally Posted by Alfa1 (Post 1185620)
Would it be feasable to add "average response time to reports in his own forum"? If it is, this would be a major advancement IMO.

This would mean a moderator has to post in every thread created in forums he moderates.

Alfa1 02-19-2007 01:16 AM

No, this is not about posting.

When a member reports a rule violation by hitting the report post button, this generates a email to the moderator on a certain time. If that mod responds to the report, by any moderator action in the reported thread on a certain time there after, you can measure the response time, the moderator took. Did the moderator respond quickly or did he fix it a week later and leave the problem existing for all this time?

Another related feature would be the amount of reports the moderator responded to.

Za4a Tuner 02-19-2007 02:09 PM

Quote:

Originally Posted by Alfa1 (Post 1185681)
... Did the moderator respond quickly or did he fix it a week later and leave the problem existing for all this time...

Whats about post which don't have to be editid but a user did klick the warnbutton?
what's about forums with more than one moderator?

Alfa1 02-19-2007 11:25 PM

Quote:

Originally Posted by Za4a Tuner (Post 1186035)
Whats about post which don't have to be editid but a user did klick the warnbutton?

They are ignored.
Quote:

what's about forums with more than one moderator?
only the moderator which applies a moderator action to the thread is taken into account.

ForYou 02-23-2007 08:42 AM

it is good if we can see the name of forum and the title of post when we click on the log ,

Regards

Abe1 02-23-2007 11:47 AM

Quote:

Originally Posted by ForYou (Post 1188910)
it is good if we can see the name of forum and the title of post when we click on the log ,

Regards

it would take a lot of resources to get them all at once.

ThorstenA 02-25-2007 07:05 PM

nice product :)

brvheart 02-26-2007 01:57 AM

Quote:

Originally Posted by Abe1 (Post 1185098)
Thanks to stinger2 who let me test the problem with old mods showing up, I was able to figure out the problem and come up with a fix.

It is more of a vb bug then mine, but I'm the one that will release a fix.

This happened when you had a forum and moderator for it, then you deleted the forum BEFORE you removed the moderator. You think you loose the moderator also? Wrong! For some unknown reason, vB keeps the row in the database but changes the forumid to -1.

He is fix for those who want to fix before my next update.

Go to your Plugin System. Open up the Moderator Stats plugin that is located by misc_start.

Find:
PHP Code:

$show_moderators_usergroups 'OR moderator.userid = user.userid'

and replace with:
PHP Code:

$show_moderators_usergroups 'OR (moderator.userid = user.userid AND moderator.forumid != \'-1\')'

Save the plug-in.

Done.


Thank you!!! Worked like a charm :)

Distance 02-26-2007 03:51 PM

Unintalling this, too buggish

Abe1 02-26-2007 07:29 PM

Quote:

Originally Posted by Distance (Post 1191195)
Unintalling this, too buggish

Like what?

YabbaDabba 03-02-2007 08:40 PM

Have 2.0 Beta 1 which has worked well running on vB 3.6.4.

Is this any different?

ahmed_a_najim 03-03-2007 11:15 AM

1 Attachment(s)
Hello..
this is the Arabic Products for Moderator Statistics i have change it from English to Arabic
????? ???? ???? ????????? ????????? ??? ??????? ????? ????? ?? ?????????? ??? ???????
for the arabic plz go to
http://www.elbaghdadi.com/vb

MDK-Indy 03-09-2007 03:17 PM

1 Attachment(s)
Salü,

hab es in einem vBulletin 3.6.5 installiert, scheint problemlos zu funktionieren.

Übersetze es gerade auf deutsch, wenn mir jemand erklärt wie ich die deutschen (du & sie) Phrasen dann exportiere stelle ich sie hier gerne zur verfügung...

Gruß Indy

Edit:

Hier nun die Übersetzung ins Deutsche (Du & Sie)
Hoffe es hat keiner was dagegen wenn ich das hier zur verfügung stelle, wenn doch einfach bescheid sagen.

Roxie 03-12-2007 01:06 AM

Where are the mods pulled from? The usergroups? I have checked and checked but I have ONE user that is NO longer a mod and NO longer an active member and they are appearing in the list. I've checked their usergroup and checked my settings and can't figure out where it's pulling this person from.

RaceJunkie 03-12-2007 01:09 AM

Quote:

Originally Posted by Roxie (Post 1201266)
Where are the mods pulled from? The usergroups? I have checked and checked but I have ONE user that is NO longer a mod and NO longer an active member and they are appearing in the list. I've checked their usergroup and checked my settings and can't figure out where it's pulling this person from.

I have this same issue..

Alfa1 03-12-2007 01:13 AM

This is discussed earlier in the thread.

Abe1 03-12-2007 03:44 AM

I released a quick fix in a post somewhere a page or 2 earlier. Next version will have it fixed.

timwf 03-15-2007 04:52 PM

I have tried an install of this on a test server and haven't been able to get it to work. I am able to access and change the settings in the acp, but when I go to http://YOUR FOURM/misc.php?do=moderator_stats (replacing YOUR FOURM with the url to the forum root of course) the page gets stuck at loading. I have also turned off all other plugins and still have the same result.

Does this plugin not work well with large board as this is a very large board? Any other ideas as to why it isn't working here?

Abe1 03-15-2007 10:53 PM

Quote:

Originally Posted by timwf (Post 1204254)
I have tried an install of this on a test server and haven't been able to get it to work. I am able to access and change the settings in the acp, but when I go to http://YOUR FOURM/misc.php?do=moderator_stats (replacing YOUR FOURM with the url to the forum root of course) the page gets stuck at loading. I have also turned off all other plugins and still have the same result.

Does this plugin not work well with large board as this is a very large board? Any other ideas as to why it isn't working here?

not that i know of. If you know how to use debug mode and the explain feature, try it out.

vbreal 03-21-2007 07:53 PM

thanks ur hotfix worked great!!!

YabbaDabba 03-21-2007 09:05 PM

SUGGESTION:

- display hours:minute:secs per day that each Mod is online.

Abe1 03-22-2007 01:51 AM

Quote:

Originally Posted by YabbaDabba (Post 1209120)
SUGGESTION:

- display hours:minute:secs per day that each Mod is online.

This requires getting extra data that does not exist. This hack only informs of info that you can see other ways if you do the math the hard way.

ZoltanN 03-30-2007 12:50 PM

Thanks Abe,

A very nice and really useful hack, just wonder if would be possible to include banns and the infraction system as well? Or did I miss something?

Also would be nice to have the “Moderator Actions by ForumID” and the”Moderator
Actions by ThreadID”, and so one collapsible.

Please apologize if already suggested.

ericgray 03-30-2007 01:36 PM

this is good stuff --

-- and the hack one page back worked like a charm to boot the old mods showing up --

daddygrim 03-31-2007 02:21 AM

umm where do u go to see it? i installed it.

Terminatoronly 04-02-2007 07:23 AM

i have a problem i can see some of my old moderators they are not moderators any more they are members thats all but right now i can see that they are in the moderator statistic

Abe1 04-02-2007 12:23 PM

Quote:

Originally Posted by Terminatoronly (Post 1218171)
i have a problem i can see some of my old moderators they are not moderators any more they are members thats all but right now i can see that they are in the moderator statistic

Look back a page or so for the solution.

Terminatoronly 04-02-2007 12:42 PM

yes i did but its still same thing

YabbaDabba 04-02-2007 10:49 PM

Quote:

Originally Posted by Abe1 (Post 1209305)
This requires getting extra data that does not exist. This hack only informs of info that you can see other ways if you do the math the hard way.

Then how about a list of days each Mod is online?

Abe1 04-05-2007 04:23 AM

Quote:

Originally Posted by YabbaDabba (Post 1218694)
Then how about a list of days each Mod is online?

In the advanced area already.

Unpossible 04-14-2007 04:40 PM

For all those who forget where to locate the stats page, I just did a quick template change which sorted it out for me.

Navbar:
Find:
PHP Code:

<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if> 

add below

PHP Code:

<if condition="$bbuserinfo[userid]"><tr><td class="vbmenu_option"><a href="$vboptions[bburl]/misc.php?do=moderator_stats$session[sessionurl]">View Moderator Stats</a></td></tr></if> 

That will place a link to the mod stat page in your navbar.

Not figured out how to restrict it to just the groups allowed to view, but if anyone who isn't allowed to view it attempts to view, they'll get the standard vBulletin no permission page.

Abe1 04-15-2007 01:20 AM

Quote:

Originally Posted by Unpossible (Post 1227587)
For all those who forget where to locate the stats page, I just did a quick template change which sorted it out for me.

Navbar:
Find:
PHP Code:

<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if> 

add below

PHP Code:

<if condition="$bbuserinfo[userid]"><tr><td class="vbmenu_option"><a href="$vboptions[bburl]/misc.php?do=moderator_stats$session[sessionurl]">View Moderator Stats</a></td></tr></if> 

That will place a link to the mod stat page in your navbar.

Not figured out how to restrict it to just the groups allowed to view, but if anyone who isn't allowed to view it attempts to view, they'll get the standard vBulletin no permission page.

Change:
$bbuserinfo[userid]
to:
$bbuserinfo[usergroupid] == 6


All times are GMT. The time now is 01:04 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.01465 seconds
  • Memory Usage 1,858KB
  • 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
  • (8)bbcode_php_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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