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)
-   -   Styles defined by day of the week (https://vborg.vbsupport.ru/showthread.php?t=52173)

Brad 04-25-2003 10:00 PM

Styles defined by day of the week
 
Hack Name: Styles defined by day of the week
By: Anime-loo

This hack allows you to set witch style will be displayed based on the day of the week.

For example:

Sundays global style id would = 1
Mondays global style id would = 2

The style id's do not have to be in order, each days style id can be set via the vBulletin options page.

You can also disable the users ability to use a custom picked style via the new options added.

MindTrix 04-26-2003 02:22 PM

Nice :) I would use it but the styles on my board dont work properly :( people change it but it dont change lol

Nice hack tho im sure alot of people would use it

Xyphen 04-26-2003 04:55 PM

wow good useful hack.. i'll try it out.

hayl 04-26-2003 09:46 PM

nice idea

Sweet Cheeks 04-26-2003 10:05 PM

very cool :cool:

gerlando 04-28-2003 05:20 PM

Just what I was looking for. Thanks.

Razor 04-28-2003 05:26 PM

Interesting idea. I'd find it a little annoying, though ;)

gerlando 04-28-2003 07:46 PM

Quote:

Today at 07:26 PM Razor said this in Post #7
Interesting idea. I'd find it a little annoying, though ;)
Keep in mind you don't have use a completely different style each day. Wired.com has the same design, but varies color schemes by day.

007 05-05-2003 04:44 PM

Hey does this hack change the style for all members on each day of the week? Or just the style for guests??? I don't think members would like it if they couldn't stay with the style they chose.

007 05-05-2003 05:33 PM

Ok I installed it but I get this problem:

Parse error: parse error in /home/www/xxxxxxx/forums/global.php on line 490

Fatal error: Call to undefined function: dynamic_a() in /home/www/xxxxxxx/forums/index.php on line 13

I had to change the settinggroupid from 105 to 420 (for some reason it defaulted to 105 and didn't show the settings) but I still cant get the page to load with the edits done to global.php??? Any ideas? I am running 2.2.9. Does this not work with that?

One thing was that you forgot the "!" before one of the if options, and it was also confusing trying to follow your "{" and "}"'s. I think they may be off. Is this the exact code you used yourself????? It works fine if I hardcode it without the variables that can be set from the admin cp, but I would like it to work how it is meant to work... Any ideas?


All times are GMT. The time now is 12:34 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.01161 seconds
  • Memory Usage 1,728KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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