vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Mini Mods - Advent Calendar 2008 (https://vborg.vbsupport.ru/showthread.php?t=195245)

RedeemedWarrior 12-02-2008 06:06 AM

Awesome awesome stuff :D

bjkinzluvr 12-02-2008 12:04 PM

Quote:

Originally Posted by Coroner (Post 1676836)
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.

Coroner 12-02-2008 03:22 PM

Î'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.

buddyheiko 12-02-2008 06:42 PM

Hi TimberFloorAu,

I had to fix the advent.htm.

But how do I get a button into my navbar so everyone can see my calendar ?

Heiko

Coroner 12-03-2008 09:57 AM

Take a look at the 1st post (modification) under installation.
See "template_hook" ? That's what you need

bjkinzluvr 12-03-2008 10:56 AM

Quote:

Originally Posted by Coroner (Post 1677106)
?'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!

cindy helmond 12-03-2008 11:06 AM

dont get open the links javascript error ? ie 7 any fix here ?
thx

see att !!

RedeemedWarrior 12-04-2008 05:10 AM

Quote:

Originally Posted by cindy helmond (Post 1677701)
dont get open the links javascript error ? ie 7 any fix here ?
thx

see att !!

i have the same error

powerful_rogue 12-04-2008 05:57 AM

Quote:

Originally Posted by RedeemedWarrior (Post 1678260)
i have the same error

Line 38 of advent.htm (in the images folder) change to:

PHP Code:

window.open("./../../adventcalendar.php?do=open&securitytoken=" parent.SECURITYTOKEN "&day=" id"AdventDay","width=" pw ",height=" ph ",left=5,top=5,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0"); 


RedeemedWarrior 12-04-2008 07:23 AM

worked a treat thanks


All times are GMT. The time now is 03:57 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01401 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete