YoBroMoFo - Countdown Timer
![]() YoBroMoFo - Countdown Timer Takes 5 minutes to upload, and do 2 template edits. Please mark installed if you use, as all of our modifications are totally free of charge and openly shared with the vbulletin community. Anyhoo - Let's Get started. ************* STEP ONE ************* Open count.js from the js folder Change these lines below to match the event you are counting down to: Code:
var month = '*'; // 1 through 12 or '*' within the next month, '0' for the current month var day = '26'; // day of month or + day offset var dow = 3; // day of week sun=1 sat=7 or 0 for whatever day it falls on var hour = 0; // 0 through 23 for the hour of the day var min = 0; // 0 through 59 for minutes after the hour var tz = 10; // offset in hours from UTC to your timezone Then upload the js folder to forum root. Path should be: http://www.yoursite.com/forum/js click merge if this folder exists ************* STEP TWO ************* goto admincp >> styles and templates >> your template >> search for: header and open it find: Code:
<input type="hidden" name="vb_login_md5password_utf" /> </form> </vb:if> Code:
<!--yobromofo.com countdown timer start--> <li><span id="yobromofo-countdown-timer"></span> seconds <a href="http://www.yobromofo.com/forum/f3/the-australia-day-thread-17840/">until Australia Day</a></li> <!--yobromofo.com countdown timer end--> "http://www.yobromofo.com/forum/f3/the-australia-day-thread-17840/" to the forum thread this countdown refers to. If you dont need a link, then change to... Code:
<!--yobromofo.com countdown timer start--> <li><span id="yobromofo-countdown-timer"></span> seconds until Australia Day</li> <!--yobromofo.com countdown timer end--> Click SAVE ************* STEP TWO ( final step ) ************* open headinclude at very bottom add Code:
<!--yobromofo.com countdown js file start--> <script type="text/javascript" src="js/count.js"> </script> <!--yobromofo.com countdown js file end--> Click save. You are DONE ! to change the event date etc. just edit the js file, reupload you are done. to change the event title, change it in the header template. Have fun. Steve aka timberfloorau from YoBroMoFo.com British Expats Forum Download
|