Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Theme Site Themes => Topic started by: Bloc on March 23, 2006, 01:42:16 PM

Title: Mercury
Post by: Bloc on March 23, 2006, 01:42:16 PM
Link to the theme (https://custom.simplemachines.org/index.php?theme=18)

Done another theme which I would like to share with you. Felt inspired by the colors on DeviantArt ( for those who know it :) ) and added the buttons from my Apollo theme - since they seem to sit well with it. It has a "topbar" like Themis, which you can put in own HTML code, but no sidebar though. Graphics are free to use, as long as it is in the context of a SMF-driven forum.

And as always , comments are welcome.

- For buttonsets in different languages, see this thread - http://www.simplemachines.org/community/index.php?topic=13487.0  (http://www.simplemachines.org/community/index.php?topic=13487.0)
since it uses the same buttons as the Apollo theme.

demo:
http://www.tinyportal.net/demo/index.php?demo=mercury
Title: Theme Compatibility: Mercury
Post by: JCRL761 on August 10, 2006, 04:37:42 AM
SMF Version: SMF 1.1 RC2

Hi. I am not sure if this is the right category for this question/problem. I am currently running an upgraded version of 1.1RC2 and I've applied the Mercury theme found in the Themes Section. I like it alot and want to use it, but so far I've tried two different addons and neither of them were applied to the Mercury Theme files. They were only applied to the default theme files. I've got about 12 different addons and mods I want to add.

Here are my questions:

1. Is there a place within the script where I can change it so that if affects the Mercury theme?

2. Are there themes I can look at where I don't have to worry about Theme Compatibility?

3. Whats the easiest way to fix this problem?

Thanks.
Title: Re: Mercury
Post by: bloc on October 04, 2006, 11:49:42 AM
Updated to work with SMF 1.1 RC3.
Title: Re: Mercury
Post by: Bigguy on October 04, 2006, 11:54:04 AM
JCRL761 I think the only way to do this is to add the edits from each mod manually to the theme you want to use, but I really don't think this is the proper thread to ask this question in.
Title: Re: Mercury
Post by: Alice on November 27, 2006, 01:32:19 AM
Does anyone know which file to edit where avatar2.gif and avatar.gif are located?  I need to make avatar.gif two separate images (now they go both to header and in the post box).  Thanks in advance for your help  :)
Title: Re: Mercury
Post by: bloc on November 27, 2006, 04:10:48 PM
Display.template.php.
                                                        <div class="smalltext" style="background-image: url(', $settings['images_url'], '/avatar', $message['alternate'] == 0 ? '' : '2', '.gif); background-repeat: no-repeat;">';


Its actually doing some php magic to alternate between avatar.gif and avatar2.gif, they have slightly different background-color.
Title: Re: Mercury
Post by: bloc on December 13, 2006, 04:51:49 PM
Updated to work with SMF 1.1 Final.

New demo at: http://www.tinyportal.net/demo/index.php?demo=mercury
Title: Re: Mercury
Post by: Existant on July 31, 2007, 06:07:32 PM
I love the theme, and just installed it last night.

A question if I may

When a post is stickied, how do I make it so the background of the stick posts, in the list of posts, is slightly darker, so it is more visibly evident that it is sticky?
Title: Re: Mercury -- Where is "Topbar" code stored?
Post by: beercheck on August 03, 2007, 09:30:33 AM
I placed some bad HTML/Javascript using Mercury's built-in editor. After saving it, I get pretty much a blank page. So I can't go back and just undo what I did.

When I've made similar errors in the index.template.php, it's easy to just download it via ftp, modify it in a text editor and ftp it back up to my server. But I can't seem to find any files that contain the code for my top/header stuff.

Basically, what file is modified when editing the "this is where you put stuff that will be at the top of your page" box contents in the forum's admin area?

I got myself out of the pickle by disabling javascript in my browser.  I was then able to go through the admin tool and edit the "Topbar (use your own HTML code)" box in:

Theme Settings > Theme Options and Preferences

But I'd still like to know where the stuff in that box is stored.  I guarantee I'll do this sort of thing again..


Here's a screenshot of what I'm talking about:

(http://i156.photobucket.com/albums/t31/poky-dot/screenshot.jpg)
Title: Re: Mercury
Post by: bloc on August 03, 2007, 03:19:19 PM
Its stored in the database actually..try the "xxx_themes" table and look for "topbar".
Title: Re: Mercury
Post by: beercheck on August 03, 2007, 03:37:26 PM
Quote from: Bloc on August 03, 2007, 03:19:19 PM
Its stored in the database actually..try the "xxx_themes" table and look for "topbar".

Diabolical..
Title: Re: Mercury
Post by: Existant on August 03, 2007, 11:21:24 PM
Quote from: Existant on July 31, 2007, 06:07:32 PM
I love the theme, and just installed it last night.

A question if I may

When a post is stickied, how do I make it so the background of the stick posts, in the list of posts, is slightly darker, so it is more visibly evident that it is sticky?


Any idea on this yet?