vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Adding Clock to Forum (https://vborg.vbsupport.ru/showthread.php?t=281167)

Ik0n88 04-05-2012 10:49 PM

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

SEOvB 04-07-2012 01:54 AM

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

Videx 04-08-2012 12:59 AM

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.

Ik0n88 04-08-2012 07:27 PM

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.

ForceHSS 04-08-2012 09:20 PM

Quote:

Originally Posted by Ik0n88 (Post 2317155)
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

Ik0n88 04-08-2012 10:10 PM

Sorry, the clock was only on the "Oldschool" theme. I added it to the default theme now.

ForceHSS 04-09-2012 01:12 AM

you should change the footer clock to 24hr as well

Videx 04-09-2012 01:33 AM

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.

Ik0n88 04-11-2012 12:09 AM

Quote:

Originally Posted by Videx (Post 2318190)
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.

kh99 04-11-2012 12:15 AM

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.


All times are GMT. The time now is 09:19 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.01022 seconds
  • Memory Usage 1,732KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete