Version: 1.1, by MoT3rror
Developer Last Online: Jul 2009
Category: BB Code Enhancements -
Version: 3.6.x
Rating:
Released: 02-28-2008
Last Update: 03-11-2008
Installs: 22
Uses Plugins Template Edits
Re-useable Code Additional Files
No support by the author.
Description
This is a countdown hack that allows users to put a custom countdown using BB Code.
Example:
Quote:
[countdown=12/31/2020 5:00 AM;It is finally here]Count down:[/countdown]
The countdown will count down till it reaches the date then it will show the text in the option after the date. The param is the text before the countdown.
The date is in the format of m/d/yyyy h:mm AM.
m is for month.
d is for day.
y is for Year with 4 digits like 2008 not 08.
h is for the hour.
The last m is for minute and needs to be 2 digits.
The AM can be AM or PM.
Features
* Processing is done by Javascript.
* There can be multiple countdowns on a page without effecting the other countdowns on the page.
Installation With Product
1. Upload everything in the upload folder.
2. Login to your Admin Control Panel
3. Go to Plugins & Products -> Manage products
4. Click on Add/Import product
5. Browse for product-countdown37.xml and click import.
6. Edit your headinclude template and put this code at the bottom.
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.
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.
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).