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.7.x Rating: (9 votes - 5.00 average) Installs: 79
Released: 29 Feb 2008 Last Update: 12 Mar 2008 Downloads: 518
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:	1902
Size:	30.8 KB
ID:	76494  

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.6 Add-ons 45 02 Oct 2009 09:35

  #16  
Old 13 Mar 2008, 15:24
OrionsMom OrionsMom is offline
 
Join Date: Jan 2008
Do I need to uninstall the other one first? I uploaded the clientscript to the clientscript file, uploaded the xml file and copied and pasted that same text into head includes area. Now it shows the countdown but no text telling what I am counting down to and still does not show on quick reply. What did I do wrong or is something missing from the zip file?
Reply With Quote
  #17  
Old 13 Mar 2008, 15:31
OrionsMom OrionsMom is offline
 
Join Date: Jan 2008
reverting back to 1.0 for now just so we know what we are counting down to.
Reply With Quote
  #18  
Old 13 Mar 2008, 15:32
OrionsMom OrionsMom is offline
 
Join Date: Jan 2008
BTW I did uninstall and then re-install it still did not fix the issue so not sure what happened.
Reply With Quote
  #19  
Old 13 Mar 2008, 23:09
MoT3rror MoT3rror is offline
 
Join Date: Mar 2007
Originally Posted by OrionsMom View Post
BTW I did uninstall and then re-install it still did not fix the issue so not sure what happened.
Compare your BB code setup to the instructions that was just added.
Reply With Quote
  #20  
Old 14 Mar 2008, 02:23
Xanlamin's Avatar
Xanlamin Xanlamin is offline
 
Join Date: Mar 2008
Tagged for reference....been looking for something like this, will come in handy for alot of aspects on two sites I run for gaming.
Reply With Quote
  #21  
Old 21 Mar 2008, 09:34
Zebra Zebra is offline
 
Join Date: Sep 2007
Great it works, but what must i do with "Use {option}: Yes" ?
Reply With Quote
  #22  
Old 21 Mar 2008, 18:03
Jikdor Jikdor is offline
 
Join Date: Oct 2007
Cool, thanks. Installed.
Reply With Quote
  #23  
Old 22 Mar 2008, 20:21
MoT3rror MoT3rror is offline
 
Join Date: Mar 2007
Originally Posted by Zebra View Post
Great it works, but what must i do with "Use {option}: Yes" ?
That is a option when you add BB Code. You must set this to yes.
Reply With Quote
  #24  
Old 24 Mar 2008, 01:20
imported_martyjp imported_martyjp is offline
 
Join Date: May 2004
Great idea and installed with out any issues. Unfortunately didnt really work on my site as have members from all over the world so the countdowns didnt really work as it is done from the users pc time
Reply With Quote
  #25  
Old 10 Apr 2008, 14:35
maidos maidos is offline
 
Join Date: Jul 2006
how does it really work, i mean theres different timezones
Reply With Quote
  #26  
Old 10 Apr 2008, 20:15
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Real name: J
Is it possibly to add the username of the user and what he/she is counting down too?

{user} is counting down: to his birthday 7 days 4 hours 7 secs
__________________
Thanks for your help

J
Reply With Quote
  #27  
Old 12 Apr 2008, 06:14
MoT3rror MoT3rror is offline
 
Join Date: Mar 2007
Originally Posted by hIBEES View Post
Is it possibly to add the username of the user and what he/she is counting down too?

{user} is counting down: to his birthday 7 days 4 hours 7 secs
The user can put whatever text in from of the countdown and when the countdown is over.

Does that answer your question?
Reply With Quote
  #28  
Old 05 May 2008, 03:09
Mum Mum is offline
 
Join Date: Jun 2006
Real name: Kirsty
Who's timezone does this use? The member currently viewing? Or the timezone of the board?
__________________
Mummybrain.com We're virtually family
Reply With Quote
  #29  
Old 11 May 2008, 04:55
MoT3rror MoT3rror is offline
 
Join Date: Mar 2007
Originally Posted by Mum View Post
Who's timezone does this use? The member currently viewing? Or the timezone of the board?
The timezone of the current user's machine.
Reply With Quote
  #30  
Old 24 May 2008, 11:56
sdavis2702's Avatar
sdavis2702 sdavis2702 is offline
 
Join Date: Apr 2008
I really like this hack. I have installed it and I am using it... only thing is... I'm concerned with my member. How will they know what format to put the information in? I can ofcourse make a thread or something but they won't all be able to see that. Any suggestions? Or am I missing something?
__________________
Best Framework for WordPress
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 10:40.

Layout Options | Width: Wide Color: