[Theme] Oxygen (SMF 1.0.5 - 1.1RC2)

Started by bloc, March 26, 2005, 05:27:44 AM

Previous topic - Next topic

IceKickz

Hi, I also couldn't find a way to replace the logo without replacing the mytheme.jpg file.

I want to link the logo to another URL,

I've checked the index.template.php file, but ould only find reference to mythemetop.gif, and mythemestop.gif.

Anyone have any ideas?

Bluesman

#81
QuoteTry open index.template.php and change the extension of that name to .png. Then just upload your png file into same folder as the original logo.

I can't find it in the index.template.php. This is in the header section:

Quote// The logo and the three info boxes
        echo '
                <table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="background-color: #FFFFFF;">';
  if(isset($settings['topbox']) && !empty($settings['topbox'])){
        echo '   <tr>
                                <td valign="top" style="border: solid 1px #a0a0a0; border-bottom: 0px;">'.$settings['topbox'].'</td>';
                  echo '<td valign="top" style="border: 0px; background-image: url('.$settings['images_url'].'/mythemestop.gif); background-repeat: repeat-y;"><img alt="*" src="'.$settings['images_url'].'/mythemetop.gif" style="margin: 0px;" /></td>';
         echo '


                        </tr>';
       }
        echo '   <tr>
                                <td align="right" class="myheader" valign="top" style="height: 130px; border: solid 10px #a0a0a0; background-color: #F3F3F4;"><img src="'.$settings['images_url'].'/sf.png"><br /></td>';
                  echo '<td rowspan="2" valign="top" style="border: 0px; background-image: url('.$settings['images_url'].'/mythemestop.gif); background-repeat: repeat-y;"><img alt="*" src="'.$settings['images_url'].'/mythemetop.gif" style="margin: 0px;" /></td>';
         echo '

                        </tr>
             <tr style="background-color: #ededed;">
                  <td width="100%" style="padding: 10px;border: solid 1px #a0a0a0; border-top: 0px;">';

Another question:

How do i change the link for this button? I want to point it to the front page of my site and not the forum.


(click to enlarge)

BitBass

Awesome theme!

I'm trying to add the location field to posts and the threads about it reference "Display.template.php" which doesn't seem to be present in Oxygen.

http://www.simplemachines.org/community/index.php?topic=36714.0

So I searched for the "insert before" string in the Oxygen files and wasn't able to find it.  Any ideas on how I can add this to Oxygen?

Thanks!

bloc

If you haven't a specific template in any theme, it will just fallback on the default theme. So if default theme works, so will other themes that fallback on it.

RobynsVeil

Bit of a silly question - will this work in SMF 1.0.6?

bloc

Yes. All 1.0.5 themes work fine in 1.0.6. :)

bmundy

#86
A big thanks.......... this theme is vary clean.

I would like to change the header image and it's hight. I know how to swap out the image but where do i reset the hight ? it would also be nice if I could link that header image back to my home page.

thanks again

Brian Mundy


Update: I found the spot that I needed to increas the size of the container  :-)
I still need to make that a link back to my home page ?

bmundy

#87
There's one more thing, I'm getting this Error :

Notice: Undefined index: number_recent_posts in /home/content/b/m/u/bmundy/html/smf/Themes/oxygen Folder/Settings.template.php on line 89
Notice: Undefined index: number_recent_posts_desc in /home/content/b/m/u/bmundy/html/smf/Themes/oxygen Folder/Settings.template.php on line 90
Notice: Undefined index: hide_post_group in /home/content/b/m/u/bmundy/html/smf/Themes/oxygen Folder/Settings.template.php on line 189
Notice: Undefined index: hide_post_group_desc in /home/content/b/m/u/bmundy/html/smf/Themes/oxygen Folder/Settings.template.php on line 190


Thanks for your help

brian

bloc

Seems your language files needs updating. Those are indexes for text strings that describe the settings in Settings.template.

dancecubed

How can I add buttons to the menu? I tried your button generator and other things but it didn't work.

bloc

No, Oxygen use a scheme of background images that shift when you hover over them. The generator only creates the other buttons, not the main ones. But I can make you those you need. What texts do you want?

Firestormic

I am loving this theme already, just a couple of dumb questions - sorry if they are repeated...

could I please be informed as to how I can make the Googlebot mod visible, also, users online today mod - I am not entirely certain how to do it

bloc

I am not 100% into what they modifies in the files..but it should be more or less the same to adjust Oxygen as the default theme. Try to look over the description/help files in them, and see how far you get.

dancecubed

Quote from: Bloc on March 23, 2006, 10:54:50 AM
No, Oxygen use a scheme of background images that shift when you hover over them. The generator only creates the other buttons, not the main ones. But I can make you those you need. What texts do you want?

Thank you but i already have the buttons. I need to find out how to actually add them to my website. I'm not sure if I should put "bbshop" or something like that.

bloc

You need that..and also a similar entry in the stylesheet. Or else the buttons will not "move" or show at all.

Snape

I would like to request an ARCADE button for this theme please.


demon20

i want to Turkish Buttons for Oxygen 1.1RC2. How can take thems? plz helpp me..

Freiluft

We just installed a number of language packs. While the css for the rollovers is quite reasonably "float", the index template seems to require a length measurement 2 px wider than the rollover graphic or it cuts off the right edge of the rolloever view. I don't see how this will work with the different words for the same buttons. Can one have a language-specific index template? Or is there a way to get "float" into the index template, so each button can take up as much room as it needs in each language?

As for making buttons: I found a very light button back I liked and used Gil Sans Light, all caps with a 50% spread. Since the type was sharper than the original and the button back more pleasing, I replaced all of them. The type has to be exactly aligned with the original two, and if you have Safari users, you should increase the overall size of the rollover graphic to 60 px with space at the bottom colored with the background color. Otherwise, the top of the rollover shows even when not in hover mode.

bloc

Its really 2 things to change - the width of the graphic, and the corresponding css class. If you look at those in style.css : bbhelp, bbsearch etc. they have different widths, same as the buttons. So just make your new buttons, expand or shrink the width if you need..and add that new width in the css. The length is the same always of course.

Advertisement: