Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications

Reply
 
Thread Tools
Live Clock & Date in Navbar Details »»
Live Clock & Date in Navbar
Version: 2.00, by Magnumutz Magnumutz is offline
Developer Last Online: Jun 2014 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.8.x Rating:
Released: 01-20-2009 Last Update: 02-17-2009 Installs: 123
Template Edits
Re-useable Code Additional Files Translations Is in Beta Stage  
No support by the author.

Please mark as "Installed" if you use this modification, thanks !
Okay, here's a little something i did for my forum, cuz i just wanted a place where to look for the right time.

See the attached screenshot for a demo.

Install instructions:

Edit the navbar template under Navigation / Breadcrumb Templates and search for:
PHP Code:
        <if condition="$show['pmwarning']"><div><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></div></if>
    </
div
Right under that, add:
PHP Code:
    <div class="smallfont">
    <
script type="text/javascript" language="javascript" src="clientscript/date_clock.js"></script>
    <
script type="text/javascript" language="javascript">dT();</script>
    </
div
In the same template search for:
PHP Code:
        <!-- / login form --> 
Right under that, add:
PHP Code:
        <div class="smallfont" align="center">
        <
script type="text/javascript" language="javascript" src="clientscript/date_clock.js"></script>
        <
script type="text/javascript" language="javascript">dT();</script>
        </
div
Upload date_clock.js to your clientscript folder.

That's it

26th January: Added a 12 hour format package.
18th February: Updated Installation Instructions, fixed guest view alignment and moved the Bold version into the first post.


Please mark as "Installed" if you use this modification, thanks !

Download Now

File Type: zip Live Date & Clock in Navbar (12 hour format).zip (4.1 KB, 151 views)
File Type: zip Live Date & Clock in Navbar (24 hour format).zip (4.1 KB, 207 views)
File Type: zip Live Date & Clock in Navbar (Bold 12 hour format).zip (4.1 KB, 147 views)
File Type: zip Live Date & Clock in Navbar (Bold 24 hour format).zip (4.1 KB, 162 views)

Screenshots

File Type: png Screenshot.PNG (2.9 KB, 0 views)

Show Your Support

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

Comments
  #32  
Old 02-28-2009, 08:22 PM
Frondy's Avatar
Frondy Frondy is offline
 
Join Date: Feb 2009
Location: Zagreb, Croatia
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed

thanks, work fine
Reply With Quote
  #33  
Old 03-04-2009, 09:46 AM
enteha enteha is offline
 
Join Date: Dec 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx alot, installed.
Reply With Quote
  #34  
Old 04-07-2009, 06:04 PM
s0lidgr0und's Avatar
s0lidgr0und s0lidgr0und is offline
 
Join Date: Dec 2006
Location: Colonie, New York
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hate to sound picky, but is there a way to rearrange the format of the date? Like instead of Tue 7th April 2009 12:00:00, could it be Tue Apr 7th 12:00:00?
Reply With Quote
  #35  
Old 04-07-2009, 07:04 PM
Alexey? Alexey? is offline
 
Join Date: Oct 2008
Location: ISRAEL
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working fine to me.
By the way i must not be in the navbar you can put it in the footer too or any other template you want
Reply With Quote
  #36  
Old 04-17-2009, 05:34 AM
Devanand Devanand is offline
 
Join Date: Apr 2009
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

never mind
Reply With Quote
  #37  
Old 04-17-2009, 08:25 AM
nomoreturn's Avatar
nomoreturn nomoreturn is offline
 
Join Date: Apr 2009
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great job Thanks Installed
Reply With Quote
  #38  
Old 04-17-2009, 09:26 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Magnumutz View Post
Reserved for future use like updates or simply staring at the moon
There's an idea for an addon ... a little moon icon or weather icon in the navbar for localazation.. wait, never mind.. i am going off topic.
Reply With Quote
  #39  
Old 04-19-2009, 05:23 PM
BigDog56 BigDog56 is offline
 
Join Date: Jan 2007
Posts: 430
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works fine! Thank you!
Reply With Quote
  #40  
Old 04-23-2009, 04:02 AM
tommyturnage's Avatar
tommyturnage tommyturnage is offline
 
Join Date: Nov 2007
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Job On This
Reply With Quote
  #41  
Old 04-30-2009, 03:07 PM
odln018's Avatar
odln018 odln018 is offline
 
Join Date: Mar 2006
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice. Installed
Reply With Quote
Reply

Thread Tools

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 04:05 PM.


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.07630 seconds
  • Memory Usage 2,339KB
  • Queries Executed 26 (?)
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
  • (4)bbcode_php
  • (1)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
  • (4)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
  • (5)postbit_attachment
  • (11)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete