vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Board Optimization - vBMicroStats (https://vborg.vbsupport.ru/showthread.php?t=140449)

TECK 03-01-2007 11:55 PM

Still waiting on the options you want implemented...

thincom2000 03-02-2007 04:10 AM

If Jelsoft were to combine the functions contained in the files class_database_slave.php and class_database_explain.php, and put the $vbulletin->debug checks inside each function, although it would increase load times a millisecond or so, we could then set $vbulletin->debug in the AdminCP without damaging the EXPLAIN feature.

Unless TECK gets to it first, maybe I'll release it as a hack.

Xplorer4x4 03-02-2007 05:42 AM

Quote:

Originally Posted by thincom2000 (Post 1193888)
If Jelsoft were to combine the functions contained in the files class_database_slave.php and class_database_explain.php, and put the $vbulletin->debug checks inside each function, although it would increase load times a millisecond or so, we could then set $vbulletin->debug in the AdminCP without damaging the EXPLAIN feature.

Unless TECK gets to it first, maybe I'll release it as a hack.

So would it be able to combine the variables needed from the 2 files into a new php script to enable debug mode rather then a file edit?

@TECK I say keep it, and make not that it is a cut down version of debug mode.

thincom2000 03-02-2007 01:07 PM

It is possible to do this without a file edit, yes. That would require replacing both files I mentioned with "combination" files of the same names (class_database_slave.php and class_database_explain.php). Otherwise, if you do not want to overwrite both files, it is possible to upload a new file, and make a file edit to include the new file instead.

TECK 03-02-2007 02:35 PM

Quote:

Originally Posted by thincom2000 (Post 1193888)
If Jelsoft were to combine the functions contained in the files class_database_slave.php and class_database_explain.php, and put the $vbulletin->debug checks inside each function, although it would increase load times a millisecond or so, we could then set $vbulletin->debug in the AdminCP without damaging the EXPLAIN feature.

Unless TECK gets to it first, maybe I'll release it as a hack.

Not sure it is a good idea, although your logic is very good.
If would be only a milisecond, Jelsoft would have it enabled in Admin CP long time ago... I'm always worried about performance on large boards.
Anyways, I have to look into it, since vBulletin 3.6.5 was released and this hack needs to be modified, in order to be installed properly.
I sure like to have DEBUG at my finger tips, without uploading config.php back and forward.

Phooey 03-02-2007 03:55 PM

Nice to see this ported to 3.6.X! I'll be installing it when I get home from work. :up:

TECK 03-03-2007 09:08 PM

Version 1.1.0 released.
New administrative feature: Active users browsing the forum (members and guests)
Also, now vBMicrostats uses vBulletin language phrases, so you can edit them the way you like.
This is useful if you run your forum in several languages.

Current vBMicrostats phrases:
debug_mode_on
gzip_off
gzip_on_level_x
page_generated_in_x_seconds_y_php_z_mysql_n_querie s
server_load_x_y_z
uncached_templates_x
x_kb_used
x_users_y_members_z_guests


How to upgrade to Version 1.1.0:
1. Uninstall your current vBMicroStats product. Leave the PHP files the way they are edited now, they are not needed to be re-modified in order to work with the new version.
2. Install the new product, included in the vbmicrostats_110.zip file.

ManagerJosh 03-04-2007 10:03 AM

Very nice Release Teck. Minor problem though when it's a non-admin viewing. It's not stretched out. It's compressed and aligned left.

Tested it against a stock style, so it's definitely a bug.

cashpath 03-04-2007 03:34 PM

How would I change how this is displayed? I can't find a template so I'm assuming in a file?

Skavenger 03-04-2007 04:57 PM

Quote:

Originally Posted by cashpath (Post 1195526)
How would I change how this is displayed? I can't find a template so I'm assuming in a file?

AdminCP > Plugins & Products > Plugin Manager > Product : vBMicroStats > Global: Complete [Edit]

Look at the end of the template: // regular users template


All times are GMT. The time now is 03:58 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.01358 seconds
  • Memory Usage 1,741KB
  • 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
  • (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