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)
-   -   vBMicrostats (https://vborg.vbsupport.ru/showthread.php?t=116027)

cheesegrits 08-07-2006 02:50 AM

Quote:

Originally Posted by snake-boy
I'm still trying to figure out how to allow everyone to see all the stats?

Any help please? Anyone?

-snake

I haven't tested this, as I'm running 3.6 and so have MicroStats disabled, but you could try the following:

In the Plugin Manager, find and edit the Microstats "global_complete" hook.

Find the line that says:

PHP Code:

    $show['adminoptions'] = iif($vbulletin->options['vb_mstats_adminactive'] AND $vbulletin->userinfo['usergroupid'] == 6truefalse); 

... and change it to ...

PHP Code:

    // $show['adminoptions'] = iif($vbulletin->options['vb_mstats_adminactive'] AND $vbulletin->userinfo['usergroupid'] == 6, true, false); 
    
$show['adminoptions'] = 1

You may or may not have formatting issues because of the "style_count" stuff, but it's worth a try, if you really really want to do this. Personally I don't recommend it, but it's your board.

To undo this change, simply delete the second line above, and remove the comment (//) from the original line.

-- hugh

DementedMindz 09-06-2006 02:10 PM

would you know how to get the stats to work on this mod here Teck https://vborg.vbsupport.ru/showthread.php?t=125947

MRGTB 09-12-2006 07:37 AM

Any news on this being ported over for vBullten 6.0.0

Wired1 09-12-2006 06:38 PM

3.6.0 you mean, and I second that question :)

Surviver 09-19-2006 01:59 PM

I'm very interested of this Hack for 3.6.0, too ;)

Snake 09-19-2006 02:11 PM

Me either. Please release it as soon as you can. :)

snake-boy 09-19-2006 03:43 PM

Thanks hugh! This DID work perfectly :) It's now displayed to all users, regardless of usergroup.

-snake


Quote:

Originally Posted by cheesegrits
I haven't tested this, as I'm running 3.6 and so have MicroStats disabled, but you could try the following:

In the Plugin Manager, find and edit the Microstats "global_complete" hook.

Find the line that says:

PHP Code:

    $show['adminoptions'] = iif($vbulletin->options['vb_mstats_adminactive'] AND $vbulletin->userinfo['usergroupid'] == 6truefalse); 

... and change it to ...

PHP Code:

    // $show['adminoptions'] = iif($vbulletin->options['vb_mstats_adminactive'] AND $vbulletin->userinfo['usergroupid'] == 6, true, false); 
    
$show['adminoptions'] = 1

You may or may not have formatting issues because of the "style_count" stuff, but it's worth a try, if you really really want to do this. Personally I don't recommend it, but it's your board.

To undo this change, simply delete the second line above, and remove the comment (//) from the original line.

-- hugh


sabret00the 09-20-2006 10:58 PM

Add himself to 3.6 request list.

BMamba 09-21-2006 12:52 PM

I'm waiting for version 3.6.x too :)

Delphiprogrammi 09-26-2006 09:19 PM

/me wants this for vb 3.6.x

jelsoft changed some stuff in class_core.php "query_wrapper" function is gone


All times are GMT. The time now is 02:39 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.01511 seconds
  • Memory Usage 1,748KB
  • 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
  • (2)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