![]() |
Cool hack, I might check it out!
|
Mine isn't showing GZIP status... How can I do that?
|
use the $gziptext variable. i just released ver 1.2
it's self explanatory. |
Maybe its just late, but what variable is added to the footer?
|
Awesome hack however just like the first one you should make it so that the user can add a variable to their footer instead of functions.php automatically printing it to the end. Many people like myself have custom footers at the bottom and it doesn't harm those who don't and helps those who do tremendously.
Thanks and keep up the great work! |
Quote:
Quote:
about the custom footer, insert the custom html code into your $vartext. regards, nakkid. |
Funny, on this board the text is stuck in the footer HTML code... ;)
|
hehehe... sssssstttthhhh.. ;) dont sell industrial secrets...
i tried to make it easier for people FireFly. now be nice... :D |
heres the original one if someone wants to uninstall it
|
Quote:
|
Fazle, i will see what i can do with it to make you happy.
vB.org variable test: Code:
Page generated in 0.35182405 seconds (26.11% PHP - 73.89% MySQL) with 27 queries as you notice, the higher you place it on the page, the lower are the values... |
Why are my percentages coming through wrong??
Page generated in 0.1624170 (-5,389.35% PHP - 5,489.35% MySQL) seconds with 116 queries. PHP version 4.1.2 (Debug mode) with GZIP compression library disabled. |
reload the page, it will be ok. and btw, if you have 116 queries, you are in big trouble. you must check your hacked board. you have a huge error there.
hmmm.. i just checked your forum. you probably didnt updated all files. did you downloaded the previous version 1.1? in that case, you must clear your cookies to see the actual file. when you view the attachment, it will pull it the one from temp folder not the actual file. make sure you edit forum/admin/db_mysql.php let me know. |
Version 1.2 has problems with vBPortal...
Shows the message under every Block on vBPortal!!! Any solution for that? And shows me 199 queries!!! mmmm |
i'm working on a mod right now, so you can enter a variable instead. it will cure your prob.. give me another 15min ;)
|
Quote:
|
It seems to be working now for me... did I clear cookies? I don't know. ;)
|
:(
I always get PHP percentage negative.... ???? (even reloading and reloading). Always something like : Quote:
Thanks |
I have too many queries then I guess? Why would that be? Am I looping something?
|
yes you do. this is extremly high. after 50 queries, the server start to go on the red side. i'm surprised your host didnt contact you yet. ;)
ok.. i went to sleep yesterday. so i'm gonna start the mod right now. gimme 30min for my breakfest and keep in mind that i should do my luggage instead of posting here. tomorrow at 8 i have the plane taking me away to my baby sweet loving woman.. :D |
Quote:
I'll personally wait till v3 I think :> |
Quote:
So - how do I find out what the problems are? I know how to edit, I understand how php works (i think) but don't know how to change how it works myself... |
version 1.3 released. bugs fixed with vbPortal.
|
Quote:
|
Quote:
So I started investigating... ;) Could someone explain which is the meaning of PHP Code:
Besides, actually I would prefer the first version of the hack, with an explicitly called variable to display microstats, instead of using the dooutput() function. Mainly because I would control exactly where stats are displayed - would prefer footer only, not at the end of each page Thanks a lot. Bye |
it gets the start time and end time to a specific location only.
did you try it to leave the value defaulted? PHP Code:
1,236,324,262.324626726 seconds the negative time is due to some code misconfiguration only. and btw, that's what ver 1.3 does (is template based) hihi... |
Quote:
:) Same, I saw now you use PHP Code:
Well. Even still doesn't work to me: the problem is - trying both versions with or without templates (wich I would prefer ...) - I have some difficulties modifying the dovars() function. (already hacked with FF's Reader's name inside post which already puts a first-element replacement..) Actually I wouldn't like to use another replacement handly-added and simply would use $microstats var directly in the footer template. But it isn't enough to define it (as global) within the dooutput() function, as you did as a part of the hack. Why ? Any workaround ? Excuse me, but would manage to understand the chinese-box inheritance of those php vars !! Thanks a lot. ;) |
you can add more then one index and value to your array:
PHP Code:
also dont forget that dooutput() is needed to call the headers and the time before it starts the page and it ends also. dovars() will only replace the variables. use this code for now: PHP Code:
|
Quote:
But, as said, I would prefer to use a simple $varbit to add to the footer template. This because I could control better the place where that var is put (if I'd used the dooutput() with $vartext, that string would be added to EACH page, even those without footer code ... i.e. vb popup smilies, etc...) Any case I'll use by now the replacement... :( Thanks again Bye |
you cannot add a variable $varbit in dooutput() for the simple reason that you will have to edit every single dooutput() piece of code in every single script that uses that function. trust me, there are alot of them. this hack is about getting the right time before and after the page is loaded. the rest of variables are pulled from the server.
i do not understand why you cannot use the array values instead? like the way i show you above? you will be able to use both strings, whereever you want to place them. |
Quote:
|
Ok. Ok.
Both of you persuaded me... :) I'm gonna use the replacement var adding it to FF's hack in dovars()... ;) Thnx again and sorry for the time. |
I have cleared my cookies and all Iam seeing is this:
vB Load Time, Queries Execution, | | GZIP Compression and PHP Version MICROSTATS | | Version 1.0 Can someone send me the latest version please to: realist@skytronic-forums.com Thanks :) |
Quote:
Jawelin... look, i use the vbMicroStats variable here: [high]{genininfo}[/high] you can place [high]{getmicrostats}[/high] everywhere you want, as firefly mention it before. ;) |
:) Thnx
|
Thanks M8 :)
Quote:
|
Can I get the latest version emailed to me please? oleg@gaminguru.com Thanks in advance.
|
Regarding the below after installing the latest hack.
Page generated in 0.0828900 seconds (19.67% PHP - 80.33% MySQL) with 34 queries. PHP version 4.0.6 (Debug mode) with GZIP library compression disabled. Its says that GZIP compression is disabled? How can I get it to be enabled, it is enabled in VB admin panel and also installed on the server..... so why is it saying this? Any help? |
I get the same problem TR, it must just be the script not talking to the server properly or the server not outputting that gzip is enabled..
|
Same here aswell and i know that gzip is enabled...
Page generated in 0.0575660 seconds (-4,066.49% PHP - 4,166.49% MySQL) with 41 queries. PHP version 4.1.2 (Debug mode) with GZIP library compression disabled. |
All times are GMT. The time now is 06:00 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|