Version: 1.0, by Coroner
Developer Last Online: Dec 2011
Category: Mini Mods -
Version: 3.7.x
Rating:
Released: 11-01-2008
Last Update: 11-03-2008
Installs: 75
DB Changes Uses Plugins Template Edits
Translations
No support by the author.
What is it ?
It's a simply Advent Calendar. I've filled it with images,music and videos (youtube or myvideo).
Each day (there are only 24 ) can have an image url or data (data like: <object ....).
How does it works ?
Like an advent calendar. I've created an simply template with an iframe in it. In this frame you will see a background-picture, doors (is the word correct ?) (calendar days) and - if you set it to on - snowflakes.
This calendar can only use on december and a day will only open if it's the correct day or an earlier day.
Example: it's 7th of december, so you can open all day include the 7th.
Each day will give a popup window (you can change the size for each day).
If you try to open a calendar day on a later date it will give you an error (confirm script) - this can also, when a day is "empty".
Empty means:
You have entered an image-url but selected "data" (in admincp) or you selected "image" but the image-url is empty.
After install all 24 days are filled will "funny movies", "pictures", "flash" or "music". You can change everything you like.
There are a few settings (is online, snowflakes on/of and count of snowflakes).
Also there are only 2 permissions:
- the permission to use the calendar
- the permission to test the calendar
If you set a usergroup to test the calendar, the users can see and click all the days of the calendar - that needed for testing !
Some technical
The iframe-size is set to 1024x768 and can changed in the template adventcalendar.
All images, javascript and the background html lies in: images/advent.
If you wanna change the backgound-image, change "images/advent/wallpaper.jpg".
The snowflake image can also changed (images/advent/snowflake.gif)
Installation
There is NO installation READ.ME !
Simply upload all files and import the product.
The product creates a plugin that used $template_hook[navbar_buttons_left] for the navbar.
P.S. deutschen Support gibt es auch bei your-vb
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
You have to change the database: adventcalendar_days
each day has an entry (swf, ...)
an example is day 2 - it will open a webpage
It doesn't work though. Your day 2 was an image, not a web page. It came from a web page, but it was an image file. If you put a web page in there, it does not open correctly. It needs another selector other than Image or Data.
Thank you for your support on this. We love the product... just need to be able to have the day open a web page.
?'m sorry (was too blind).
There is no change to open a Web-page (without changing the php).
What I do is simply. Reading the informations coming from the database and place it into the template.
Ok. Thanks for responding. I'm just learning how to code, so I don't know if I can do it but I'll give it a try. I was able to add a day 25, but this sounds more challenging.
Again, thanks for such a great product. Have a blessed Christmas!