Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Help with writing Clock count-down extension?
OK, I'm thinking of making my first extension... whilst I have only modded php scripts before, what I want to do is just integrate an existing small script into vanilla.
The only thing I want the extension to do is create a (css-formattable) text line which reads "There are (whatever) days left to (whateveryouwant)". Ideally it should be possible to edit the event time and the description from within Vanilla. But that's just a bonus (I'll be happy with manual editing)
The script I've been considering can be found here:
http://elouai.com/countdown-clock.php
Any recommendations for how to start building this? I reckon perhaps I should start by looking at the code in some existing extensions?
0
This discussion has been closed.
Comments
So where did you want it inserting?