Advertisement:

Author Topic: [Theme] Oxygen (SMF 1.0.5 - 1.1RC2)  (Read 187249 times)

Offline Freiluft

  • Semi-Newbie
  • *
  • Posts: 45
Re: [Theme] Oxygen (SMF 1.0.5 - 1.1RC2)
« Reply #100 on: April 30, 2006, 08:12:31 PM »
There is no width given in css, and the buttons are hard coded to the "english" directory:
Code: [Select]
#bbhelp
 {
  background-image: url(images/english/back/help.gif);
  background-repeat: no-repeat;
  background-position:0 -24px;
  border-width:0;
  position: relative;
  float: left;

index.template.php, however, does gives a width for the button:

Code: [Select]
<div id="bbhelp"  '.$mycode.'><a href="', $scripturl, '?action=help"><img src="' . $settings['images_url'] . '/blank.gif" alt="' . $txt[119] . '" style="margin: 0px; width: 36px; height: 24px;" border="0" /></a></div>';
As far as I can tell, this width has to change depending on the width of the rollover graphic. For instance, German "SPIELHALLE" is going to be wider than English "ARCADE", and the right end of the German button will be cut off unless I change this measurement. Since only one measurement can be given in index.template.php, I don't see how I can use other languages. Am I missing something here? I'm just learning this stuff, so it might be something painfully obvious.

And since I've got you on the line — I left a question a week ago at TP — we also want to get the RC2 tab/icon+text buttons into Oxygen for the rest of the buttons — for a similar reason: all the languages we've installed. I've already got the slices ready to go, but don't want the theme to explode if I put in the wrong code (even if we do have a test site...)

bloc

  • Guest
Re: [Theme] Oxygen (SMF 1.0.5 - 1.1RC2)
« Reply #101 on: May 01, 2006, 04:22:28 AM »
ah, yes. i am sorry..of course its the index.template widths are located in. ::) Just change them according to the graphic.

The other question: you mean to have the buttons in language folders?

Offline Freiluft

  • Semi-Newbie
  • *
  • Posts: 45
Re: [Theme] Oxygen (SMF 1.0.5 - 1.1RC2)
« Reply #102 on: May 01, 2006, 08:17:45 AM »
ah, yes. i am sorry..of course its the index.template widths are located in. ::) Just change them according to the graphic.

The other question: you mean to have the buttons in language folders?
By analogy, they would be in a folder "back" in the individual language's image folder, since that's where they are in "english". The problem is being able to have only one width given in index.template.php because the graphics are different widths for the various languages.

bloc

  • Guest
Re: [Theme] Oxygen (SMF 1.0.5 - 1.1RC2)
« Reply #103 on: May 01, 2006, 09:14:58 AM »
Yes..thats why it was made with just english - so people could exchange the head graphics there from other languages. But multiple languages will "break" this.

Offline Freiluft

  • Semi-Newbie
  • *
  • Posts: 45
Re: [Theme] Oxygen (SMF 1.0.5 - 1.1RC2)
« Reply #104 on: May 01, 2006, 10:17:00 AM »
Yes..thats why it was made with just english - so people could exchange the head graphics there from other languages. But multiple languages will "break" this.

So what you are saying is that it's impossible to use multiple languages with this theme and no way to code for such a situation? I suppose we could trash the whole rollover idea and just use gif's with the nice display font, but the rollover is rather distinctive.

What about the tabs/text w/icon buttons as in RC2 default for the rest of the buttons so that multiple languages can be used?

bloc

  • Guest
Re: [Theme] Oxygen (SMF 1.0.5 - 1.1RC2)
« Reply #105 on: May 01, 2006, 12:35:12 PM »
no, not impossible..but you need to re-write parts of the code.

Offline Freiluft

  • Semi-Newbie
  • *
  • Posts: 45
Re: [Theme] Oxygen (SMF 1.0.5 - 1.1RC2)
« Reply #106 on: May 01, 2006, 04:27:09 PM »
no, not impossible..but you need to re-write parts of the code.

Well, that's beyond my skill, which is rather why I posted here.

bloc

  • Guest
Re: [Theme] Oxygen (SMF 1.0.5 - 1.1RC2)
« Reply #107 on: May 02, 2006, 04:46:38 AM »
I am afraid I won't be re-writing it that much at this time.

Offline maritimesbob

  • Jr. Member
  • **
  • Posts: 102
Re: [Theme] Oxygen (SMF 1.0.5 - 1.1RC2)
« Reply #108 on: July 22, 2006, 10:30:57 PM »
Nice theme :)

I noticed however the `Most Online Today: bla bla bla` feature is missing in the information center. Is this something easily added?

Thank you.

Offline debegray

  • Semi-Newbie
  • *
  • Posts: 14
Re: [theme] Oxygen for SMF 1.0-1.0.2
« Reply #109 on: August 09, 2006, 11:17:29 PM »
Look in admin - "current theme settings" for a textbox where you can write HTML.

And yes, it can be a menu , or just a image etc. It will magically appear if you have SOMETHING written in that textbox. If not, it won't show up.

At the same time you could choose how the content aligns - left, center or right. That can be done - of course - in your own html code, but if not, the option is there.

When I do this I get the message "Unable to load the 'edit_list' template."

Love the theme, by the way, and the button generator.

Offline debegray

  • Semi-Newbie
  • *
  • Posts: 14
Re: [Theme] Oxygen (SMF 1.0.5 - 1.1RC2)
« Reply #110 on: August 10, 2006, 12:59:34 AM »
I figured out the problem. I needed to upgrade to the more recent version of the theme.

Offline DeathShot

  • Semi-Newbie
  • *
  • Posts: 45
Re: [Theme] Oxygen (SMF 1.0.5 - 1.1RC2)
« Reply #111 on: December 18, 2006, 06:19:53 AM »
hey everyone...
at first button generator doesn't support any of Turkish characters.. like [ŞşĞğÜüİıÖöÇç] (or maybe font doesnt)

also
can i ask for PSD's of Top Menu ? i want to translate them into Turkish.  or Font may be enough.. but PSD's are better...


Thnx.

Offline BryanD

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 22,019
  • Gender: Male
    • BryanRunicDeakin on Facebook
    • @bryandeakin on Twitter
    • Bryan Deakin dot Com
Re: [Theme] Oxygen (SMF 1.0.5 - 1.1RC2)
« Reply #112 on: January 10, 2008, 07:53:37 PM »