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)

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 10:49 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.01204 seconds
  • Memory Usage 1,760KB
  • 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
  • (4)bbcode_php_printable
  • (4)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