![]() |
|
|
Mod Options |
Countdown (Forum, Sideblock, vBa CMPS, Multiple Countdowns) Details »»
|
|||||||||||||||||||||||||||
|
Countdown (Forum, Sideblock, vBa CMPS, Multiple Countdowns)
Developer Last Online: Jun 2013
Someone PM'd me last week asking for the code I use for my countdown sideblock. So here is the basic countdown (doesn't include the images/blurb that screenshots/demo show)
This countdown uses the users PC clock and calendar to count down to a time and date. What is it? A sideblock on your forum index to countdown to a specific date/event. 1. Upload the contents on the zip archive to your server. Keeping the file structure as is. countdown/js/jquery-1.4.1.js countdown/js/jquery.lwtCountdown-1.0.js countdown/js/misc.js countdown/style/main.css Change the settings of the countdown/js folder to CHMOD 775 2. Go to AdminCP > Forums and Moderators > Forum Block Manager > Add Block Title - Countdown Description - whatever you want Content Type - HTML Content - <div></div> Template to use - block_countdown 3. Go to AdminCP > Styles and Templates > Style Manager > Add New Template Title - block_countdown
Change this part to set the countdown target date
Save the block. 4. Go to AdminCP > Style and Templates > Style Manager > StyleVars > forum_sidebar_width and change the width to atleast 270px You can change the colour of the digits/text to suit your forum by changing references to #5C7099 in the main.css file If you are using vBOptimise go to AdminCP > vBOptimise > Flush Cache To have more than one countdown Create a new template called block_countdown2
Set the targetDate data and save For reference if making more blocks - (jq('#countdownX').countDown({ and <div id="countdownX"> are used to call additional countdowns). Create a new forum block in the same way as before but make the template to use: block_countdown2 To Display on vB Advanced CMPS - http://www.vbulletin.org/forum/showp...&postcount=122 To show multiple countdowns on forumhome (screenshots) - http://www.vbulletin.org/forum/showp...&postcount=158 If you want to add images/videos etc to your countdown all you need to do is add some basic code to the template. Search for </script><div> and after that you would add something like.
If you are upgrading from a previous version, upload the contents of the zip file and replace the template(s) you are using (ie block_countdown, block_countdown2, adv_portal_countdown etc). Set the targetDate. History 1.0.4 - Reverted back to using jquery-1.4.1.js 1.0.3 - Now using jquery-1.6.1.min.js and added noConflict to script 1.0.2 - Cleaned up code, added instructions to zip. Also instruction within thread on how to make CMS widget or have more than one countdown. If anyone wants to further develop any of my addons, you are free to do so. Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
|
|||||||||||||||||||||||||||
Similar Mod
|
||||
| Mod | Developer | Type | Replies | Last Post |
| Show Poll In Forum Sideblock | Badshah93 | vBulletin 4.x Add-ons | 151 | 12 Jun 2013 12:54 |
| IMDb Search Forum SideBlock | desi-boy | vBulletin 4.x Add-ons | 8 | 19 Dec 2012 09:42 |
| Tinypic Uploader Forum SideBlock | desi-boy | vBulletin 4.x Add-ons | 18 | 22 Aug 2012 07:57 |
| MegaUpload FileBOx Forum Sideblock | desi-boy | vBulletin 4.x Add-ons | 9 | 15 Mar 2012 01:20 |
| Imageshack Uploader Forum SideBlock | desi-boy | vBulletin 4.x Add-ons | 3 | 22 Feb 2010 20:45 |
|
#181
|
||||
|
||||
|
__________________
No longer using vBulletin, running websites or involved with coding No members have liked this post.
|
|
#182
|
|||
|
|||
|
After upgrading my forums to the newest, 4.1.12 version, my blocks with countdowns dissappeared. Any fix for that?
Thanks im advance No members have liked this post.
|
|
#183
|
||||
|
||||
|
Upgrading your forum shouldn't break anything
Are the template edits and files still in place and have you tried purging the block cache? (AdminCP > Forums & Moderators > Forum Block Manager)
__________________
No longer using vBulletin, running websites or involved with coding No members have liked this post.
|
|
#184
|
|||
|
|||
|
Ok, fixed. I'm using different style now and I forgot about moving the block_countdown templates to the new one.
No members have liked this post.
|
|
#185
|
||||
|
||||
|
Can this be supported ?
We need the date to be based on user's forum time (not his pc), can any body do it ? Or there some one like this ? Regards,, No members have liked this post.
|
|
#186
|
||||
|
||||
|
Sorry, I think I've supported this pretty well as time permits but I'm not looking at adding any more features to it.
__________________
No longer using vBulletin, running websites or involved with coding No members have liked this post.
|
|
#187
|
||||
|
||||
|
Gemma,, Still supporting this mod?
rad all posts tried to find a solution but can't having the same problem as most guys here, the timer is zeros can't get it to work. here is the time i set it to
No members have liked this post.
|
||||
|
#188
|
||||
|
||||
|
Originally Posted by ibrahimkoky
Can you send me a link to your site so I can take a look?
__________________
No longer using vBulletin, running websites or involved with coding No members have liked this post.
|
||||
|
#189
|
|||
|
|||
|
No members have liked this post.
|
|
#190
|
||||
|
||||
|
Remove this code from your template. That shouldn't be there.
Does it work now?
__________________
No longer using vBulletin, running websites or involved with coding No members have liked this post.
Last edited by Gemma : 24 May 2012 at 17:49. |
||||
|
#191
|
|||
|
|||
|
workinggggggggggggg
thanks a lot. ![]() No members have liked this post.
|
|
#192
|
|||
|
|||
|
3. Go to AdminCP > Styles and Templates > Style Manager > Add New Template
Title - block_countdown how to remove this Template now??? No members have liked this post.
|
|
#193
|
||||
|
||||
|
Originally Posted by ricki09
AdminCP > Styles & Templates > Style Manager > Edit Templates
Find block_countdown, click on it and then select 'Revert' from the controls panel
__________________
No longer using vBulletin, running websites or involved with coding No members have liked this post.
|
|
#194
|
|||
|
|||
|
Thanks its work!
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Mod Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 11:59.






