![]() |
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. |
All times are GMT. The time now is 01:42 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:
|