Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Poster's local time and date in postbit and profile Details »»
Poster's local time and date in postbit and profile
Version: 1.0.1, by Boofo Boofo is offline
Developer Last Online: Jun 2012 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.x Rating:
Released: 02-02-2008 Last Update: Never Installs: 50
Uses Plugins Template Edits
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 02-06-2008, 07:49 PM
Mike-D Mike-D is offline
 
Join Date: Jan 2006
Location: Cologne / Germany
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
What is TMS?
Don't say you don't know the well known Template Modification System ? It's one of the best hacks ever and I use it since a long time. With using it I've never gotten any problems in Template changes. Really too bad that this hack never got the MOTM status It's simply the best. So I've installed your hack and created the Template modifications and needed less than 1 minute

BTW: Your hack is really great and I installed it. Thank you very much for this, Bob -Mike
Reply With Quote
  #13  
Old 02-06-2008, 08:29 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've never used that. I went straight form 3.5.4 to the latest version, doing a fresh install. I've been out of the loop way too long, it seems. First, will that work on 3.7.0 beta 4? And second, being Kirby write that, [s]I'm hesitant to use it as I'm not sure he knows that much about coding for vb[/s], then it must be good.

And, Mike, do I know you from the old days here?
Reply With Quote
  #14  
Old 02-06-2008, 09:40 PM
Mike-D Mike-D is offline
 
Join Date: Jan 2006
Location: Cologne / Germany
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
IFirst, will that work on 3.7.0 beta 4?
TMS? Yep it does Admittedly I needed really a long time to understand what TMS does and where all the power is. At the first sight it's really complex to understand it. And I needed really some months to understand exactly how it works. Once you have it installed you'll never miss it an also you can't live without it

Bob: I've created 2 TMS Files for you! You can choose whatever you'd like to do. The first one "Product-local_time_bh-TMS" contains the additional TMS Code and its separate Template Codes within your hack. When you have TMS installed all you have to do is to import your Product. That's all

The second one "TMS_Code_Local_Time" is the small Template Code itself and will imported under TMS itself.

Quote:
Originally Posted by Boofo View Post
And, Mike, do I know you from the old days here?
Dunno what you mean about "old days", because I'm a member since '06 in that forum. Unless you know me from my US friends at the Acura Legend Forum in the USA. Then you're right because I'm a member since 6 years over there
Reply With Quote
  #15  
Old 02-06-2008, 10:00 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So this will edit the template automatically when you insert the xml? How does it know which template edits go with which hack? This looks like a dream come true on upgrades for template changes. What's the learning curve on it?

I don't know the Acura Legend Forum, so I must have been wrong about knowing you. Better for you, anyway, as knowing me doesn't bring a lot of good luck to anyone. Ask around, you'll see.
Reply With Quote
  #16  
Old 02-07-2008, 10:25 AM
Mike-D Mike-D is offline
 
Join Date: Jan 2006
Location: Cologne / Germany
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
So this will edit the template automatically when you insert the xml?
Exactly that's the way of TMS!

Quote:
Originally Posted by Boofo View Post
How does it know which template edits go with which hack?
Till today I've never seen a hack, which won't work with TMS!!! For example: I have installed really complex hacks and most of them are Statistic hacks and some special Database hacks. And I've never seen that TMS won't work. All you have to know is, that TMS does not work with MySQL 4.0! But I recommend you to read the whole TMS thread. Just because there are lots of infos.

Quote:
Originally Posted by Boofo View Post
This looks like a dream come true on upgrades for template changes.
You hit the nail on the head, Bob This does not looks like a dream: It's really a dream for all user who are not able or willing (what I can understand) to re-edit all her Template changes after any vB Upgrades. Whenever you have made Template changes in the course of time without TMS, it's always a pain to re-edit all Template changes after vB Upgrades. Not in doing with TMS! TMS work always transparent on each Template you have changed!!! And this is exactly the way.

Quote:
Originally Posted by Boofo View Post
What's the learning curve on it?
The learning curve? Well for the first time it's a lil bit complex to understand how TMS works. But it's kinda different how each people does understand how it works. For example: I'm a person who thinks always too complex whereby others always think easy. Probably you're such a person. Then it should no problem for you. Give it a try and you'll never live without it. That's a promise

Quote:
Originally Posted by Boofo View Post
Better for you, anyway, as knowing me doesn't bring a lot of good luck to anyone. Ask around, you'll see.
Na I don't think so, because you are a great coder in my eyes. I've read and studied many hacks from you and your ideas are always very instructive and great. So please don't have a false modesty, Bob


Sorry for being in the wrong thread. I do know that this do not belong where it belongs to, but I'm strongly convinced about the TMS hack. So I will try to do my best that this hack deserve what it deserves: MOTM
Reply With Quote
  #17  
Old 02-07-2008, 12:34 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will give that a try. Sounds good.
Reply With Quote
  #18  
Old 02-07-2008, 06:04 PM
Mike-D Mike-D is offline
 
Join Date: Jan 2006
Location: Cologne / Germany
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
I will give that a try. Sounds good.
You'll never regret it, Bob. Trust me
Reply With Quote
  #19  
Old 02-10-2008, 07:03 PM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another one of yours installed

Works great,as a uk site we have quite a few US based users and this is handy in knowing what time there at..

Thanks :up:
Reply With Quote
  #20  
Old 02-10-2008, 07:48 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have to admit, this is my favorite of all my hacks. It saves me trying to bother someone who might be in bed.
Reply With Quote
  #21  
Old 02-16-2008, 01:16 PM
Guest210212002
Guest
 
Posts: n/a
Default

/me clicks install
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:44 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
  • Page Generation 0.05435 seconds
  • Memory Usage 2,322KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete