![]() |
Clock In Navbar
Dont Copy This Hack
Javascript Code By w3schools.com Description: This Shows The Time, In Hours Minutes And Seconds, In The Navbar When The Page Is Loaded 1 New Phrase 1 Template Edit Install: Find In Navbar: Code:
<if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if> Add Below: Code:
<head> History - V.1.0 Released Future Developments - Cache Template I Will Only Give Support To Those That Click Install |
Thanks a lot, Enigma.
|
your welcome. thanks for installing
|
Thank you :)
|
Nice and simple .. reminds me of my ex :)
Clicked install |
haha thanks for installing :)
|
Quote:
Nice one! |
Thanks!
|
Thanks. as suggestion: Since when there is a lot of space, what about add the current date?
dd/mm/yy -> User should choose the format. 14/02/07 your clock GMT user |
Yes I Will Add That In The Next Version
|
does this clock show 12 hr or 24 hour time?
Mark, |
24 hours
|
Love the clock, but that 24hrs kills me at 3am :D Hard to do -12 that late.
Thank you:up: |
Excellent, Thankyou so much! Also very kind for giving me support! =)
|
Nice hack,thanks and clicked install. ;)
|
12 hour clock will be better also date should be added in next version.
|
yes it will be
|
yes it will be
|
It doesn't work for me...
|
Thanks...
|
|
Thats a macro flash file.
|
i'm using with indian standard time where can i change that its showing now in GMT ? help plz
|
Quote:
|
Great wee Hack. I like it. Thanks for this hack/add-on. It rocks!! :)
|
The clock gets stuck on loading time when viewing threads but works fine when viewing forum home or forum boards. Why does this happen? I am using 3.6.7 vb.
What could the problem be? |
Great clock but unfortunately I won't be able to download it as I need a clock that will show UTC time and not the PC time - my web server is UTC time so if there was some way I could hook into that or some other way I could mod yours to show UTC then I would be over the moon - thanks!
|
thanks for the hack!! i've slightly modify it to add more stuff e.g. am/pm and full date, here's the modified version of it
Java script Code:
<head> |
*Installed*
Works good on 3.6.7PL1, but when viewing thread the clock constantly shows Loading Clock..... |
Quote:
|
Quote:
Replace the following line Code:
if (h > 12) Code:
if (h >= 12) Quote:
replace what you have before with this Code:
<b><div id="txt"><b>$vbphrase[loading_clock]</b></div></b> |
@msalman
Thanks m8 for the new code. This seemed to have fixed the Clock Loading..... error also while viewing a thread. :) |
@msalman
Actually your code is for a 24 hour clock and works best that way. If you try and use it as a 12 hour clock then midnight is shown as 00:00:00 AM instead on 12:00:00 AM and noon is shown 00:00:00 PM instead of 12:00:00 PM Find Code:
if (h >= 12) { Code:
if (h >= 12) { |
Quote:
Excellent, did the trick first time, thanks. |
All times are GMT. The time now is 07:40 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|