Welcome

Welcome to the Forums, Blogs, Wikis discussion boards. If you're new here please take a moment to register for an account. If you're already a member here, welcome back. Please login to join in.

Forums, Blogs, Wikis » Software » Forums

Simple Machines - Header and Footer problem

  1. From the blog comments...

    Hello again, I’ve run into another problem. I created a few new boards in the forum and now my header and footer will not show up on them. When the page is loading you can see for a moment that the images try to load, but then they disappear as fast as they try to load.

    It’s so painfully obvious that I’ve never installed a forum before ..lol.

    I figured I'd move this over here since it looks like it might be a longer conversation and it's difficult to do more complex stuff via blog comments. It's just easier to work within a forum where the topic gets its own thread...

    It looks like the header and footer aren't showing at all anymore. Did you change anything in the settings?

    Ryan
    Posted 2 years ago #
  2. Anonymous
    Unregistered

    No, I didn't change anything in the settings, but I did change the header & footer. The new one is a graphic design I made in Fireworks. I can see it fine(using Firefox). Maybe if you empty your cache?

    Posted 2 years ago #
  3. Well, I guess it would help to list the URI we're talking about. It's http://www.wizbeepublishing.com/forum/ , correct?

    The header is below the Home / Help / Search links, correct?

    It looks like a similar problem to the links issue you were having earlier. If you look at the URI for the Beehive forum it's /forum/index.php/board,4.0.html. To the server that's a file named board,4.0.html which is in a folder called index.php which is in a folder called forum. So if you're trying to reference an image as forumheader_r1_c1.jpg it is trying to open /forum/index.php/forumheader_r1_c1.jpg. What you need to do is change the src="forumheader_r1_c1.jpg" to src="/forum/forumheader_r1_c1.jpg".

    And you're doing a good job for your first time customizing an SMF theme. I spent about 60 hours on the one I did and I'm fairly fluent in PHP and HTML.

    Posted 2 years ago #
  4. One other suggestion since you mentioned that you're using Firefox would be to install the web developer toolbar. There is a tool there that allows you to list any "broken" images along with their paths.

    Posted 2 years ago #
  5. Anonymous
    Unregistered

    Lol, thanks, it's good to know that I'm not as bad at this than I thought :)

    Yes, that is the correct URL. I downloaded the Firefox tool bar that you suggested and wow ..I never knew about that. It helps a lot! It did say that there are 49 broken images.

    I'm not showing an index.php folder, only a PHP file(that's what is says under "type"), plus the thumbnail is of a file, not a folder. How about this ..if I create the path(create an index.php folder), will it work?

    Plus, I'm not seeing the board,4.0.html file either. Am I supposed to have a file for that in my database?

    Posted 2 years ago #
  6. The /index.php/ isn't an actual folder. It looks like SMF is doing some type of rewrite to make the URI more "search engine friendly". What's happening is the server is trying to serve the file /forum/index.php/board,4.0.html and when it can't find it it sends that path to the SMF software which then pulls the board with ID #4 and starts at 0 with the posts (the 4.0 part of the URI). I use a modification called SEO4SMF which does something similar.

    What you're going to need to do is change the image links to use either a full URI (http://example.com/forum/filename.jpg) or put a slash on the front so it starts from your site root (/forum/filename.jpg).

    Posted 2 years ago #
  7. Anonymous
    Unregistered

    Okay, I think I understand ..not fully, but I'm just hanging in there enough :) I am going to do what you say and change the paths and see if that fixes it.

    I'll try putting in the slash first.

    Posted 2 years ago #
  8. Looks like it's working :)

    Posted 2 years ago #
  9. Anonymous
    Unregistered

    Yay! Yes it is :) the slash is becoming my little enemy ..heehee :) That's the second day of mine you've made! Again, thanks so very much! Since I'm new to this, the chances are good that I may need more help along the way. I'll look for you if I do. Thanks Ryan!

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in to post.