Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Advent Calendar 2010 Details »»
Advent Calendar 2010
Version: 1.0, by Coroner Coroner is offline
Developer Last Online: Dec 2011 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.0.8 Rating:
Released: 11-13-2010 Last Update: Never Installs: 38
DB Changes Uses Plugins Template Edits
Translations  
No support by the author.

Two years ago and xmas is knocking on the door (again).

Based on the 2008 advent-calendar, here comes the vB4 version.

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's necessary 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.

You can see the images here (advent calendar of 2008):
https://vborg.vbsupport.ru/showthrea...18#post1657818

After installing, setting the Calendar online and set the usergroup permissions, you will find a new Link under "community"

Download Now

File Type: zip advent_calendar.zip (278.5 KB, 233 views)

Screenshots

File Type: png Bild 1.png (19.2 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 11-22-2011, 07:21 PM
Anopheles's Avatar
Anopheles Anopheles is offline
 
Join Date: Sep 2008
Location: Stadtallendorf / Germany
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmmh, no answers?
Reply With Quote
  #23  
Old 12-15-2014, 09:49 AM
Jaydee 2 Jaydee 2 is offline
 
Join Date: Oct 2008
Location: Germany/Ruhrgebiet
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

With a little bit modification it's still running in 4.2.2 and in the year 2014 as well.

At the behest of the forum owner many thanks for that - and from me merry christmas, a happy new year and best regards from Germany,
J?rg
Reply With Quote
Благодарность от:
Judith2
  #24  
Old 11-21-2015, 10:17 AM
Mr_Devlin Mr_Devlin is offline
 
Join Date: Nov 2005
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The db-changes wil not happen, tables will not being created, check your SQL-syntax, seems to be outdated

Quote:
Datenbankfehler in vBulletin 4.1.9:

Invalid SQL:
SELECT * FROM adventcalendar_days ORDER BY adventcalendar_daysid ASC;

Referrer : https://xxx/login.php?do=login
lendar_days ORDER BY adventcalendar_daysid ASC;

MySQL-Fehler : Table 'XXX.adventcalendar_days' doesn't exist
Fehler-Nr. : 1146
Fehler-Zeit : Saturday, 21.11.2015 @ 13:13:30
Datum : Saturday, 21.11.2015 @ 13:13:30
Skript : http://xxx/admincp/adventcalendar_admin.php
IP-Adresse : xxxx
Benutzername : xxx
Klassenname : vB_Database_MySQLi
MySQL-Version : 6.0.11-alpha-community
PHP Code:
$db->hide_errors();

                
$db->query("ALTER TABLE `" TABLE_PREFIX "usergroup` ADD `adventpermissions` INT(10) UNSIGNED NOT NULL DEFAULT '0'");

                
$db->query("DROP TABLE IF EXISTS `" TABLE_PREFIX "adventcalendar_days`;");
                
$db->query("CREATE TABLE `" TABLE_PREFIX "adventcalendar_days` (
                  `adventcalendar_daysid` int(11) NOT NULL auto_increment,
                  `active` smallint(1) NOT NULL default '0',
                  `image` text NOT NULL,
                  `data` text NOT NULL,
                  `bitfield` int(4) NOT NULL default '0',
                  `pwidth` int(4) NOT NULL default '0',
                  `pheight` int(4) NOT NULL default '0',
                  PRIMARY KEY  (`adventcalendar_daysid`)
                ) TYPE=MyISAM;"
); 
Any help about this issue?
Reply With Quote
  #25  
Old 11-21-2015, 07:45 PM
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Location: Uk
Posts: 1,191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mr_Devlin View Post
The db-changes wil not happen, tables will not being created, check your SQL-syntax, seems to be outdated



PHP Code:
$db->hide_errors();

                
$db->query("ALTER TABLE `" TABLE_PREFIX "usergroup` ADD `adventpermissions` INT(10) UNSIGNED NOT NULL DEFAULT '0'");

                
$db->query("DROP TABLE IF EXISTS `" TABLE_PREFIX "adventcalendar_days`;");
                
$db->query("CREATE TABLE `" TABLE_PREFIX "adventcalendar_days` (
                  `adventcalendar_daysid` int(11) NOT NULL auto_increment,
                  `active` smallint(1) NOT NULL default '0',
                  `image` text NOT NULL,
                  `data` text NOT NULL,
                  `bitfield` int(4) NOT NULL default '0',
                  `pwidth` int(4) NOT NULL default '0',
                  `pheight` int(4) NOT NULL default '0',
                  PRIMARY KEY  (`adventcalendar_daysid`)
                ) TYPE=MyISAM;"
); 
Any help about this issue?


Just tried this now and had the same issue mate
Reply With Quote
  #26  
Old 11-21-2015, 11:03 PM
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Location: DFW, Texas
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The error you posted does not correspond to the code you posted.
Just create the DB Table(s) manually.

Chances are the table was not created due to this:
Code:
 TYPE=MyISAM
Reply With Quote
Благодарность от:
ProFifaLeagues
  #27  
Old 11-23-2015, 08:36 AM
MrD's Avatar
MrD MrD is offline
 
Join Date: Aug 2003
Location: Germany/NRW
Posts: 419
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
change TYPE=MyISAM to TYPE=InnoDB
Reply With Quote
Благодарность от:
ProFifaLeagues
  #28  
Old 10-26-2016, 04:24 PM
elikkha elikkha is offline
 
Join Date: Oct 2011
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jaydee 2 View Post
With a little bit modification it's still running in 4.2.2 and in the year 2014 as well.
Hello

Anyway to have a new version for VB4 ?

Impossible to create table, what is this modification please ?

Thanks for any help
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:05 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06156 seconds
  • Memory Usage 2,321KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (3)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (2)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete