Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
VC_Countdown (FORUM BLOCK) Details »»
VC_Countdown (FORUM BLOCK)
Version: 1.0.5, by midnz midnz is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Category: vBulletin Forum Sideblocks - Version: 4.0.8 Rating:
Released: 10-09-2011 Last Update: 03-09-2012 Installs: 65
Translations  
No support by the author.

D E S C R I P T I O N

Countdown timer for forum sidebars that is configurable from the admin control panel. This countdown timer will calculate the remaining time left to reach your targeted event according to the GMT Time Zone Offset that you have pre-set in the admincp (VC_Countdown options). This countdown will expire at the same moment in time for all viewers, regardless of their separate time zones.

You can count down to any future month/day/time within the next 12 months.

This countdown timer is ideal for counting down to:
- have competitors meet at the same time for tournaments on gaming servers (which is what I have used it for)
- for fixed term offers
- for items available in X days
- for sale begins in X days time
or for whatever else tickles your fancy.

This is a no-frills countdown timer but there are no files to upload to your server and there is no need to fiddle around with templates and codes to adjust the countdown expiry date.
You can easily adjust this countdown display to suit forum sidebar widths from 165px to 300px.

I N S T R U C T I O N S

1. Import Product
Plugins & Products / Manage Products / Add/Import Product
Import: product-vc_countdown.xml

2. Create Forum Block
Forums & Moderators / Forum Blocks Manager / Add Block

Select Block Type: Custom HTML/PHP
Title: Event Timer (or whatever you prefer)
Description: VC_Countdown Event Timer
Content Type: HTML
Content: <div></div>
Template to use: block_VC_Countdown

3. Configure VC_Countdown
Admincp / Settings / Options / VC_Countdown

________________________________________

PLEASE NOTE: I have only tested this as working on 4.0.8 PL4.
Confirmed working well on 4.1.3 by rammieone
________________________________________

Updates:
v1.0.3
Removed superfluous css
Added css to enable proper font-color control over all four strings of text
Added ability to include background image
v1.0.4
Added 4 levels of bgimage transparency
Added bgimage 100% height & width of forum block container
Removed option for image:repeat
Added padding options for between (Event Name & top of forum block) and (Event Name & Countdown Numbers)
v1.0.5
Removed "X Days from Now" option (If you don't experience save/default problems using version 1.0.4 there is no need to update to 1.0.5)

Download Now

File Type: xml product-vc_countdown.xml (23.3 KB, 248 views)

Screenshots

File Type: gif bgimage_fading.gif (71.9 KB, 0 views)
File Type: jpg admincp.jpg (134.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
FTG LIQUID CL, mapleleaffans

Comments
  #2  
Old 10-11-2011, 05:19 AM
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Location: Uk
Posts: 1,191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Confirmed working well on 4.1.3 too thank you
Reply With Quote
2 благодарности(ей) от:
midnz, mikem164
  #3  
Old 10-11-2011, 12:56 PM
oldlock oldlock is offline
 
Join Date: Jul 2009
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod. One question - any idea how to align the output so it's central in the block ? Std <center> tags don't seem to work. ?
Reply With Quote
  #4  
Old 10-11-2011, 03:54 PM
socialteenz's Avatar
socialteenz socialteenz is offline
 
Join Date: May 2011
Posts: 465
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you.
INSTALLED.
Reply With Quote
  #5  
Old 10-11-2011, 05:29 PM
midnz's Avatar
midnz midnz is offline
 
Join Date: Jul 2010
Location: New Zealand
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by oldlock View Post
Great mod. One question - any idea how to align the output so it's central in the block ? Std <center> tags don't seem to work. ?
Have you set the 1st option "FORUM SIDEBAR WIDTH" correctly? That setting should centralise the output according to the width of your forum sidebar.

If you have already set that option correctly and the output is not properly aligned, would you mind providing a link for me to view and also list the browser you're using?
Reply With Quote
  #6  
Old 10-11-2011, 07:19 PM
ceho ceho is offline
 
Join Date: Mar 2008
Location: Germany
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oldlock seems to be right, I have the same issue, width is set correctly, on Opera and FF. I am playing around with the mod, it's actually cool. The event name font color doesn't work from the ACP (condition is missing in the CSS of the template), but that's not a big deal. What I really don't get is to add any extra content to the block, whatever I try it's "only" showing the countdown, I cannot add an image or anything like this. Any idea how to solve this? Otherwise it's a great mod, I have been looking for something like this for a while . Thanks!

Edit: never mind, I wrote the extras right into the template, that worked ;-).
Reply With Quote
  #7  
Old 10-11-2011, 08:09 PM
midnz's Avatar
midnz midnz is offline
 
Join Date: Jul 2010
Location: New Zealand
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ceho View Post
oldlock seems to be right, I have the same issue, width is set correctly, on Opera and FF. I am playing around with the mod, it's actually cool. The event name font color doesn't work from the ACP (condition is missing in the CSS of the template), but that's not a big deal. What I really don't get is to add any extra content to the block, whatever I try it's "only" showing the countdown, I cannot add an image or anything like this. Any idea how to solve this? Otherwise it's a great mod, I have been looking for something like this for a while . Thanks!

Edit: never mind, I wrote the extras right into the template, that worked ;-).
I noticed that I missed an option to change the font colour of the counter numbers ... oops! I've already added that option in to an updated .xml that I'm working on as well as removed some superfluous style code that either wasn't necessary or interfered with the alignment of the Expired Notice. (attached - removed attachment)

I'm not sure yet why the display might not be aligned properly for some people.
All of the text within the display should be aligned centre as per the style sheet within the template.
The main div was made to be 20px smaller than the width of the forum sidebar; IE: If your sidebar is 180px wide, and you select the first option (FORUM SIDEBAR WIDTH) at 180px, then the main countdown div would be reduced to 160px. So you could select the next higher option (FORUM SIDEBAR WIDTH) to see if that helps with alignment.

You might want to share how you managed to include a bgimage for the sake of others want to do that too.
You might also want to click that "Mark as Installed" button
Reply With Quote
  #8  
Old 10-12-2011, 11:08 AM
oldlock oldlock is offline
 
Join Date: Jul 2009
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. Changing the width solved my issue.
Reply With Quote
Благодарность от:
midnz
  #9  
Old 10-13-2011, 06:03 PM
midnz's Avatar
midnz midnz is offline
 
Join Date: Jul 2010
Location: New Zealand
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 1.0.3
- added an option to include a background image
- tidied up some CSS
Reply With Quote
  #10  
Old 10-15-2011, 07:00 PM
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Location: Uk
Posts: 1,191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update works great again with 4.1.3 Thanks mate superb work
Reply With Quote
Благодарность от:
midnz
Reply

Thread Tools

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


All times are GMT. The time now is 04:01 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09899 seconds
  • Memory Usage 2,335KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (6)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete