There's been some talk about a countdown feature, which will be coming "soon", and so I had a suggestion, for the script that is:
This script would display the number of days only. The idea is that when you have the start tag (say, [countdown]) that would be everything up until "countdown(" you would then enter your date, (eg. 2005,5,5) and then the closing tag ([/countdown] would be the ")" and the </script>
//change the text below to reflect your own,
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
var today=new Date()
if (todayy < 1000)
var todaystring=montharray[todaym]+" "+todayd+", "+todayy
var futurestring=montharray[m-1]+" "+d+", "+yr
else if (difference>0)
//enter the count down date using the format year/month/day
Set as mentioned above, the script would produce the following result:
therefore, you would simply write:
It's only [countdown]2005,5,5[/countdown] days until May 5!
which would display as:
It's only 29 days until May 5!
and it would update itself every day. On the day in question, the script would display "0".
I'm not sure if it would work, I'm pretty sure it will, I read the FAQ on the vBulletin site to try to get a better undertstanding of how the vB scripts work, and I think this should work. I guess the admins can play around with it. Or maybe they've already been working on something. Anyway, hope this helps.