News:

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

Main Menu

Leaving Forum_name blank

Started by gastan, October 29, 2009, 06:44:20 PM

Previous topic - Next topic

gastan

The only info I found in searching my problem is here: http://www.simplemachines.org/community/index.php?topic=330456.0 but it only mentions my problem ... not how to fix it.

Using v 1.1.10 and default theme.

I created a custom logo and replaced the SMF logo by editing the Index.template.php file.  This logo includes my forums name (in much nicer font and color) so I went to Admin---> Server Settings and erased the "My Community" default forum name.  Left the box blank since I didn't want the forum name up there twice.  That created a very nice (I think) banner at the top of the forum.

Now emails sent from the forum to registrants have no forum name in them.  Some people have told me that they ignored the email because they were not sure who it was from.  For example the approval/activation email has this for the first line, "Your account on  has been approved by the forum administrator, and must now be activated before you can begin posting. Please click the link below to activate your account:"  (Note: "Your account on ______ has been approved...")

I edited the Themes\default\languages\Login.English.php file on five lines where it had [forum_name] entries in reference to emails.  (In my file these were on lines 36 - 42)Changed the  $context['forum_name'] to  $context['my forum name here'] but it had no effect.

Is there a way to fill in the Forum name box but not have it appear in the banner?  Is there a way to have the name of the forum appear in emails without filling in the Forum name box?

Afro

can you send a link to your forum here ?

gastan

#2
done

Afro

you can extend the size of your logo to cover the entire left side of the header.
the forum name will not appear there again

gastan

#4
Thanks but that didn't work.  At least not the way I did it.  Maybe I misunderstood.

I went into Admin---> Server Settings and entered a forum name,  "Forums". 

Then I edited my logo in Photoshop.  I enlarged the canvas on the left side so that it would cover the entire header (what I call the banner area).  My logo has a transparent background so the blue header color shows thru ... because I like it.  But I added a blue background just to see if it would cover up the forum name.  It didn't.  It seems that there is a dedicated space on the left side of the header for the forum name.  Instead of covering that area, my enlarged logo was positioned to the right of it and a horizontal scroll bar was added to the page to take care of the added size of the logo.

I returned everything to the way it was except I left the forum name up there so emails have correct info ... but I would sure like to get rid of that extra, distracting text.

hadesflames

#5
remove the banner from the Index.template.php completely, Put your forum title back to Local 1715 Forums then go into your Admin Panel > Configuration > Current Theme

Then in the box that says "Logo image URL:" place a link to your banner.

This should solve your issue.

edit:

you should change your logo's background back to transparent =P

gastan

Thanks for the suggestion.  I'd better double check terminology, though. 

When you say remove the banner, does that mean header?  Does banner = header?  I've been using them interchangably but before I go digging around in the file I want to be 100% sure exactly what I'm looking for and am going to be messing with.

For right now I just located the font info and reduced the size from 140% to 5%.  It's small enough now that it almost looks like a few bad pixels in the screen.   :D   Not elegant but can I live with it until I figure out where the banner ... or header ... info is in the file.

Antechinus

Quote from: gastan on October 29, 2009, 06:44:20 PMI edited the Themes\default\languages\Login.English.php file on five lines where it had [forum_name] entries in reference to emails.  (In my file these were on lines 36 - 42)Changed the  $context['forum_name'] to  $context['my forum name here'] but it had no effect.

Change the code. Where it is this:

' . $context['forum_name'] . '

Change it to this:

Local 1715 Forums

or whatever name you want to use.

gastan

#8
Thanks, Antechinus.  That did the trick.  I searched all instances of   ' . $context['forum_name'] . '   and changed them, then went into Admin---> Server Settings and cleared the forum name box.  All emails seem okay now and header (or banner) is nice and clear again.

Mark as solved.   Now on to my next problem.   :)

Advertisement: