The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Forum Background change- time of day.

View previous topic View next topic Go down

Solved Forum Background change- time of day.

Post by Suuki on October 1st 2011, 11:44 pm

Is the some kind of code so my forums backround will change depending on what time it is?
I'm running on PHPBB2...and here is a link to my Forum: ---


Last edited by Suuki on October 14th 2011, 12:54 am; edited 2 times in total

Suuki
Forumember

Posts : 419
Reputation : 25
Language : English, Japanese (learning lots) :3

Back to top Go down

Solved Re: Forum Background change- time of day.

Post by ankillien on October 3rd 2011, 10:52 am

Hi,

Yes, this can be done with JavaScript. Can you give me details about what background should show up on what time?

ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

http://www.webartzforum.com/

Back to top Go down

Solved Re: Forum Background change- time of day.

Post by Suuki on October 9th 2011, 6:30 am

I'm not sure exaclly what I want yet. But if it's possible I would love this function. Can you give me a code so I can enter it in later?

Suuki
Forumember

Posts : 419
Reputation : 25
Language : English, Japanese (learning lots) :3

Back to top Go down

Solved Re: Forum Background change- time of day.

Post by LGforum on October 9th 2011, 6:43 am

Jeez it would be a bit of an awkward code.

You could use a function which gets the time, from the users computer, there are some javascript functions for that, write some IF-THEN-ELSE statements depening on the time string, to change the background image.
And then THAT function would have to be contstntly updating. Actually you could likely run it updating every like half an hour or something. Or every 15 minutes.

It certainly possible. just a bit awkward. Testing would take a long time too, waiting for the right time Razz

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Forum Background change- time of day.

Post by Suuki on October 11th 2011, 12:13 am

LOL, aw I see...bit too advanced I guess...I actually I know a site that does this, if that would make it easier. :3
http://www.belltreeforums.com/

Suuki
Forumember

Posts : 419
Reputation : 25
Language : English, Japanese (learning lots) :3

Back to top Go down

Solved Re: Forum Background change- time of day.

Post by LGforum on October 11th 2011, 1:07 am

As i say its perfectly possible. Wink

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Forum Background change- time of day.

Post by Suuki on October 11th 2011, 3:41 am

Not only the background. I would also like the...what's it called....forum body? The square thats around the forum categories (I need to add one on my forum) To also change. I'm pretty much trying to achieve a similar look like the bell tree, I like how smoooth~it is/// X3

Suuki
Forumember

Posts : 419
Reputation : 25
Language : English, Japanese (learning lots) :3

Back to top Go down

Solved Re: Forum Background change- time of day.

Post by Ralmslb on October 12th 2011, 1:35 pm

Wow this cool make some cool effects XD I will want to do this at my forum as well.

Ralmslb
New Member

Posts : 2
Reputation : 2
Language : Portuguese

Back to top Go down

Solved Re: Forum Background change- time of day.

Post by Suuki on October 12th 2011, 3:47 pm

IKR? X3

Suuki
Forumember

Posts : 419
Reputation : 25
Language : English, Japanese (learning lots) :3

Back to top Go down

Solved Re: Forum Background change- time of day.

Post by Nera. on October 13th 2011, 11:26 pm

The last script offered should do the trick Suuki. I've tried it http://www.codingforums.com/showthread.php?t=222800

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: Forum Background change- time of day.

Post by Suuki on October 14th 2011, 12:53 am

Thank you Nera and everyone else. Smile

Suuki
Forumember

Posts : 419
Reputation : 25
Language : English, Japanese (learning lots) :3

Back to top Go down

Solved Re: Forum Background change- time of day.

Post by ankillien on October 14th 2011, 3:36 am

Topic Solved

ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

http://www.webartzforum.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum