SMFone

Started by Antechinus, July 23, 2006, 12:39:52 PM

Previous topic - Next topic

Paracelsus

Hi,

Does anyone know how to change the background color (with an image or simply #ffffff code) where the header logo is ???

<body>';

   // Because of the way width/padding are calculated, we have to tell Internet Explorer 4 and 5 that the content should be 100% wide. (or else it will assume about 108%!)
   echo '

   <div id="headerarea" style="padding: 12px 15px 4px 15px;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">
   <div>';

   // This part is the logo and forum name.  You should be able to change this to whatever you want...
    if (empty($settings['your_logo']))
   {
   echo '
       <div style="float: right;">
         <img src="', $settings['images_url'], '/smflogo.gif" width="250" alt="" />
       </div>';
   }
    else
   {
   echo '
       <div style="float: right;">
         <img src="', $settings['your_logo'], '" style="float: right;" alt="" />
       </div>';
   }

   echo '
     <span style="font-family: Arial, sans-serif; font-size: 8pt; font-weight: normal;">', $context['forum_name'], '</span>
   </div>

<br />



I believe it's somewhere around here, but I don't know very well how to do it.

Paracelsus

Ok found it! ;)

echo '
       <div style="background-color:#003366; float: right;">
         <img src="', $settings['your_logo'], '" style="background-color:#003366; float: right;" alt="" />
       </div>';
   }


Just made those changes and voilá... a background color change in logo area. :D

fugiFox

I' facing some problems here too.
First of all as higherauthority said  the location Themes/SMFone11rc3/images/buttons doesn't exist
so I added it myself, but this doesn't fix the problem completely as the path isn't localized.
(All languages use the same -english- buttons).
It should be updated to  Themes/SMFone11rc3/images/LanguageSpecific.
Any ideas on how to do that?

The other problem is that buttons are displayed with their links resulting in an ugly layout like the below
Quote Modify
How do I fix that?

As an overall personal opinion I think that apart from those bugs the theme is one of the best for smf.
But you can't have it all  ;)

Paracelsus

First problem: Don't know. I use portuguese language and created myself Themes/SMFone11rc3/images/buttons directory and put there the respective images: delete.gif im_delete.gif im_reply.gif notify_sm.gif quote.gif reply_sm.gif , uploaded them and it worked perfectly.

Second problem: I think this happens also with other themes. The new quote and modify button you've showed have to be without the description in the button itself, just with the graphical part.

J. Williams

They are the alt codes, which are displayed on hover (so says their name: Alternative Text)
Joshua Jon Williams
Back in Action.

Paracelsus

Oh I forgot to mention that it just happens in the buttons that are precisely in that "phantom" buttons directory... in the other quote button that appears for example in the "normal forum body" the repeated button + description shouldn't occur.

fugiFox

How can I hide the description of the buttons?

@Paracelsus: I didn't say that your way doesn't work, I just say it is not the best one

Paracelsus

@fugiFox: I know what you mean, and maybe you´ll get what you want by changing directly the code and putting it similar to the buttons where there is no description. But for SMFone, since it´s just on the PM part, it doesn´t bother me that much.

fugiFox

Quote from: Paracelsus on October 31, 2006, 09:43:34 AM
@fugiFox: I know what you mean, and maybe you´ll get what you want by changing directly the code and putting it similar to the buttons where there is no description. But for SMFone, since it´s just on the PM part, it doesn´t bother me that much.


Problem is that it is not only on PM part, it happens also in Topics.
So, how can I hide them?
Any guidelines?

WetWired

Is there a way to remove the text and small graphic from the top of this theme and make it so you can add a graphic that spans the entire top portion?

This is the theme in question
http://themes.simplemachines.org/index.php?lemma=108

swtxgrl

love the SMFone theme!!

i have a few questions:

how do i change the colors of the areas (circled in the attached picture)? i looked in style.css, but couldnt find the relevant info in there..

also, is it possible to put in a key stats box in place of the news box in the area shown (pink box in the attached picture)?

** the picture is here: http://www.simplemachines.org/community/index.php?topic=134901.0

thanks in advance for your help!

mark7144

Aaron... is there any chance you could make some Home, Search, Profile etc. buttons in the same style as the rest? I think they look nice and it would be great to have the whole forum using those style buttons.

J. Williams

Mark7144, this theme was only updated by Aaron as it was originally made by A.M.A :)
Joshua Jon Williams
Back in Action.

mark7144

Quote from: J J Williams on December 25, 2006, 05:38:56 AM
Mark7144, this theme was only updated by Aaron as it was originally made by A.M.A :)
Does that guy still exist? Is he contactable?

J. Williams

He is still a member of SMF but contacting him is something you will have to ask someone else about such as SMF staff.
Joshua Jon Williams
Back in Action.

mark7144

Anyone know what font is used on these buttons?

I've created my own header buttons that look almost identical to the style here but I'm not sure on the font.

swtxgrl

i am unable to edit the calendar events once i post it. i get an error:

QuoteAn Error Has Occurred!
Unable to load the 'event_post' template. 

so i followed someone's suggestion of reuploading the calendar.template.php file, but it still doesnt work. also, the option to have a calendar event without linking it to a post is gone  :-\

does anyone know how to fix these two problems??? please help! thank you  :)

willtaka

Hi guys

great theme, how do I add a button for my SMF Arcade, any help will be great ;D

Snape

Quote from: willtaka on January 22, 2007, 03:19:09 PM
Hi guys

great theme, how do I add a button for my SMF Arcade, any help will be great ;D
In index.template.php, after this code:
                                <img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" /><a class="menub" href="', $scripturl, '?action=help" target="_blank">' , $txt[119], '</a>', $context['menu_separator'];

insert:

                                <img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/arcade.gif" alt="' . $txt['arcade'] . '" /><a class="menub" href="', $scripturl, '?action=arcade" target="_blank">' , $txt['arcade'], '</a>', $context['menu_separator'];

'arcade.gif' in the above code refers to the graphic you're using for your arcade button- put that .gif in smfone/images/<language> and you should be all set.

Jiveturkey

Quote from: fugiFox on October 30, 2006, 10:52:21 AM
I' facing some problems here too.
First of all as higherauthority said  the location Themes/SMFone11rc3/images/buttons doesn't exist
so I added it myself, but this doesn't fix the problem completely as the path isn't localized.
(All languages use the same -english- buttons).
It should be updated to  Themes/SMFone11rc3/images/LanguageSpecific.
Any ideas on how to do that?

The other problem is that buttons are displayed with their links resulting in an ugly layout like the below
Quote Modify
How do I fix that?

As an overall personal opinion I think that apart from those bugs the theme is one of the best for smf.
But you can't have it all  ;)
Has anyone figured this out yet?  I have the new buttons but I still have the alternate text.  I can't find where to change it.  If course redirecting it to look in the English folder would work as well but I can't figure out how to do that either.

Advertisement: