![]() |
Minute Shift (for servers with slightly wrong times)
This hack shifts all the dates that the forum displays (at least all those generated by vbdate(), which should be all of them) by a given number of minutes. For example, if you are on a shared server and the server's time is three minutes too fast, you can compensate using this hack by making all times account for the three minute shift.
Designed with 2.3.0 RC3 but should in practically any 2.2.x version of vB. |
Screenshot:
|
You didn't use phpinclude... :o
Nice hack :p |
I take it that this alleviates the need to contact the server to reset the server clock?
|
Quote:
Exactly. :) Nice hack - when I had this problem I just coded this in, but it's nice to be able to change it. :bunny: |
Quote:
|
Quote:
|
Are you being transformed into a hacker, filburt? I mean, that's what, 3 hacks in a week or so? ;)
Nice hack, and a very good idea. :) |
Very useful and simple hack. good job turtle!
- miSt |
Rather my functions.php file is so hacked or this hack is for a specific type of Vb version because the coding is slightly different.
In example: PHP Code:
PHP Code:
|
All times are GMT. The time now is 11:19 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:
|