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:	1898
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 08:35

Comments
  #2  
Old 29 Feb 2008, 02:17
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Real name: Tim Eason
It's installed and working. I put the countdown code in my signature. It shows up fine with "preview signature" but doesn't show up in my posts. Any ideas?

Thanks for the neat little mod!
Reply With Quote
  #3  
Old 29 Feb 2008, 02:49
lovelypk lovelypk is offline
 
Join Date: Oct 2005
I was looking for something like this.
thanks for this great mod
Reply With Quote
  #4  
Old 29 Feb 2008, 04:48
MoT3rror MoT3rror is offline
 
Join Date: Mar 2007
Originally Posted by ChurchMedia View Post
It's installed and working. I put the countdown code in my signature. It shows up fine with "preview signature" but doesn't show up in my posts. Any ideas?

Thanks for the neat little mod!
Sorry, put the wrong template in the instructions. Did you add the code to your headinclude template?
Reply With Quote
  #5  
Old 29 Feb 2008, 04:58
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Real name: Tim Eason
I figured out the problem. I have another countdown mod in a CMPS module. I'll sort out the code and make it all work together. Thanks again!
Reply With Quote
  #6  
Old 29 Feb 2008, 14:03
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Real name: Steve
/me clicks install. Thanks!
__________________
Reply With Quote
  #7  
Old 29 Feb 2008, 15:58
glenvw glenvw is offline
 
Join Date: Nov 2001
Where do you upload the files you say to upload? Do we upload the entire folder called "clientscript" or just the java file?
Reply With Quote
  #8  
Old 29 Feb 2008, 20:09
MoT3rror MoT3rror is offline
 
Join Date: Mar 2007
Originally Posted by glenvw View Post
Where do you upload the files you say to upload? Do we upload the entire folder called "clientscript" or just the java file?
There is a folder called upload that you upload to your main forum directory.
Reply With Quote
  #9  
Old 29 Feb 2008, 22:25
glenvw glenvw is offline
 
Join Date: Nov 2001
Thanks, does this work in people's signatures?
Reply With Quote
  #10  
Old 29 Feb 2008, 23:29
MoT3rror MoT3rror is offline
 
Join Date: Mar 2007
Originally Posted by glenvw View Post
Thanks, does this work in people's signatures?
Yes, this will work anywhere bb code is allowed.
Reply With Quote
  #11  
Old 01 Mar 2008, 09:14
John3971 John3971 is offline
 
Join Date: Oct 2007
Location: Sweden
Real name: John
thanks for this modification..
Reply With Quote
  #12  
Old 10 Mar 2008, 03:11
OrionsMom OrionsMom is offline
 
Join Date: Jan 2008
This is very kewl I have been looking for something like this! I just have one question. I placed this in my signature box and it works fine when I am posting a thread or reply using the New Thread or Post Reply buttons. However if I use the quick reply box it does not show and bottom of browswer window says "done but with errors on page." If I refresh the page the timer then shows in my signature area and no error is noted in the browser window. Do you know why this happens or have a way to fix that minor issue?
Reply With Quote
  #13  
Old 10 Mar 2008, 05:25
MoT3rror MoT3rror is offline
 
Join Date: Mar 2007
Originally Posted by OrionsMom View Post
This is very kewl I have been looking for something like this! I just have one question. I placed this in my signature box and it works fine when I am posting a thread or reply using the New Thread or Post Reply buttons. However if I use the quick reply box it does not show and bottom of browswer window says "done but with errors on page." If I refresh the page the timer then shows in my signature area and no error is noted in the browser window. Do you know why this happens or have a way to fix that minor issue?
Yeah I know about the issue but currently going through some crazy times at my website. When it starts to cool down again, I will fix it.
Reply With Quote
  #14  
Old 10 Mar 2008, 11:07
OrionsMom OrionsMom is offline
 
Join Date: Jan 2008
kewl I look forward to the fix...hope things settle with your site soon Let me note however that even with this minor error I am THRILLED to have this countdown and love how we can have more than one at a time. Many of my members are mothers of more than one child and now they can countdown to each ones birthday instead of just the next birthday! Thanks again!
Reply With Quote
  #15  
Old 12 Mar 2008, 22:59
MoT3rror MoT3rror is offline
 
Join Date: Mar 2007
Version 1.1 has been released and includes the fix. Make sure to reupload all the files including the mod in the Admin CP.
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 18:15.

Layout Options | Width: Wide Color: