News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

How Do I Hide Forum Title?

Started by dtm.exe, March 18, 2005, 05:10:02 PM

Previous topic - Next topic

dtm.exe

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

A.M.A

remove this:
<span style="font-family: Georgia, sans-serif; font-size: xx-large;">', $context['forum_name'], '</span>
leave th last ';
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

dtm.exe

Thank you, I'll try that now.

-Dan The Man

dtm.exe

Oh, did I post in the wrong section?  Sorry if I did :P

-Dan The Man

zapece

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 hxxp:www.planetarypolitics.com/forum/index.php [nonactive]

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

Thanks in advance :)


1MileCrash

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.
The only thing php can't do is tell you how much milk is left in the fridge.



zapece

Many thanks. I will check out the graphics faq.

brunitox

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

1MileCrash

that will cause errors. delete the whole php string.
The only thing php can't do is tell you how much milk is left in the fridge.



onijin

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.

* onijin weeps

H

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.

* onijin 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
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

onijin

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.

CraigPal

#12
Thanks, I've been looking for a way to edit out the "- index."

remi_naija

Thanks for all the selfless service.
My! I almost wrecked my forum trying to solve this one on my own.

Advertisement: