SMF Online Manual

*
  • Home
  • Community
  • Download
  • Customize
    • Modifications
    • Themes
    • Upgrades
  • Support
    • Function Database
  • Online Manual
  • About
  • Contribute
  • Development
 

Documentation of the moment:

Managing permissions on your forum


  • Home
  • Help
  • Search
  • Login
  • Register

  • SMF Online Manual »
  • Glossary »
  • FAQs »
  • Theme Questions »
  • Topic: How do I remove the Simple Machines Logo?
 
Install SMF Installing Upgrading Converting
Using SMF User Moderator Administrator
Advanced Mods and Themes More Info
Glossary Terminology FAQs References Feature List What's New
Comments Feedback Requests
« previous next »
How do I remove the Simple Machines Logo?
The logo on the top right hand corner of the forum that reads Simple Machines by default, can be removed if desired, especially if you already have a logo for your site, and your forum is wrapped inside of your site.

Example:


Here's how you can remove the logo.

First, you will need a FTP program to download your index.template.php file with. The file can be found in the <theme_name> directory inside of the Themes directory.

Than Locate and delete following code:
For SMF1.1.x (Core)
Code: [Select]
<td align="right" class="catbg">
<img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" />
</td>

For SMF2.0.x (Curve)
Code: [Select]
<img id="smflogo" src="' . $settings['images_url'] . '/smflogo.png" alt="Simple Machines Forum" title="Simple Machines Forum" />
Upload the modified index.template.php over the existing one with your FTP program and your logo image in the forum header should no longer appear.

--

Note: The code you must remove may vary from theme to theme. If you cannot find the same code as highlighted here, search for similar code and try to work with that or consult with the theme author for help with the particular theme you are trying to do this for.
Print
Reply
Reply with quote



Comments:
Quote
Scott Ruffner made the following comment on August 19, 2008, 03:15:33 PM:

You can also just move that gif file out of the path of the php file. 

something like
mv smflogo.gif ./smflogo.gif.bak

Quote
Jade made the following comment on August 19, 2008, 04:21:59 PM:

Deleting or renaming the image will throw errors in your websites error log, so we don't recommend this. Just edit where it's called either by renaming or removing, and delete/rename the .gif. Be sure if you rename the .gif in the code that an image with that name still exists :).

Quote
deltaecho5 made the following comment on January 12, 2009, 09:06:18 PM:

I've found the easiest way (if the space isn't needed) is to simply edit the smflogo.gif file to an empty 238x50 transparent .gif file. 

No errors in log and no code to edit.

Quote
CSS made the following comment on March 14, 2009, 12:56:26 PM:

thanks

Quote
Jade made the following comment on March 21, 2009, 03:33:06 PM:

You guys realise there's a mod that does this don't you?
http://custom.simplemachines.org/mods/index.php?mod=1325

Quote
drtonik made the following comment on May 03, 2009, 04:44:50 PM:

Pls Jade am confused by all the tech terms you guys are using here.

In simple English, are you saying (on Aug 19, 2008 above) if i delete the code as recommended in the doc above (and which i see to be simpler), that there will be errors on my forum?
And does your 2nd sentence (on same date) mean that i should ONLY REMOVE/RENAME the .gif from the code?

Note that I find downloading the template and simply deleting the code far more easier than using the mod u recommended.

Please explain in simple English cos i just cant follow you guys.
Do i delete the whole code, or do i simply only delete the .gif or just rename the .gif? Which is it please?
thanks

Quote
Jade made the following comment on May 05, 2009, 05:30:24 PM:

Please see the comment above yours, as it has a link to a mod that does this for you :).

Quote
CarpeDiem made the following comment on June 13, 2009, 02:54:36 PM:

The line in 2.0 RC1-1 is different than above.  It's:

Code: [Select]
<img class="floatright" id="smflogo" src="' , $settings['images_url'] , '/smflogo.gif" alt="Simple Machines Forum" />

Quote
Jack-sparrow made the following comment on August 17, 2009, 08:16:17 PM:

It's a long php file and I couldn't find the code location, so I found folder images and smflogo.gif and RENAME to anything  or delete it if you wish.  I want to keep it for reference and rename it to ...smflogo.gif and it's gone off the header.

Quote
shadow82x made the following comment on November 18, 2009, 11:28:09 PM:

Updated the doc to show removal of the logo on curve.

Quote
B made the following comment on January 20, 2010, 05:37:05 PM:

Quote from: Jack-sparrow on August 17, 2009, 08:16:17 PM
It's a long php file and I couldn't find the code location, so I found folder images and smflogo.gif and RENAME to anything  or delete it if you wish.  I want to keep it for reference and rename it to ...smflogo.gif and it's gone off the header.


While this may work, it is not optimal. :) Every page on your forum will still make a call to smflogo.gif, and some browsers may replace it with a different image showing that something's missing (like IE's red x).

B


Advertisement:
  • Powered by SMF 2.0 RC2 | SMF © 2006–2009, Simple Machines LLC
  • XHTML
  • RSS
  • WAP2

Page created in 0.143 seconds with 16 queries.
Page served by: 10.0.100.134