Simple Machines Community Forum

Customizing SMF => Tips and Tricks => Thema gestartet von: dtm.exe in März 18, 2005, 05:10:02 NACHMITTAGS

Titel: How Do I Hide Forum Title?
Beitrag von: dtm.exe in März 18, 2005, 05:10:02 NACHMITTAGS
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
Titel: Re: How Do I Hide Forum Title?
Beitrag von: A.M.A in März 18, 2005, 05:29:21 NACHMITTAGS
remove this:
<span style="font-family: Georgia, sans-serif; font-size: xx-large;">', $context['forum_name'], '</span>
leave th last ';
Titel: Re: How Do I Hide Forum Title?
Beitrag von: dtm.exe in März 18, 2005, 05:31:50 NACHMITTAGS
Thank you, I'll try that now.

-Dan The Man
Titel: Re: How Do I Hide Forum Title?
Beitrag von: dtm.exe in März 18, 2005, 10:59:58 NACHMITTAGS
Oh, did I post in the wrong section?  Sorry if I did :P

-Dan The Man
Titel: Re: How Do I Hide Forum Title?
Beitrag von: zapece in August 02, 2005, 08:06:40 VORMITTAG
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 :)

Titel: Re: How Do I Hide Forum Title?
Beitrag von: 1MileCrash in August 02, 2005, 09:17:53 VORMITTAG
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.
Titel: Re: How Do I Hide Forum Title?
Beitrag von: zapece in August 02, 2005, 09:47:03 VORMITTAG
Many thanks. I will check out the graphics faq.
Titel: Re: How Do I Hide Forum Title? Updated
Beitrag von: brunitox in Februar 09, 2006, 02:43:02 NACHMITTAGS
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
Titel: Re: How Do I Hide Forum Title?
Beitrag von: 1MileCrash in Februar 09, 2006, 05:32:29 NACHMITTAGS
that will cause errors. delete the whole php string.
Titel: Re: How Do I Hide Forum Title?
Beitrag von: onijin in März 21, 2006, 11:31:26 VORMITTAG
Zitat von: Tippmaster in Februar 09, 2006, 05:32:29 NACHMITTAGS
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
Titel: Re: How Do I Hide Forum Title?
Beitrag von: H in März 21, 2006, 11:48:35 VORMITTAG
Zitat von: onijin in März 21, 2006, 11:31:26 VORMITTAG
Zitat von: Tippmaster in Februar 09, 2006, 05:32:29 NACHMITTAGS
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
Titel: Re: How Do I Hide Forum Title?
Beitrag von: onijin in März 21, 2006, 02:21:20 NACHMITTAGS
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.
Titel: Re: How Do I Hide Forum Title?
Beitrag von: CraigPal in Oktober 15, 2008, 01:43:04 VORMITTAG
Thanks, I've been looking for a way to edit out the "- index."
Titel: Re: How Do I Hide Forum Title?
Beitrag von: remi_naija in Mai 22, 2009, 06:17:34 VORMITTAG
Thanks for all the selfless service.
My! I almost wrecked my forum trying to solve this one on my own.