The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||||
Title: Countdown To Calendar Events hack
Newest Release: 10.04.2001 Author: mister What It Does: Counts down (to the day) to any public events in the calendar. plus any private events a user may have. Screenshot: ![]() Download: see attached file (countdown1.zip) Possible Future Enhancements:
How To Install 1) upload countdown.php to your main forums directory 2) create two templates countdown_bit Quote:
note: all {} values have spaces in them so this forum doesnt parse them... copy/paste from the included text file if you dont want to search for all the { blah } variables to change in this template Quote:
3) create a { nav_joiner } replacement variable. (or just edit that out of the template, and put your own in there... its up to you 4) Enjoy. Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Nice, but I had to replace {nav_joiner} with >
Thanks!
|
|
#3
|
|||
|
|||
|
oh yea
ill put that in the instructions. make a replacement variable { nav_joiner } .. or replace it with whatever.. thanks |
|
#4
|
|||
|
|||
|
Also.. Is there a reason it does not span the whole page like normal. its only spans about 80-85%?
ex: http://forums.yourhostsucks.com/countdown.php |
|
#5
|
|||
|
|||
|
One more thing...
![]() You will need to edit online.php or it will look like: Unknown Location: /countdown.php? ---------------------------------------------------------------------- Open online.php: Around Line 200 you will see alot of "case" statements Throw this in there somewhere: PHP Code:
Throw this in there: PHP Code:
(FYI) |
|
#6
|
|||
|
|||
|
Quote:
edit this line: Quote:
|
|
#7
|
|||
|
|||
|
Much better
![]() Thanks!... Now I just need the board to be more than a week old, and get some events happening...
|
|
#8
|
|||
|
|||
|
Great hack. What happens if you have like hundreds of events, will it span pages?
|
|
#9
|
|||
|
|||
|
Quote:
maybe ill work this into future releases .. or someone can add that in and give us the code... i dont need it just yet, so i didnt bother putting it in, but the thought did cross my mind ... |
|
#10
|
|||
|
|||
|
this would be great for small boards and user birth-days
could u make it so b-days show up?
|
![]() |
|
|