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.
I liked the mod. However, I tested it before putting it live. You can easily go around the dates by modifying your computer's day / time; and my users are quite computer friendly; sadly.
Although its nothing biggie if you plan to show your users funny links and such, but I planned to used the mod to give tips and hints for a big puzzle, with a forum prize to whoever gets the answer first.
In the end, I opted for a text-based advent
Thanks though!
Only Problem i see is, that the falling snowflakes always pop up the scrollbar on the right side.
I change to other gif without animation, but still the same problem. same with bigger/smaller wallpaper.
All other works fine! Thanks.
Is there any way to enable snowflakes wirthout popup the scrollbar if the flakes fall to the end of the wallpaper?
Thank you very much for your Help! PLEASE! (Version 3.82)
EDIT: I checked - This problem is only by using Firefox
I don?t understand why, but before ich wrote here i modified Line 38 for IE, AND Javascript.
But after i set the Stettings up to 50 Flakes ALL works fine.
Thanks for this great Hack!
My Members will love it! - I?m sure!
I installed it and it re-filled it, everything works fine and my users are all very happy.
Some have the IE Problem, I will try later on to use the solution you showed here.
But some have a new Problem: They have I-Pads. On the Ipad the Calender is opening, also the doors can be opend. After the open door I have pdf files. Also these files can be seen. But they can not be scrolled, because they are not opend as pdf files.