Back to vBulletin 3.6 Add-ons

Countdown BB Code
Mod Version: 1.1, by MoT3rror

This modification is in the archives.
vB Version: 3.6.x Rating: (2 votes - 4.50 average) Installs: 22
Released: 29 Feb 2008 Last Update: 13 Mar 2008 Downloads: 178
Not Supported Uses Plugins Template Edits Additional Files Re-usable Code  

Description

This is a countdown hack that allows users to put a custom countdown using BB Code.

Example:
[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.
<!-- Begin Countdown Javascript code -->

<script type="text/javascript" src="clientscript/countdown.js"></script>

<!-- End Countdown Javascript code -->
Installation without Product
  1. Upload everything in the upload folder.
  2. Login to your Admin Control Panel
  3. Edit your headinclude template and put this code at the bottom.
    <!-- Begin Countdown Javascript code -->

    <script type="text/javascript" src="clientscript/countdown.js"></script>

    <!-- End Countdown Javascript code -->
  4. Create new BB Code with these settings.
    Title: Countdown (You can make this whatever you want)
    Tag: countdown
    Replacement:
    Code:
    <span id="cntdwn"></span>
    <script type="text/javascript">
    init_countdown("{param}", "{option}");
    </script>
    Example:
    [countdown=12/31/2020 5:00 AM;It is finally here]Count down:[/countdown]
    Use {option}: Yes

Version Changes
  • 1.1 Fix countdown only showing when using quick reply.

Download

This modification is archived, downloads are still allowed.

File Type: %1$s countdown for vbulletin 3.6.zip (2.4 KB, 143 downloads)

Screenshots

Click image for larger version
Name:	screenshot.jpg
Views:	693
Size:	30.8 KB
ID:	76493  

Similar Mods

BB Code Enhancements Countdown BB Code vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2024