Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-05-2012, 10:49 PM
Ik0n88 Ik0n88 is offline
 
Join Date: Jun 2010
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Adding Clock to Forum

Hello everyone,

I'm just wondering how I'd add a clock to my forum that displays a specific time-zone rather than the timezone the user who is viewing the forums is currently in. You can see my forum here and you'll notice I have a clock using military time in the header.

The problem is that we want to use that to co-ordinate times with each other because we have a vast array of people from different time-zones. We can't do that when it only displays local time-zone instead of one static one per say.

Any solutions to this problem?

Thanks,
Justin
Reply With Quote
  #2  
Old 04-07-2012, 01:54 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Justin,

You can set the "Default Timezone Offset", the default timezone for new users & guests, in AdminCP->Settings->Date and Time Options->Default Time Zone Offset.

Warning: The following procedure will directly modify your database. BACK UP your DB before attempting. Very dangerous to do without a backup.

You can change the timezone for all current users via AdminCp->Maintenance->Execute SQL Query. Enter the query:

Code:
UPDATE [TABLE_PREFIX]user SET timezoneoffset = "[-12 through +12]"
Example:

Code:
UPDATE user SET timezoneoffset = "-12"
Doesn't directly answer your question... but it may help syncing things up.

-Nick, SEOvB Developer
Reply With Quote
  #3  
Old 04-08-2012, 12:59 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't see any clock at that link. What really jumps out at me - and other potential new users I'm sure - is gross lying concerning the stats. It says 38,000 posts, but fewer than a dozen are to be found anywhere. That's not going to fool anyone.
Reply With Quote
  #4  
Old 04-08-2012, 07:27 PM
Ik0n88 Ik0n88 is offline
 
Join Date: Jun 2010
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We have a recycle bin where all old posts are moved to, as to keep the forum tidy. All posts are legitimate. Guests obviously can't see this area.
Reply With Quote
  #5  
Old 04-08-2012, 09:20 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ik0n88 View Post
Hello everyone,

I'm just wondering how I'd add a clock to my forum that displays a specific time-zone rather than the timezone the user who is viewing the forums is currently in. You can see my forum here and you'll notice I have a clock using military time in the header.

The problem is that we want to use that to co-ordinate times with each other because we have a vast array of people from different time-zones. We can't do that when it only displays local time-zone instead of one static one per say.

Any solutions to this problem?

Thanks,
Justin
Dont see the clock in the header and the one on the footer does not show 24hr format
Reply With Quote
  #6  
Old 04-08-2012, 10:10 PM
Ik0n88 Ik0n88 is offline
 
Join Date: Jun 2010
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, the clock was only on the "Oldschool" theme. I added it to the default theme now.
Reply With Quote
  #7  
Old 04-09-2012, 01:12 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you should change the footer clock to 24hr as well
Reply With Quote
  #8  
Old 04-09-2012, 01:33 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A web search shows a lot of "embeddable clocks". e.g. http://www.flash-clocks.com/

Maybe you could just paste the code in an ad location? WHat isn't real clear is what time zone the generic clocks are displaying. In that example they're all displaying my time, not UTC.
Reply With Quote
  #9  
Old 04-11-2012, 12:09 AM
Ik0n88 Ik0n88 is offline
 
Join Date: Jun 2010
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Videx View Post
A web search shows a lot of "embeddable clocks". e.g. http://www.flash-clocks.com/

Maybe you could just paste the code in an ad location? WHat isn't real clear is what time zone the generic clocks are displaying. In that example they're all displaying my time, not UTC.
That's the problem. All these clocks display the users local time. I want one to display say one general time that everyone can refer to.
Reply With Quote
  #10  
Old 04-11-2012, 12:15 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The clocks on that site can be customized (for a small cost) to show the timezone you want. There's also a section of "free clocks" that it looks like can be customized for free.
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 01:45 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.06687 seconds
  • Memory Usage 2,249KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete