Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: blouogies20 on April 21, 2008, 03:38:23 PM

Title: Need help with a banner
Post by: blouogies20 on April 21, 2008, 03:38:23 PM
I have a question. How do you change the banner?   I thought all I had to was replace the smflogo.gif with the banner I made but it didn't work.

Thanks for any and all help.
Title: Re: Need help with a banner
Post by: Deaks on April 21, 2008, 05:30:52 PM
what theme and what do you wanna do exactly?
Title: Re: Need help with a banner
Post by: rider on April 21, 2008, 05:46:32 PM
Quote from: RunicWarrior on April 21, 2008, 05:30:52 PM
what theme and what do you wanna do exactly?
i'm trying to help them with this.Its SoftMCBlue 1.1.for TP.We're tyring to add a banner for the theme and as mentioned we tried to replace the smflogo.gif with the banner we have but it didn't work.Thanks for any help you might provide.
Title: Re: Need help with a banner
Post by: redone on April 21, 2008, 06:54:47 PM
Posting the index.template.php would help. ;)
Title: Re: Need help with a banner
Post by: rider on April 21, 2008, 08:01:41 PM
Ok here it is. :D.Thanks RedOne. ;D
Title: Re: Need help with a banner
Post by: Deaks on April 22, 2008, 08:35:51 AM
<div class="logo-box"><a href="/index.php"><img src="' . $settings['images_url'] . '/logo.gif" width="225" height="75" alt="', $context['forum_name'], '" title="', $context['forum_name'], '" /></a></div>

you have three options for this, you could change this line to

<div class="logo-box"><a href="/index.php"><img src="' . $settings['images_url'] . '/smflogo.gif" width="225" height="75" alt="', $context['forum_name'], '" title="', $context['forum_name'], '" /></a></div>

you could rename your current banner to logo.gif

or you could upload your banner again calling it logo.gif
Title: Re: Need help with a banner
Post by: rider on April 22, 2008, 12:46:25 PM
Thanks for the reply.I tried the renaming of the banner to logo.gif and this is what we ended up with.
http://www.teengeneration.co.za/index.php
Title: Re: Need help with a banner
Post by: Deaks on April 22, 2008, 02:40:45 PM
that link doesnt work :(
Title: Re: Need help with a banner
Post by: blouogies20 on April 22, 2008, 05:57:05 PM
Quote from: RunicWarrior on April 22, 2008, 02:40:45 PM
that link doesnt work :(
Hi sorry the server was off a bit.  Will you have a look at the link again please
Title: Re: Need help with a banner
Post by: Deaks on April 22, 2008, 06:27:53 PM
in the code i pasted above remove

width="225" height="75" from it
Title: Re: Need help with a banner
Post by: rider on April 22, 2008, 06:36:35 PM
I got it.yippee.lol I edited the logo.gif size in the index.template.php and it works
Title: Re: Need help with a banner
Post by: rider on April 22, 2008, 06:38:25 PM
Quote from: RunicWarrior on April 22, 2008, 06:27:53 PM
in the code i pasted above remove

width="225" height="75" from it
I changed the size to 950x75.Thanks so much for the help.I learned something new today.
Title: Re: Need help with a banner
Post by: Catherine on May 06, 2008, 11:07:18 AM
Hi same question .
I am trying to add a banner to Julie TP by Crip
Here is the banner a friend posted
http://img.photobucket.com/albums/v351/Aethenor/river2.jpg
I saved it and uploaded it here
http://members.iinet.net.au/~curran/riverlogo.gif
Then I added that url to Julie in the admin panel
on modifying themes and add url here or leave blank for default logo
but that did not work
I chmod the permissions on the admin panel
I chmod the files using cuteftp
I was able to chmod all the folders until I got to Julie and permission was denied .

I wanted to replace logo.gif within the images directory
but I could not upload it or delete the extg one or rename the extg one

I got error messages and checked details ;

The filename provided is not being accepted by the server. Please check for invalid characters and try again. Click Details>> to see the exact server response.

Request denied.
Please verify that the file or folder exists and that you have the necessary permissions on the server to perform the requested operation.
Details: COMMAND:>   SITE CHMOD 777 /public_html/forums/Themes/julie_tp
550 Could not change perms on /public_html/forums/Themes/julie_tp: Operation not permitted
ERROR:>      Requested action not taken (e.g., file or directory not found, no access).

What should I try next please ?
I want to add a banner to Julie TP and use it as my default .