![]() |
Poster's local time and date in postbit and profile
Poster's local time and date in postbit and profile for vBulletin 3.7.0 beta 4
Version 1.0.1 (By Boofo) What does this product do? This product will add the local time and date of posters in the posts 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. Note: This will also show the correct time and date of the poster to guests. You do not have to be logged in to know what time it is in someone else's world. ;) Credits: Thanks goes out to KirbyDE for pointing me in the right direction for the profile time and helping to verify the original code. And thanks goes out to Chen Avinadav for making the first local time hack for vB2 and allowing me to release it for vB3, vB3.5 and now vB3.7.0 beta 4. A special thanks goes out to Dismounted, a distinguished member of the vb.org Staff, for catching my newbie mistake of not checking for new hook placements. Version Information: Version 1.0.1 --Initial release Installation overview: Templates to edit: (3) --postbit --postbit_legacy --memberinfo_block_ministats Products to install: (1) --product-local_time_bh.xml Installation Intructions: Import the product in your Admin CP, do the template edits and you're all set! NOTE: If you do not click install, you do not need support. |
Composite simple wonderful
|
Don't forget the install button. ;)
And thank you. |
i hate the template edits Boofo ... :)
anyway you're a great coder ... keep up the great job dude ... |
Awesome idea! ...however...
I did the template edits, exactly how the install text instructs... and the postbit is epically screwed up now. Had to revert and uninstall. |
Well, the template edit for the postbit is the one I use. The postbit_legacy was a best guess for me as I don't use that one. As long as you have the two phrases and the 2 variables you can put it anywhere.
HTML Code:
$vbphrase[bf2_local_time]: $post[localtime] |
The postbit template is the one I was referring to. No worries, though- decided the info that this mod puts in the user profile is enough. Also, I don't like adding too much to the postbit, so this actually works out well.
Again, WONDERFUL idea for boards with lots of members across the globe- time xones are always an issue when trying to plan something. This will help people plan a bit better, IMO. |
You want the posbit like I have mine? All neatly lined up like in the pic in the first post. It even does a nice break for the location if the location is too long, while lining things up on the left evenly.
I also added the Timezone Image in Profile hack that shows a map and the date/time in the profile. ;) |
Quote:
|
What is TMS?
|
All times are GMT. The time now is 02:18 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:
|