OutlineOmega (multi for 115,116,117 & TP)

Started by Antechinus, September 09, 2008, 03:00:13 PM

Previous topic - Next topic

Antechinus

It runs exactly the same menu as the SMF-only and TP 0.983 versions of the theme.

atlantisrising

I'm not sure what I did wrong but this is the way my menu came out.

http://www.happycurls.com [nofollow]

Antechinus

Damn that's pink. 8)

Meh.  :P  Where is teh head banging against teh wall smiley when I need one?  :D

What you have done is to download a much older theme called Outline Multi. This was the ancestor of Omega and no, it does not have drop menus. It also only has eight variations instead of eleven, and it doesn't have teh nifty lighty up effect on the theme change buttons.

You want this one.

atlantisrising

Good googley moogley!!  All I can do is laugh at myself.  And I've been modifying each theme as I uploaded it, lol.  Thanks for putting up with me.  I'm going to have to start fresh in the morning, I can't paste another code tonight.  Thanks again!

Antechinus

No worries. Sleep first, coffee in the morning. Never code before coffee. It's lethal.  :D

Antechinus

#145
Just in case anyone was wondering I've decided not to release this theme for SMF 2. What I will do instead is to release the eleven variations as individual themes. Doing it as one multi would be too unwieldy because of the way SMF 2 is coded. I can do a better job of the themes by releasing them as singles. Most people have theme change boxes these days anyway.

The themes will still share the same templates, which means if you want install mods you only need to figure out the edits for one of the themes and the same will apply to the others. Like the 1.1.x multi the SMF 2 single themes will come with customised BoardIndex and MessageIndex templates, so some manual editing for mods will be necessary depending on what you want to install.

If anyone is running a forum without a theme change box and wants to be able to change themes like Omega (ie: using clickable buttons above the header) I will provide instructions for setting this up as a custom addition to the themes.  ;)

atlantisrising

Oops, having another problem.  Ad management doesn't want to work with this theme properly.  I finally got the top ads to "work" by adding a '; behind  the body tag and an echo ' after the code.  Then it started looking like this:



Any suggestions on how I can fix this?

Antechinus

Yeppers, it would do that. The shadow images each side of the header are matched to the body background image. What you've done is push the header down relative to the body by putting your ad block up top. This results in mismatched gradients.

The fix is quite simple: all you have to do is get the body-bg.gif image and add a strip to the top of it. Of course you will need to do this for all variations of the theme that you wish to use as most of them don't use the same body-bg.gif image.

If you have a basic graphics program with a colour picker just grab the hex code for the top pixels of the existing image and make a taller image with that colour as background, then paste the existing image on top of that (aligned at the bottom, of course) and save. You'll probably have to play around a little bit to get the height right but one or two pixels out either way shouldn't be noticeable as the gradient isn't all that steep.

atlantisrising

Thanks!  I'm off to work now but I'll be playing with this later on tonight!

atlantisrising


Neons

Hello

I'm using this style for my forums. I got 2 different color themes, one blue and one red. I'd like to change the name of the themes in the theme changer at the very top of the page. Like, I want to rename "KindaBlue" to e.g "Blue Style".
Is this possible?

Thanks

Antechinus

Sure. They're named in two places. The first one only affects the name shown in your admin centre, but it's a good idea to do this anyway. Saves confusion later on.

Settings.template.php

array(
'id' => 'theme_main_color',
'label' => $txt['theme_main_color'],
'options' => array(
        'AzureSilk'   =>    'AzureSilk',
                    'Clearlight'  =>     'Clearlight',
                    'KindaBlue'   =>   'KindaBlue',
'MidnightSun' =>  'MidnightSun',
                    'Mircalla'    =>      'Mircalla',
'Outline'     =>      'Outline',
                    'Outrageous'  =>  'Outrageous',
'SilverMist'  =>     'SilverMist',
'Skyline'  =>        'Skyline',
'Ultraviolet' =>      'Ultraviolet',                                 
'Verdigris'   =>     'Verdigris',
                                       
),
),


Just change the names to whatever you want.

Next is index.template.php

{
if (isset($settings['allow_color_change']) && $settings['allow_color_change'] == 'bars')
echo '
<form action="', $scripturl, '" method="post">
<input style="cursor: pointer; font-size: 9px;" type="submit" class="changer" value="AzureSilk"      name="options[theme_color]" />
<input style="cursor: pointer; font-size: 9px;" type="submit" class="changer" value="Clearlight"      name="options[theme_color]" />
<input style="cursor: pointer; font-size: 9px;" type="submit" class="changer" value="KindaBlue"      name="options[theme_color]" />
<input style="cursor: pointer; font-size: 9px;" type="submit" class="changer" value="MidnightSun" name="options[theme_color]" />
<input style="cursor: pointer; font-size: 9px;" type="submit" class="changer" value="Mircalla"      name="options[theme_color]" />
<input style="cursor: pointer; font-size: 9px;" type="submit" class="changer" value="Outline"      name="options[theme_color]" />
<input style="cursor: pointer; font-size: 9px;" type="submit" class="changer" value="Outrageous" name="options[theme_color]" />
<input style="cursor: pointer; font-size: 9px;" type="submit" class="changer" value="SilverMist"      name="options[theme_color]" />
<input style="cursor: pointer; font-size: 9px;" type="submit" class="changer" value="Skyline"          name="options[theme_color]" />
<input style="cursor: pointer; font-size: 9px;" type="submit" class="changer" value="Ultraviolet"      name="options[theme_color]" />
<input style="cursor: pointer; font-size: 9px;" type="submit" class="changer" value="Verdigris"      name="options[theme_color]" />
</form>';
}


Once again you just change them to suit. You will also have to rename the css file for that variation of the theme. So as an example you'd rename style_AzureSilk.css to style_Blue Style.css if you wanted to call it Blue Style.

Neons

#152
Lovely, thank you.

Neons

Hello again.

I seem to have a problem regarding the renaming of the color changer. Whenever a guest sees my site, it's always white (no images).. hope i made myself clear :S

Antechinus

Have you renamed the stylesheet correctly?

Dematrah

This is a beautiful theme so far.

The only problem is the color change links aren't showing up at all when I try using it.

Antechinus

They're coded to be barely noticeable when your cursor is not over them. I prefer them that way but if you'd like them to be more visible off hover then the css is easy to change.

Dematrah

Oh no, I mean they're not showing up at all. I took a look at the demo to be absolutely sure. The links just aren't there for some reason.  :(

Antechinus

#158
Admin >> Current Theme >> Theme Options and Preferences >> Allow color change on home page? >> Select "Show as clickable bars" >> Save.

Dematrah


Advertisement: