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

Reply
 
Thread Tools
Analog clock in navbar Details »»
Analog clock in navbar
Version: 1.00, by steve1966 steve1966 is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.8.0 Rating:
Released: 01-11-2009 Last Update: Never Installs: 53
 
No support by the author.

This will add an anolog clock to the right of the navbar

The Analog Clock shows in realtime, what time it is in your region.

More info and screenshot visit

http://www.gheos.net/js/clock/



Find in Navbar

Code:
[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="alt1" width="100%">
		<if condition="is_array($navbits)">
			<table cellpadding="0" cellspacing="0" border="0">
			<tr valign="bottom">
Replace with
Code:
[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="alt1" width="100%"><span style="float:$stylevar[right]">
			<SCRIPT LANGUAGE="JavaScript">var clocksize=40;</SCRIPT>
<SCRIPT SRC="http://gheos.net/js/clock.js"></SCRIPT>
		</span>
		
		<if condition="is_array($navbits)">
			<table cellpadding="0" cellspacing="0" border="0">
			<tr valign="bottom">
Note you can change the size of the clock ie clocksize=40

Show Your Support

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

Comments
  #12  
Old 01-29-2009, 07:05 PM
Sworm Sworm is offline
 
Join Date: Feb 2008
Posts: 422
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AURFSCAN View Post
Hi steve1966
I was using another clock at one stage, but with your clock

I did this


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>
		</div>
</td>

Add below


Code:
<!-- Clock -->
 <td class="alt2">
<div align="center">   
<SCRIPT LANGUAGE="JavaScript">var clocksize='45';</SCRIPT>
<SCRIPT SRC="http://gheos.net/js/clock.js"></SCRIPT>
</div></td>
       <!-- / Clock -->

In my forum there's a small orizontal line that divide the welcome box to the clock,
is possble to remove?
Reply With Quote
  #13  
Old 02-01-2009, 12:09 PM
gsmlover4u's Avatar
gsmlover4u gsmlover4u is offline
 
Join Date: Jan 2007
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dear steve1966
how i can the change colour of clock ?
Reply With Quote
  #14  
Old 02-02-2009, 08:09 PM
Greek76's Avatar
Greek76 Greek76 is offline
 
Join Date: Aug 2006
Location: Planet Earth
Posts: 440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So does this work according to your timezone? I have a lot of member from Europe so will it show them their time or US time? Besides that it looks great.

Ill answer my own question it does.
Reply With Quote
  #15  
Old 02-03-2009, 08:50 AM
spirittina spirittina is offline
 
Join Date: Jul 2008
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool thank you so much a great addition
Reply With Quote
  #16  
Old 02-15-2009, 11:30 PM
2L8 2L8 is offline
 
Join Date: Nov 2008
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah! it works thx installed
Reply With Quote
  #17  
Old 03-13-2009, 06:11 AM
slapjack2fast's Avatar
slapjack2fast slapjack2fast is offline
 
Join Date: Mar 2009
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works GREAT for me , Thanks so much.
Reply With Quote
  #18  
Old 03-23-2009, 07:51 PM
TriAxis TriAxis is offline
 
Join Date: Dec 2006
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes this works great and I have marked as installed.

But I need to be able to change the color. We have a dark site by default and you can barely make out the clock. It looks great on our lighter colored styles.

Thank you.
Reply With Quote
  #19  
Old 04-02-2009, 10:55 PM
realdx realdx is offline
 
Join Date: Mar 2009
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've tested it, really nice, but now, how do I remove the other clock at the bottom of the page? is really ugly having two clocks! Thanks!!!
Reply With Quote
  #20  
Old 04-24-2009, 02:11 PM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice!

But I would like to do it like Aurfscan in post 9. However, when I use his code, the clock won't appear.
What am I doing wrong? Vb 3.8.2.
Reply With Quote
  #21  
Old 04-25-2009, 09:18 PM
Serbergg Serbergg is offline
 
Join Date: Apr 2009
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Greetings, I from Russia therefore know language badly. At installation of it the fashion is slowed down loading a forum. I have made on another.

1. Has loaded a file of hours clock.swf to itself on a forum into a folder flash (forum/flash/)

2. Instead of a code:

Code:
<td class="alt1" width="100%"><span style="float:$stylevar[right]">
			<SCRIPT LANGUAGE="JavaScript">var clocksize=40;</SCRIPT>
<SCRIPT SRC="http://gheos.net/js/clock.js"></SCRIPT>
		</span>

I have inserted a code:

Code:
<td class="alt1" align="center">
       <object classid="clsid: D27CDB6E-AE6D-11cf-96B8-444553540000"
        width="200" height="200">

       <param name="movie" value="clock.swf">
       <param name="wmode" value="transparent">
       <param name="quality" value="high">
       <embed align="center" src="flash/clock.swf" quality="high" wmode="transparent"
        width="50" height="50" type="application/x-shockwave-flash"></embed>
       </object>
</td>
All is ready. Now the forum is loaded quickly without a delay
Attached Files
File Type: zip clock.zip (1.9 KB, 38 views)
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 08:40 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04777 seconds
  • Memory Usage 2,332KB
  • 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
  • (6)bbcode_code
  • (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
  • (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
  • (1)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete