vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   BB Code Enhancements - Countdown BB Code (https://vborg.vbsupport.ru/showthread.php?t=171691)

Elenna 03-24-2008 01:21 AM

Database error doesn't mean that it will harm your database, it just means that the commands you're trying to run on it aren't working. It's hard to troubleshoot without an error message.

Elenna 03-26-2008 07:25 PM

Does anyone know how to have this take time zones into consideration?

For example, I have this code set to countdown until 8pm tonight. Members of other time zones are seeing it count down until 8pm their time, but I want it to countdown until my time, as this is an event.

Elenna 03-26-2008 07:47 PM

Update to above. The javascript author's web site mentions using an additional UTC or time zone entry in it:
http://www.hashemian.com/tools/javas...own-faq.htm#q3

Quote:

Q3- How does the UTC time work?
A- If your target date signifies an event at a certain location, you should append your UTC (Coordinated Universal Time) to your date. UTC is also referred to as GMT (Greenwich Mean Time). See Wikipedia article on UTC.
The UTC time is never adjusted so if you are in a Daylight savings zone, time changes could complicate matters. For example The US northeast is 5 hours behind UTC in standard time and 4 hours behind UTC in daylight savings time.
So if you are hosting an event in northeastern United States on July 11, 2015 at 4 PM, you would specify "07/11/2015 4:00 PM UTC-0400", as that region is generally under daylight savings during that time. Alternatively you could specify "07/11/2015 4:00 PM EDT". In this case EDT is used to indicate Eastern Daylight Time, rather than EST (Eastern Standard Time).

Daisyboo 08-28-2008 07:16 AM

Never mind found an updated one *doh*

ricardoNJ 10-02-2009 07:17 AM

Hi, I want to translate it to other language [spanish]. How can I do that?
Thanks!

ricardoNJ 10-02-2009 07:35 AM

Quote:

Originally Posted by MoT3rror (Post 1468417)
Yes you can change the the display of the countdown by the countdown.js file.

Code:

        CountActive = true;
        LeadingZero = true;
        DisplayFormat = "%%D%% Days, %%H%% Hours, %%M%% Minutes, %%S%% Seconds.";

You just change the DisplayFormat to what you want it to be. Like if you only wanted days you can do something like this
Code:

        CountActive = true;
        LeadingZero = true;
        DisplayFormat = "%%D%% Day(s)";

%%D%% = Days
%%H%% = Hours
%%M%% = Minutes
%%S%% = Seconds

Thank you, I need that too to change the language.

A question: this Mod is only for post?


All times are GMT. The time now is 10:53 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.01126 seconds
  • Memory Usage 1,729KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete