Simple Machines Community Forum

Customizing SMF => Tips and Tricks => Topic started by: dtm.exe on March 18, 2005, 05:10:02 PM

Title: How Do I Hide Forum Title?
Post by: dtm.exe on March 18, 2005, 05:10:02 PM
OK, if you go to www.oi-forums.com , you'll see that ugly OI Forums text at the top of the page.  What do I have to edit out of index.template.php to get rid of the title?

-Dan The Man
Title: Re: How Do I Hide Forum Title?
Post by: A.M.A on March 18, 2005, 05:29:21 PM
remove this:
<span style="font-family: Georgia, sans-serif; font-size: xx-large;">', $context['forum_name'], '</span>
leave th last ';
Title: Re: How Do I Hide Forum Title?
Post by: dtm.exe on March 18, 2005, 05:31:50 PM
Thank you, I'll try that now.

-Dan The Man
Title: Re: How Do I Hide Forum Title?
Post by: dtm.exe on March 18, 2005, 10:59:58 PM
Oh, did I post in the wrong section?  Sorry if I did :P

-Dan The Man
Title: Re: How Do I Hide Forum Title?
Post by: zapece on August 02, 2005, 08:06:40 AM
Dan,
       I am in the same position. I want to put a nice header in and noticed that you have managed to do so on oi-forums. What code do I have to add to index.template.php to point to my new header image after I have removed the default 'My community' text.

My forum is at http://www.planetarypolitics.com/forum/index.php

I haven't set up the http redirect from the main url yet.

Thanks in advance :)

Title: Re: How Do I Hide Forum Title?
Post by: 1MileCrash on August 02, 2005, 09:17:53 AM
it's in the Graphic FAQ

find
', $context['forum_name'], '

Replace with an image script
<img src="', $settings['images_url'], '/IMAGE.GIF" border="0">

replace "IMAGE.GIF" with the actual file name.
Title: Re: How Do I Hide Forum Title?
Post by: zapece on August 02, 2005, 09:47:03 AM
Many thanks. I will check out the graphics faq.
Title: Re: How Do I Hide Forum Title? Updated
Post by: brunitox on February 09, 2006, 02:43:02 PM
Hey..
In smf 1.1 RC2 just look for
<td align="right" class="myheader" valign="top" style="height: 50px; border: solid 1px #a0a0a0; ">'.$context['forum_name'].'<br /></td>
and delete or change with whatever you want forum_name
Title: Re: How Do I Hide Forum Title?
Post by: 1MileCrash on February 09, 2006, 05:32:29 PM
that will cause errors. delete the whole php string.
Title: Re: How Do I Hide Forum Title?
Post by: onijin on March 21, 2006, 11:31:26 AM
Quote from: Tippmaster on February 09, 2006, 05:32:29 PM
that will cause errors. delete the whole php string.
Did that.  Killed my forums.  Got a blank page now.

Restored a backup index.template.php and it's still a blank page.

/me weeps
Title: Re: How Do I Hide Forum Title?
Post by: H on March 21, 2006, 11:48:35 AM
Quote from: onijin on March 21, 2006, 11:31:26 AM
Quote from: Tippmaster on February 09, 2006, 05:32:29 PM
that will cause errors. delete the whole php string.
Did that.  Killed my forums.  Got a blank page now.

Restored a backup index.template.php and it's still a blank page.

/me weeps

Maybe you modified the wrong file...

If you haven't got any mods installed you can re-upload all files except install.php, settings.php, update.php and upgrade.php
Title: Re: How Do I Hide Forum Title?
Post by: onijin on March 21, 2006, 02:21:20 PM
I'm pretty sure I did the right file.

But I just labled it a lost cause and am re doing everything.  Supprisingly, even with all my mods, it'll only take a couple days to get it back to what it was.  It was still in it's testing phase and didn't have any members/posts.

No big loss.
Title: Re: How Do I Hide Forum Title?
Post by: CraigPal on October 15, 2008, 01:43:04 AM
Thanks, I've been looking for a way to edit out the "- index."
Title: Re: How Do I Hide Forum Title?
Post by: remi_naija on May 22, 2009, 06:17:34 AM
Thanks for all the selfless service.
My! I almost wrecked my forum trying to solve this one on my own.