vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Holiday Headers (https://vborg.vbsupport.ru/showthread.php?t=33120)

Bald Bouncer 12-10-2001 10:00 PM

Have your header change on the below Holidays!

holiday_xmaseve < -- CHRISTMAS EVE
holiday_xmasday < -- CHRISTMAS DAY
holiday_boxingd < -- BOXING DAY
holiday_newyreve < -- NEW YEARS EVE
holiday_newyrday < -- NEW YEARS DAY
holiday_mardgras < -- MARDI GRAS (US)
holiday_valentin < -- VALANTINES DAY
holiday_easterdy < -- EASTER
holiday_aprilfoo < -- APRIL FOOLS DAY
holiday_independ < -- INDEPENDANCE DAY (US)
holiday_hallowee < -- HALLOWEEN
holiday_bommynig < -- BOMMY NIGHT

You can add more easily by following the pattern in holiday.php ;)

bira 12-11-2001 12:07 PM

you forgot to attach the file, it seems :)

Bald Bouncer 12-11-2001 12:27 PM

Yeah I guess it would help :D

madhouse 12-11-2001 06:36 PM

Not sure how this works...have it loaded..but just not sure...lol

Crinos 12-11-2001 07:02 PM

Hmmm, I assume that this is just an automatic template loader triggered by specific dates? And that those who use this should create their own holiday_x header templates?

I'll pass :)

Dakota 12-11-2001 08:43 PM

Could you post a picture or two of what it does?

bira 12-11-2001 08:56 PM

I love the idea - I will probably alter it a bit and use it for our GP weekends. Thanks Bald Bouncer :)

Nam 12-14-2001 09:34 AM

demo site? screen shot?

Bald Bouncer 12-14-2001 02:03 PM

no point in providing a demo site as it only works on holidays...

its simple to understand...

if its a holiday (xmas, easter) then it will load a different header template (the one with your board logo in) so you can add a holiday feel to your board

Lesane 12-14-2001 03:19 PM

Pretty cool :cool:, thanks for the hack.

Elanor 03-22-2002 11:49 PM

A very nice hack. =)


All times are GMT. The time now is 03:25 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.02143 seconds
  • Memory Usage 1,717KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete