TinyPortal

General => Chit chat => Topic started by: knat on January 09, 2007, 08:15:39 PM

Title: Thinking Out Loud :-)..ooO( Night Theme / Day Theme - Possible ??? )
Post by: knat on January 09, 2007, 08:15:39 PM
Can a have two themes that automaticly change depending on the time of day (https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.gapeindex.dk%2FSmileys%2Fgreen_smiles%2Fuhm.gif&hash=fdfa251223987d737e43e5fca9b3d6c47a1646a9)

One for night would be black and dark colors

One for day would be white and bright colors

But is it possible to make it change automaticly ?   ::)

Would it be a cool feature or would users just hate it ??  ???
Title: Re: Thinking Out Loud :-)..ooO( Night Theme / Day Theme - Possible ??? )
Post by: RoarinRow on January 09, 2007, 08:32:16 PM
Sounds like a cool feature, but I know my members would like it.  When I change it to upgrade the forum or TP, they always ask how do get my theme back!    :2funny:
Title: Re: Thinking Out Loud :-)..ooO( Night Theme / Day Theme - Possible ??? )
Post by: Crip on January 12, 2007, 11:33:54 AM
Sure..anything is possible
Title: Re: Thinking Out Loud :-)..ooO( Night Theme / Day Theme - Possible ??? )
Post by: akulion on January 12, 2007, 06:37:09 PM
that would be nice but annoying - the reason i say that is because like on my site I have people who absolutely have the hardest time reading against darker theme backgrounds

while others complain the lighter themes are burning out their eyeballs lol

so i just put light, dark and medium - hard task trying to please everyone

but an alternative idea could be ur normal 'style sheet changer' on a theme....
Title: Re: Thinking Out Loud :-)..ooO( Night Theme / Day Theme - Possible ??? )
Post by: bloc on January 16, 2007, 05:57:51 PM
Codewise its very possible..but themewise maybe less difference is a way to go, for example a theme with day-time activites and references in it, while at night nightly stuff of course. :) Would depend on what the theme is about too.
Title: Re: Thinking Out Loud :-)..ooO( Night Theme / Day Theme - Possible ??? )
Post by: knat on January 16, 2007, 06:13:08 PM
Well im not actually goin to create it.. just thought that the idea was cool and maybe pass it on to somebody who can code it/use it.  :)

and ofcourse i was wondering if it could be done.. but hey if you can have the forum greet your users depending on the time of day i guess you can have it change theme too  ;D
Title: Re: Thinking Out Loud :-)..ooO( Night Theme / Day Theme - Possible ??? )
Post by: JPDeni on January 16, 2007, 06:17:32 PM
The greeting is just displaying one line of text. It's very simple. A theme is completely different in that it defines a whole directory and is set way before the greeting is set.
Title: Re: Thinking Out Loud :-)..ooO( Night Theme / Day Theme - Possible ??? )
Post by: bloc on January 16, 2007, 06:26:24 PM
Yup, a greeting was something I added to another site of mine a long time ago. Users loved it.

Can't promise anything, but its an interesting idea. It all depends on the theme of the theme...erm...as in what the theme is about. ;D

EDIT:

JPdeni is right, loading another theme requires manual changes to source files - a mod. But making a theme with totally different gfx and stylesheet is quite possible. It only has to check for the time of day in index.template and then load the appropiate stylesheet and set the right images folder. Of course each changed template in that theme needs two sets of "changes". But setting a switch will accomplish that..plus of course not chnaging so much outside index.template. 

Or..you could use layers.