![]() |
Btw,
- how do i change ',' char to '.' char (eg.: 325,500,934 to read 325.500.934) - how do i know how many queries currently my homepage loads? Ideas? |
DO NOT cache the SINCE YOUR LAST VISIT! hack by MrLister (https://vborg.vbsupport.ru/showthrea...threadid=31957). Those of you who installed the WELCOME HACK [FINAL] are also affected, like me!
:P |
Areku - If you'll refer to a post I made here, that should help you. It's for a different hack, but it should be enough to help you figure out how to change the commas to periods. ;)
As for figuring out how many queries a page has, I would recommend installing Teck's Microstats hack. Alternatly you could open your admin/config.php file and put the code $debug="1"; right at the end of that file before the ?>. Then you would go to the url http://yoursite.com/forum/index.php?explain=1. At the bottom of that page it will show you the number of queries and the time it took to execute them. |
Does any1 know what's wrong with the SINCEYOURLASTVISIT addon I published 2 posts ago (https://vborg.vbsupport.ru/showthrea...005#post386005)?
Yesterday was working fine but today it displays Han habido 5,770 hilos y 33,486 mensajes desde tu ?ltima visita! that is, 33 thousand messages since my last visit, 30 seconds ago!!!! Wth is going wrong?? |
Yea, actually I just realized what you did with the new posts since a users last visit. You should not have done that... Every time it updates the cache, it will display the number of new posts for that particular user, so all users will see the same number of new posts and threads. There's really not a way to cache those since they are specific for each member.
|
Damn, I really messed it up! :P
OK I'll edit the previous post. Can you now explain me when does the update happen actually? It's 0:01am here (server time) and update has been done for this new day, but it's still counting/displaying yesterday's new members/posts/threads... |
Well actually it should go by the time that is set on the server to determine when a new day starts. Then it should update that table every 10 minutes (assuming you didn't change the value), so within 10 minutes it *should* be correct. I'll work on changing it so that it will go by your forums timeoffset values as well though since that would make a little more sense.
|
Quote:
PHP Code:
PHP Code:
|
Bofo - Actually the only thing that would affect is where it shows an admin the last time the cache was updated. The $datecut variable is what would need to be modified. ;)
|
I later realized you're right... server is on PST and I'm on GMT so it used server's time to update, presenting us "today registered users" when that was not true for our time zone ;)
Will wait for your fix then ;) |
All times are GMT. The time now is 10:41 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:
|