vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Moderator Statistics (https://vborg.vbsupport.ru/showthread.php?t=106329)

rmxs 06-05-2006 08:47 AM

How can i add button somewere that be visible from group have permission to view the stats?

Eagle Creek 06-05-2006 10:10 AM

Quote:

Originally Posted by rmxs
How can i add button somewere that be visible from group have permission to view the stats?

PHP Code:

<if condition="$show['admincplink']"><a href="misc.php?do=moderator_stats"><input type="button" value="Mod. Stat." name="B1"></a> -</if> 

For persons who have access to adminCP.

And for custom usergroups:
PHP Code:

<if condition="is_member_of($bbuserinfo, X,X,X,X)"><a href="misc.php?do=moderator_stats"><input type="button" value="Mod. Stat." name="B1"></a> -</if> 

Where you should replace X by the usergroups.

ultrAtolga 06-05-2006 01:37 PM

great thank you it works.

rmxs 06-05-2006 05:55 PM

I make small change and i put it to nav bar..

:)
Code:

</if>
<td class="vbmenu_control"><if condition="is_member_of($bbuserinfo, 5,6,7)"><a href="misc.php?do=moderator_stats">Mod Stats</a></if></td>
        </tr>


Nathan2006 06-06-2006 12:24 AM

Thank you Abe

I like being nosey lol

Install;)

redlabour 06-08-2006 04:09 PM

Will it work in the Future with vBulletin 3.6 ?

Abe1 06-08-2006 05:12 PM

Quote:

Originally Posted by redlabour
Will it work in the Future with vBulletin 3.6 ?

Not 100% sure. The structure may have changed. I have a new version planed with more features.

Abe1 06-16-2006 03:55 PM

I am releasing a beta version of this hack. I made the advanced stats AJAX and added a ton of new stats regarding the moderator actions. I only did the moderator actions right now, I will work on adding the admin actions soon.

The beta will work on BOTH vb3.5 AND vb3.6.

To install, you have to upload moderator_stats.php to your main forum dir. Then import the product. It will overwrite your current version. You will also need to go to moderator_stats.php to view the stats.

I’m posting this here now so I can get feedback now already with ideas!

ENJOY!

John Smiley 06-16-2006 04:26 PM

Works Great!!

bashy 06-16-2006 06:33 PM

Cheers Abe1
Looks to be working ok...Anyway of getting the threads to be clickable and goto to said action, i.e. if the thread was soft deleted, will goto the thread?
All my mods can only soft delete ;)


Quote:

Originally Posted by Abe1
I am releasing a beta version of this hack. I made the advanced stats AJAX and added a ton of new stats regarding the moderator actions. I only did the moderator actions right now, I will work on adding the admin actions soon.

The beta will work on BOTH vb3.5 AND vb3.6.

To install, you have to upload moderator_stats.php to your main forum dir. Then import the product. It will overwrite your current version. You will also need to go to moderator_stats.php to view the stats.

I?m posting this here now so I can get feedback now already with ideas!

ENJOY!



All times are GMT. The time now is 01:47 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.01223 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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