vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Microstats (only for admin) - load times, server loads, queries, uncached templates! (https://vborg.vbsupport.ru/showthread.php?t=59700)

NTLDR 01-21-2004 05:53 PM

I use Textpad :)

muse.mu 01-21-2004 05:59 PM

Quote:

Originally Posted by NTLDR
I use Textpad :)

ill give that a try thank you :)

does it have syntax highlighting? if not is there anyting as good with tha feature? i did use HTML kit, but lost it after my XP Pro died ?_?

NTLDR 01-21-2004 06:01 PM

It has syntax highlighting for all the major languages, including PHP, HTML, C, C++, Java and has a bunch off other addons on its site.

muse.mu 01-21-2004 06:03 PM

Jeez. thanks for your help, you are bloody fast at replying :p

Gary King 01-21-2004 07:00 PM

Quote:

Originally Posted by NTLDR
Don't edit functions.php with Dreamweaver.

Yeah, for some reason Dreamweaver automatically modifies certain things.

Oblivion Knight 01-22-2004 01:35 PM

Excellent stuff, working like a gem.

mharmon 01-23-2004 12:51 AM

Nice Hack! Thanks Erwin.

sonic3d 01-23-2004 12:56 AM

nice job

Symbian.info 01-23-2004 07:14 PM

Installed and works, but I don't get the Server Loads!!??

How can I change that?

xxskullxx 01-23-2004 09:00 PM

It only shows server loads on linux afaik. If you have a windows server it wont show loads, only queries.

Symbian.info 01-24-2004 10:36 AM

Quote:

Originally Posted by xxskullxx
It only shows server loads on linux afaik. If you have a windows server it wont show loads, only queries.

PHP info: System Linux server 2.4.19 #1
Not a windows system... On Vb 2.X I had a crack that did show the server loads. strange, but ok...

lowlight 01-25-2004 04:37 AM

Would be great if it had gzip stats too :)

Apostle 01-25-2004 09:56 AM

This is a very useful hack! I just installed it -- Thanks!

Mike Gaidin 01-25-2004 08:24 PM

Great feature.

/me clicks install.

Mike Gaidin 01-25-2004 09:38 PM

If I need to add a template to the cached templates list how do I know which section to add it under. There is a section for:

specialtemplates
globaltemplaes
actiontempates

I have the vertical sidebar on the right side of my page. Which would it fall under? It only appears on the main page. Thanks. :)

97cobracpe 01-28-2004 11:15 PM

Installed. :)

Gary King 01-29-2004 05:06 PM

You guys might want to change
PHP Code:

$debughtml "<center><span class=\"smallfont\">Page generated in <b>$totaltime</b> seconds with <b>$query_count</b> queries" iif($_TEMPLATEQUERIES" (<b>" sizeof($_TEMPLATEQUERIES) . "</b> queries for uncached templates)"'') . "$serverload</span>"

to
PHP Code:

$debughtml "<center><span class=\"smallfont\">Page generated in <b>$totaltime</b> seconds with <b>$query_count</b> queries" iif($_TEMPLATEQUERIES" (<b>" sizeof($_TEMPLATEQUERIES) . "</b> queries for uncached templates)"'') . "$serverload</span></center>"

So that you properly close the <center> tag ;)

Erwin 02-01-2004 08:36 AM

Thanks Gary! Missed that. Fixed first post.

LeonHartHVA 02-02-2004 11:01 PM

I can see "Page generated in 0.40848 seconds with 9 queries" but why i can see "server load.."?

Gary King 02-03-2004 06:51 PM

Quote:

Originally Posted by LeonHartHVA
I can see "Page generated in 0.40848 seconds with 9 queries" but why i can see "server load.."?

It's a part of the Microstats hack.

DeeperImage 02-09-2004 02:22 AM

I tried installing it on VB3 RC4 and I get this
PHP Code:

Parse errorparse error in /home/********/local/home/********/*********/forums/includes/functions.php on line 1838 

What am I doing wrong? I am following the instructions to the teeth.

Zelda-King 02-09-2004 05:49 AM

I have this working fine on RC4. If I give you the benefit of the doubt and say you have indeed followed the instructions correctly, I'd say maybe it's the PHP editor you're using or there's a hack conflict. Something like that.

Gary King 02-09-2004 11:17 AM

Quote:

Originally Posted by DeeperImage
I tried installing it on VB3 RC4 and I get this
PHP Code:

Parse errorparse error in /home/********/local/home/********/*********/forums/includes/functions.php on line 1838 

What am I doing wrong? I am following the instructions to the teeth.

Don't use Dreamweaver to modify functions.php

DeeperImage 02-09-2004 11:39 AM

Quote:

Originally Posted by Gary W
Don't use Dreamweaver to modify functions.php

I am using Wordpad actually. My board is completely unhacked. As original as apple pie. thanks :disappointed:

Boofo 02-09-2004 11:55 AM

What is the piece of code on that line that is giving the error?

Zelda-King 02-09-2004 02:20 PM

WordPad can be problematic too, though admittedly I've not noticed any problems on it for vB3 yet. I use Winsyntax. It's free and it does the job.

Gary King 02-09-2004 06:33 PM

Quote:

Originally Posted by Zelda-King
WordPad can be problematic too, though admittedly I've not noticed any problems on it for vB3 yet. I use Winsyntax. It's free and it does the job.

I haven't seen any problems with Wordpad yet, and I think Wordpad is good for a simple editor. It's better than Notepad because it doesn't add extra line breaks, Notepad adds CR / LF but Wordpad is only CR I believe :)

DeeperImage 02-10-2004 12:17 AM

This is very weird for me, I have no hacks installed whatsoever, I always use wordpad to edit my .php files, and although I am not an expert at hacking php. I have successfully installed many hacks and major additions in the past. So this is mind blowing. But thanks for all the suggestions, really wish I could get this sucka to work, It is one of my fav.

Gary King 02-10-2004 12:19 AM

Quote:

Originally Posted by DeeperImage
This is very weird for me, I have no hacks installed whatsoever, I always use wordpad to edit my .php files, and although I am not an expert at hacking php. I have successfully installed many hacks and major additions in the past. So this is mind blowing. But thanks for all the suggestions, really wish I could get this sucka to work, It is one of my fav.

What is there on the line then? You probably did something wrong ;)

Zelda-King 02-10-2004 06:13 AM

Quote:

Originally Posted by Gary W
I haven't seen any problems with Wordpad yet, and I think Wordpad is good for a simple editor. It's better than Notepad because it doesn't add extra line breaks, Notepad adds CR / LF but Wordpad is only CR I believe :)

I used to have some trouble with it on vB2 because of how it formatted text. I'm starting to think it was some sort of different version to what I have now (that gives me no trouble) seeing as I'd installed a new OS since vB2 (hence a different WordPad installation). I know this though, the hack works fine for me on RC4 following Erwin's instructions.

DeeperImage 02-11-2004 12:19 AM

Well, I finally got it to work. I think the problem was wordpad, I used notepad, and it worked perfectly. Thank you so much for this. Thanks to everyone for trying to help. It is extremely easy to install. took me less than 1 minute really. Anyhow it is all working now
this is with 120 people online right now
Page generated in 0.26124 seconds with 8 queries [Server Loads: 0.41 ยป 0.67 : 0.62]

I love it.

Andreas 02-11-2004 01:15 AM

[OT]
IMHO a quite usable editor is Programmers Notepad
It's Open Source, has syntax highlighting for several languages, can handle regular expressions, etc.
[/OT]

Reeve of shinra 02-17-2004 02:46 AM

just installed on rc4 (had to use notepad) but works like a charm! great to see the impact as we *cough* tweak the system. ;)

gmarik 02-17-2004 02:04 PM

This could be of some use. How about more MySQL DB info, I'mean some diagnostics ...

Gary King 02-17-2004 07:05 PM

Quote:

Originally Posted by gmarik
This could be of some use. How about more MySQL DB info, I'mean some diagnostics ...

Like what?

PET 02-17-2004 10:07 PM

I have :

Page generated in 0.28096 seconds with 9 queries
For FORUM INDEX

and

Page generated in 0.47800 seconds with 18 queries
For vBadvanced INDEX

Gary King 02-17-2004 10:10 PM

Quote:

Originally Posted by PET
I have :

Page generated in 0.28096 seconds with 9 queries
For FORUM INDEX

and

Page generated in 0.47800 seconds with 18 queries
For vBadvanced INDEX

Yep it can do that to ya :p Try posting in its own support thread, and turn off some features ;)

PET 02-17-2004 10:36 PM

neah...i don't really care about the queries :)

The place i am hosted has about 300 queries per seccond...so my queries will never be notice :)

M@rkus 02-19-2004 08:19 AM

Does it work on RC2 or RC3?? I`ve installed it, but i dont see anything of that hack !

Gary King 02-19-2004 11:12 AM

Quote:

Originally Posted by M@rkus
Does it work on RC2 or RC3?? I`ve installed it, but i dont see anything of that hack !

Yeah it works for RC2 and RC3.


All times are GMT. The time now is 06:13 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.01447 seconds
  • Memory Usage 1,826KB
  • 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
  • (12)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