News:

Wondering if this will always be free?  See why free is better.

Main Menu

How to delete the smf logo?

Started by Dr Web, January 01, 2009, 04:47:37 PM

Previous topic - Next topic

Dr Web

Hi,

Can anyone tell me what is the exact piece of code that I can delete to delete the smf logo on the 2.0 b4?

I already found the code but, I am afraid of mess with it because if I delete since div class catbg I need to delete also a div close and I don't know which one to delete.

<body>';
}

function template_body_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;

echo '
<div id="mainframe">
<div class="tborder">
<div class="catbg">
<img class="floatright" id="smflogo" src="' , $settings['images_url'] , '/smflogo.gif" alt="" />
<h1>';

if (empty($settings['header_logo_url']))
echo $context['forum_name'];
else
echo '
<img src="', $settings['header_logo_url'], '" alt="', $context['forum_name'], '" />';

echo '
</h1>
</div>';

// Display user name and time.
echo '
<ul id="greeting_section" class="titlebg2">
<li id="time" class="smalltext floatright">
' , $context['current_time'], '
<a href="#" onclick="mainHeader.toggle(); return false;"><img id="upshrink" src="', $settings['images_url'], '/', empty($options['collapse_header']) ? 'upshrink.gif' : 'upshrink2.gif', '" alt="*" title="', $txt['upshrink_description'], '" align="bottom" /></a>
<



Thanks for any help.
Never approach a bull from the front, a horse from the rear, or an idiot from any direction ;D

Bulakbol

Try removing only this line.
<img class="floatright" id="smflogo" src="' , $settings['images_url'] , '/smflogo.gif" alt="" />
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

shadow82x

#2
Also this  is in the SMF docs - http://docs.simplemachines.org/index.php?topic=1153.msg2800#msg2800

Late Edit: Appears this is only for the SMF1.1.x branch
Colin B
Former Spammer, Customize, & Support Team Member

Dr Web

Never approach a bull from the front, a horse from the rear, or an idiot from any direction ;D

Dr Web

ShaDow82x,

I did read that page before post this topic, but, I am running the 2.0 b4 and as you see my code is completely different, the TD is immediately closed below, in this case, it's not.

Thanks
Never approach a bull from the front, a horse from the rear, or an idiot from any direction ;D

Anmeon

which file do I need to take the code from?

shadow82x

Quote from: Anmeon on January 09, 2009, 08:45:08 PM
which file do I need to take the code from?
../Themes/default/index.template.php

:)
Colin B
Former Spammer, Customize, & Support Team Member

Anmeon

#7
thx that did the trick. I had to do it in the theme I was using to see it in that theme

Advertisement: