Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: daniel2828 on November 29, 2010, 01:41:53 PM

Title: Question about a header in SMF
Post by: daniel2828 on November 29, 2010, 01:41:53 PM
Hello,

I would like to have SMF appear under our site's banner. I attempted to accomplish this simply by placing the entire index.php file in a table directly under our banner. Everything was looking and working great until someone notified me that they were unable to register because a blank icon was appearing in the CAPTCHA field. The audio still worked as it should. Is there a simple work-around for this?

Thanks for any help!
Title: Re: Question about a header in SMF
Post by: kat on November 29, 2010, 04:39:24 PM
Hi, Daniel!

Do you want your banner like I have mine, here?

http://www.tlakoc.org.uk

If so, find the opening <body>'; tag in index.template.php and put this as the next line:


<div style = "text-align: center;"> <img src="http://yourforumurl.com/Banner.gif" usemap="#Banner" alt="" style="border-style:none" /></div>


That's assuming that your banner is named "Banner.gif" and it's stored in the root of your site.

Obviously, you'll need to change the URL, to suit.

Clicking the banner will take you to your homepage.
Title: Re: Question about a header in SMF
Post by: daniel2828 on November 30, 2010, 02:58:36 AM
Thanks, K@, I'll check it out.
Title: Re: Question about a header in SMF
Post by: daniel2828 on November 30, 2010, 03:02:03 AM
Although here is the banner I'm talking about, so it's a little more complicated than just a single gif:

http://www.photoworkshop.com
Title: Re: Question about a header in SMF
Post by: oyedepo1 on November 30, 2010, 05:34:53 AM
I also have the same issue here.

I just install a custom theme and I want to remove the header that comes with it. And you made mention of index.template.php. Where can I find it?
Title: Re: Question about a header in SMF
Post by: JimM on December 19, 2010, 05:54:36 PM
/Themes/yourthemename/index.template.com

Many themes allow you to change the logo from within the Admin control panel.  Take a look at Current theme.