MyBB Community Forums

Full Version: is there?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
(2016-09-10, 01:28 PM)Phillip. Wrote: [ -> ]
jQuery(document).ready(function($){
   var dt = new Date();
   var currentHour = dt.getHours();
   $("#logo img").attr('src', 'http://crystalforums.cf/logo/logo_' + currentHour + '.png');
   $('body').css('background', '#FFF url(http://crystalforums.cf/bk/bg_'+currentHour+'.png) no-repeat center center fixed');
   $('body').css('background-size', 'cover');
});

Make sure all the backgrounds are using bg_ at the beginning of them and using png at the end of them. I've had problems with that in the past and can't reach my sites right now to help out on the coding like SentoWeb did.

okokok y'all gonna hate me but i name the files bk not bg

CRIIII
Problem should be fixed now right? Smile
(2016-09-10, 01:30 PM)Phillip. Wrote: [ -> ]Problem should be fixed now right? Smile

Yes, i'm gonna try out the bk for the logo thing now c:
Meaning both threads can now be closed. Smile
(2016-09-10, 01:41 PM)Phillip. Wrote: [ -> ]Meaning both threads can now be closed. Smile

no, i still need support if i don't do the logo.php right. Where will i upload it!?
Go back to the code and look at the logo coding pretty good and go by that. Smile
(2016-09-10, 01:46 PM)Phillip. Wrote: [ -> ]Go back to the code and look at the logo coding pretty good and go by that. Smile

That's what i'm doing. Where do i upload the logo.php file though?
https://community.mybb.com/thread-200425...pid1241734

Read that again. Pretty much in the root directory of the site.
Where is the logo url located?
jQuery(document).ready(function($){
   var dt = new Date();
   var currentHour = dt.getHours();
   $("#logo img").attr('src', 'http://crystalforums.cf/logo/logo_' + currentHour + '.png');

Right there in the code...whereever you put the images at they go there.

You are using Project theme as your main theme...meaning forums/images/project should be the path to take.
Pages: 1 2 3