The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Local time and date in post, pm, usernotes and profile v1.5 Details »» | |||||||||||||||||||||||||||
Local time and date in post, pm, usernotes and profile v1.5
Developer Last Online: Jun 2012
Local time and date in post, pm, usernotes and profile
Version 1.5 (By Boofo) This hack will add the local time and date of users in the posts, pms, usernotes and profile. That way you will know what the time and date is where they are located. I use this on my site so I will have an idea if it is the middle of the night, where they are at, or daytime. With your users living in all corners of the globe, this hack is a nice gauge of the different time zones without having to figure out each one in your head. Thanks goes out to Link14716 for pointing me in the right direction for the pm time and helping to verify the code. And everyone who chipped in at vbulletin.com to help me figure out vB3's new ways of doing things. A special thanks goes out to Chen Avinadav for making the first local time hack for vB2 and allowing me to release it for vB3. Version Information: Version 1.0 --Initial release Version 1.1 --Fixed bug where the User CP DST setting was not being accounted for. Thanks goes out to squall14716 for the fix. Version 1.2 --Fixed bug where a few people's time was off by an hour or two in the showthread, but right on target everywhere else. Moved the code from the showthread.php into the functions_showthread.php, where it should have been in the first place. Thanks Natch, for all of your hard work in helping me track this down. Version 1.3 --Fixed bug where local time and date was not showing up in a member's profile when the "Additional Information" box was empty due to them not entering any personal information in their profile. It would only show an N/A. Version 1.4 --Added ability to have the local time and date to also show up in the showpost. Version 1.5 --Fixed last known bug where the User CP DST setting was not being automatically accounted for when the DST changed. The Version 1.1 fix seemed to be only temporary and not a total solution. This should take care of it. Files to edit: 4 functions_showthread.php private.php usernote.php member.php Templates to edit: 3 postbit postbit_legacy memberinfo If you find this hack useful, please click the install button. Show Your Support
|
Comments |
#102
|
||||
|
||||
Quote:
https://vborg.vbsupport.ru/showpost....4&postcount=83 If you want phrase support, you are more then welcome to make whatever phrases you need. This hack is working for me and everyone else that has installed it, so, no, it doesn't belong on beta. I think you're thinking about most of YOUR hacks, Gary. |
#103
|
||||
|
||||
Why do you always have to make things so personal? If you want to move my hacks to Beta hacks, then that's fine with me. As you have seen in ALL my previous posts (except my last one in this thread) when I was talking to you, I have tried to steer away from the path of having a personal fight, while you kept on walking right back on that path.
If you want to move my hacks to Beta releases now, since you are now a mod, then I don't mind at all. I release hacks because people request them and want them; if someone wants to do something about it, maybe delete some of my hacks because of some silly reasons that they can come up with, then sure go ahead; they'd also be taking away a hack that at least one person would really love to have on their forums. Yes probably some of my hacks are small, but they do their jobs. -------------------- Anyhow, back on topic, this hack, I have my server settings set properly in my admin cp, and my timezone is obviously set correctly in my user cp. I read your last post in this thread and you talked about several improvements that you could make to this hack, so I don't see what you mean by this hack working well, especially not for everyone. Take a look at these posts: https://vborg.vbsupport.ru/showpost....6&postcount=98 https://vborg.vbsupport.ru/showpost....1&postcount=87 Anyhow, not too many posts I could get because not many have installed this and/or replied back to this thread. -------------------- I don't want to play the blame game, if most have seen me, I try not to be rude or point fingers, unlike some people I will not name. If this post gets deleted, it just goes to show that what has been said in this post really is all true. |
#104
|
||||
|
||||
As far as moving your hacks, me being a mod has no effect on that. I don't move threads to beta hacks. That is up to the higher staff. I'm just a mod, nothing more. As far as this being personal, you made it that way when you jumped in my thread and said I should move this hack to beta when there is no reason to as the hack DOES work if the person installing it has the setting in the Admin CP set to their ACTUAL server time, not just the time the want the new users to see. This hack is the exact same hack as Chen released for vB2 except that the variable names have changed. Now, if it worked so well for vB2, why should it not work the same way for vB3? The only thing different in vB3 is that they no longer user the server timne to get the time. But this hack DOES.
You set your server time to where the server actually is and the hack will work for you. If not, then don't install it. You didn't hit the install button anyway, so what does it matter? Now, if you want help getting this hack to work, I will put any contempt I have for you aside and help you get the hack to work. I support my hacks and I get them fixed if someone has problems. You included. It's up to you, but don't tell me my hack doesn't work because you are having problems with it. How many times have you run into the same thing and found out it was an install error or someone didn't follow instructions properly? And if not to many people have replied to the thread, that must mean it is working for those people, huh? If you want to carry this further, take it to pm. |
#105
|
||||
|
||||
Anyone having problems with the time being off an hour after the DST change needs to make the following update to this hack.
Thnak goes out to NTLDR for coming up with the correct fix. functions_showthread.php usernote.php member.php find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
#106
|
||||
|
||||
*waits ever-so-patiently for 'goes of setting time, not server time version*
Being that my host is located halfway round the world from me, and with me running a site kinda pointed at locals, things get a little confusicating for people. |
#107
|
||||
|
||||
Quote:
As long as you have the setting in the Admin CP set to the actual server time, your user's local time will show fine. It does for me and almost everyone else who installed this. |
#108
|
||||
|
||||
Quote:
However, when a NZer comes on as a guest at 12PM and the board says last posts were made at 3AM yesterday, that's what is confusing. If they're logged in, all is good and works like it should do. |
#109
|
||||
|
||||
Quote:
|
#110
|
||||
|
||||
Quote:
I was thinking of perhaps just sticking the member's timezone selection into the postbit instead for now... *edit* The server lives in Orlando, FL, USA. I live in AK,New Zealand. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|