Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Countdown BB Code Details »
Countdown BB Code
Mod Version: 1.1, by MoT3rror (Member) MoT3rror is offline
Developer Last Online: Jul 2009 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.x Rating: (2 votes - 4.50 average) Installs: 20
Released: 29 Feb 2008 Last Update: 12 Mar 2008 Downloads: 158
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:
    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

    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 Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	screenshot.jpg
Views:	672
Size:	30.8 KB
ID:	76493  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
BB Code Enhancements Countdown BB Code MoT3rror vBulletin 3.7 Add-ons 43 27 Feb 2012 09:56

  #46  
Old 02 Oct 2009, 08:35
ricardoNJ's Avatar
ricardoNJ ricardoNJ is offline
 
Join Date: Sep 2008
Originally Posted by MoT3rror View Post
Yes you can change the the display of the countdown by the countdown.js file.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

%%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?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 20:14.

Layout Options | Width: Wide Color: