Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Theme Site Themes => Topic started by: chadon on March 08, 2008, 04:13:25 PM

Title: Sunset
Post by: chadon on March 08, 2008, 04:13:25 PM
Link to the theme (http://custom.simplemachines.org/themes/index.php?lemma=569)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fcustom.simplemachines.org%2Fthemes%2Findex.php%2Faction%2Cdownload%2Flemma%2C569%2Fimage%2Cthumb&hash=ae956ec8ac9b742bfb913187fede24f509070e6b)

Sunset theme with some SEO features such as site name and page name in the meta title and H1 tags on the header image, message preview with mouse over effect on topic links... H1 tags can be replaced by your own logo in the admin section, the same way you do with the default theme.

Live demo (http://1000-ads-canada.com/forum/index.php)
Title: Re: Sunset
Post by: Fussilet on March 08, 2008, 04:38:01 PM
nice work , good theme
Title: Re: Sunset
Post by: Minare on March 08, 2008, 07:29:25 PM
I can't see header on demo, I hope the problem is because of me ( via mozilla )
Title: Re: Sunset
Post by: chadon on March 08, 2008, 07:38:33 PM
It works fine on my computers with Mozilla Firefox. Did you try to refresh the page?
Thanks Fussilet for the compliments :)
Title: Re: Sunset
Post by: TosTos on March 09, 2008, 11:34:41 AM
Very nice, different design.
Title: Re: Sunset
Post by: christicehurst on March 10, 2008, 05:30:01 AM
I sent you a PM.
Title: Re: Sunset
Post by: RustyBarnacle on June 05, 2008, 11:55:58 PM
For those of us with a tight resolution the border is quite large.  If you login is there an option to change the border size?
Title: Re: Sunset
Post by: chadon on June 06, 2008, 07:02:44 AM
 If you are talking about the border of the header image, I am afraid you can't change the size of the border as it is part of the image and not an html code. You can modify the image or replace it with one of your own but it has nothing to do with the code. Can you tell me what resolution you have? I tried different ones but didn't see much difference with the borders.
Title: Re: Sunset
Post by: RustyBarnacle on June 06, 2008, 12:15:35 PM
1400*1050

Thanks for the heads up.  It is really pretty.
Title: Re: Sunset
Post by: NADINE_PICARD on October 18, 2011, 05:09:33 PM
I like the style of the theme but i have my own banner and would liket to withdraw the top part is it possible ?
Title: Re: Sunset
Post by: chadon on October 18, 2011, 06:54:21 PM
I am not sure what you mean but if you would like to replace the image in the header by your own image, the easiest way would be to name your banner titlebg.jpg and overwrite the file in the image folder of the theme.
You can also have your own banner placed on the top of the header image by accessing the Sunset theme settings from your SMF admin panel.

If I didn't answer your question let me know and if you speak French, feel free to send me a PM. ;)
Title: Re: Sunset
Post by: NADINE_PICARD on October 19, 2011, 07:31:57 AM
Quote from: chadon on October 18, 2011, 06:54:21 PM
I am not sure what you mean but if you would like to replace the image in the header by your own image, the easiest way would be to name your bannier titlebg.jpg and overwrite the file in the image folder of the theme.
You can also have your own banner placed on the top of the header image by accessing the Sunset theme settings from your SMF admin panel.

If I didn't answer your question let me know and if you speak French, feel free to send me a PM. ;)
I already place the image , on top of the screen my banner as come and right under the sunset image did come ... and i am not very well know with modification of site... Just to give you an idea it took me about 6 months to find how to replace the website banner on the default board... To add a theme and do modification it will probly take me another 6 months ... I need exact informations on how to do it ... my site is same since i bought it and till i get all the way to do it i guess it will stay this way... Sad because it need a relooking on it....  :-[ ... more then 5 years the same way
Title: Re: Sunset
Post by: chadon on October 19, 2011, 09:01:27 PM
I sent you a PM. ;)
Title: Re: Sunset
Post by: WCFA on February 06, 2014, 01:17:03 PM
There is a new version I updated for 2.0.7 . I installed.
I am trying to replace the logo and add text to to it.
I found the logo edited it removed the old picture uploaded mine same name.
However it did not work.
Question is how do you replace the logo on this site with a new one.

Thanks
Title: Re: Sunset
Post by: gaswigg on February 06, 2014, 01:47:17 PM
Quote from: chadon on March 08, 2008, 04:13:25 PM
Link to the theme (http://custom.simplemachines.org/themes/index.php?lemma=569)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fcustom.simplemachines.org%2Fthemes%2Findex.php%2Faction%2Cdownload%2Flemma%2C569%2Fimage%2Cthumb&hash=ae956ec8ac9b742bfb913187fede24f509070e6b)

Sunset theme with some SEO features such as site name and page name in the meta title and H1 tags on the header image, message preview with mouse over effect on topic links... H1 tags can be replaced by your own logo in the admin section, the same way you do with the default theme.

Live demo (http://1000-ads-canada.com/forum/index.php)

Hi all love the theme and have it on 2 forums but im very new at running these forums I have figured out how to change the header myself but my problem is the type I call forum type that is in the banner I would like to remove that type from both sides as the type on the right side should all be down in the forum info center and I have had people complain that there is no login spot without clicking on login. But how can I turn off the type

Mairead Carlin Fan Forum - Administration Center ok I figured out how to stop the forum name but this is still there
- Server Settings it shows where you are in the forum any way of stopping that
And

Hey, GlenS, you have 3 messages, 0 are new
Show unread posts since last visit.
Show new replies to your posts.
February 06, 2014, 12:38:40 pm

I am very poor at editing code and or coding at all

Thanks
Glen
Title: Re: Sunset
Post by: chadon on February 07, 2014, 12:16:50 PM
Quote from: WCFA on February 06, 2014, 01:17:03 PM
There is a new version I updated for 2.0.7 . I installed.
I am trying to replace the logo and add text to to it.
I found the logo edited it removed the old picture uploaded mine same name.
However it did not work.
Question is how do you replace the logo on this site with a new one.

Thanks
Hi

This topic is for the Sunset theme for SMF 1.X.X. Did you install the right theme for your 2.0.7 forum? Here is the right one for SMF 2:
http://custom.simplemachines.org/themes/index.php?lemma=618

When you say logo, you mean the sunset image in the header? If you overwrite the image with a new one, it should have changed. Did you find the right one? It's located here: Themes/sunset/images/titlebg.jpg

Quote from: gaswigg on February 06, 2014, 01:47:17 PM
Hi all love the theme and have it on 2 forums but im very new at running these forums I have figured out how to change the header myself but my problem is the type I call forum type that is in the banner I would like to remove that type from both sides as the type on the right side should all be down in the forum info center and I have had people complain that there is no login spot without clicking on login. But how can I turn off the type

Mairead Carlin Fan Forum - Administration Center ok I figured out how to stop the forum name but this is still there
- Server Settings it shows where you are in the forum any way of stopping that
And

Hey, GlenS, you have 3 messages, 0 are new
Show unread posts since last visit.
Show new replies to your posts.
February 06, 2014, 12:38:40 pm

I am very poor at editing code and or coding at all

Thanks
Glen
Same for you, I hope you are using 2.0 Sunset for SMF 2. I have not used or updated this one for years and my memory is not that great. ;D

I am not sure what you are asking, maybe you can give me more details but the forum name displayed on your forum can be deleted in the index.template.php of the theme's folder.

For the one in the header image you have to find and remove this code:
<h1>', $context['page_title'] != "$context[forum_name] - Index" ? "$context[forum_name] - " : '', $context['page_title'], '</h1>

For the one at the bottom of the pages you have to find and delete this code:
<a href="' . $scripturl . '">', $context['page_title'] != "$context[forum_name] - Index" ? "$context[forum_name] <br> " : '', $context['page_title'], '</a>

and replace:
- Theme by
by
Theme by

For the login fields, they should be at the bottom of the pages. Don't you have them?
Title: Re: Sunset
Post by: gaswigg on February 07, 2014, 01:30:57 PM
thanks for the reply go and look at the forum the top banner or header. I have removed the sunset titlebg and put my own in and have a problem with all the forum type that is up in the header
http://www.maireadcarlinfanforum.com/

Yes im using sunset-2-0-1-5 it works well and I love it as it is one of a few that you can put your own banner at the top of the forum which is great I am using it on 2 forums now and both are for singers so it is nice to be able to use our own header that one of our graphic artists make up. Maybe you could make up a new file that don't have the type in the top header that would be a great big help as I am ****** for coding

Thanks
Glen
Title: Re: Sunset
Post by: gaswigg on February 07, 2014, 04:12:07 PM
Quote from: chadon on February 07, 2014, 12:16:50 PM
Quote from: WCFA on February 06, 2014, 01:17:03 PM


For the one in the header image you have to find and remove this code:
<h1>', $context['page_title'] != "$context[forum_name] - Index" ? "$context[forum_name] - " : '', $context['page_title'], '</h1>

For the login fields, they should be at the bottom of the pages. Don't you have them?



Hi I tried to remove the type in the titlebg on the left side but it failed and this is what I got when I removed the code you said to remove

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in .../Themes/sunset-2-0-1-5/index.template.php on line 158


149:    
<table cellspacing="0" cellpadding="1" border="0" align="center" width="1050" class="top">
150:    
   
<tr>
151:    
   
   
   
<td valign="middle" height="261" align="left">';
152:
153:    
if (empty($settings['header_logo_url']))
154:    
   
echo '
155:    
   
   
   
   

156:    
else
157:    
   
echo '


158:    
   
   
   
   
<img src="', $settings['header_logo_url'], '" style="margin: 4px;" alt="', $context['page_title'] != "$context[forum_name] - Index" ? "$context[forum_name] - " : '', $context['page_title'], '" />';
159:
160:    
echo '
161:    
   
   
   
</td>
162:    
   
   
<td valign="middle" align="right"><p>';

I give up
Title: Re: Sunset
Post by: chadon on February 08, 2014, 10:14:17 AM
Hi,
Here is the file without the H1 tag in the header. I tested it on a forum and it works fine. Let me know if you have any problem.
Title: Re: Sunset
Post by: gaswigg on February 08, 2014, 11:32:28 AM
it worked great thanks so much this is a great theme just need that whole top header to be clean would make life so much easier even with the other type that's up there for the forum if that could be moved else wheres so that header would be free of anything would make it so much easier to build graphic's for a forum if you didn't have to go around stuff or make your graphic's dark in that area or so on if you know what I mean. That is just a food for thought for your next theme. There are a lot of us out there that build these forums for singers and like to use our own Graphic's and such but there are not a lot of theme's that allow it.

Thanks again
Glen
Title: Re: Sunset
Post by: chadon on February 08, 2014, 11:44:01 AM
Well, there isn't many places where to place the rest of the text. What I can do maybe is to help you to get a white background in the box behind the text so it would be more visible whatever the image you use.
Title: Re: Sunset
Post by: chadon on February 08, 2014, 11:51:30 AM
Something like that?

Title: Re: Sunset
Post by: WCFA on February 08, 2014, 05:51:32 PM
I really love the theme,.
I am such a newbie been awhile from building to long. once used SMF and did all sort of stuff.
On this theme there are a few mods I would like to add that are compatible with 2.0.7 which is the version of yours I have.
Problem is I obviously get fails when I install them, I knew how to work around it before but now have no idea.
Example. Ad mods I try get fail and there was a fix I had to do on most most years ago, and have forgotten how.

I gotta say this is one of the best themes I have see out there if I can get mods figured out it will help greatly.


Title: Re: Sunset
Post by: chadon on February 08, 2014, 08:03:00 PM
Did you try the online manual?
http://wiki.simplemachines.org/smf/Error_in_mod_installation

Other than that, I won't be able to help you to install mods.
Title: Re: Sunset
Post by: gaswigg on February 09, 2014, 01:32:54 PM
Quote from: chadon on February 08, 2014, 11:51:30 AM
Something like that?

If I had to choose one it would be the bottom one but would like the type at the very bottom of the header not in the middle or this is really what I would like the type in the highlite area. Also can you point me to where the theme color's are set like of the black border and such. I really thank you for the help

Title: Re: Sunset
Post by: chadon on February 09, 2014, 06:32:35 PM
It's not possible to have it where you want it as the space given by your menu in a topic page is bigger than in the home page as you can see in the attachment below.
All the colors are set in the style.css file of the theme but you may need to have some knowledge about html and css to be able to find the right elements to modify.
You can also try Firebug, a browser add on that allows you to right click on an element of a page and show you the associated html and css code:
https://getfirebug.com/
Title: Re: Sunset
Post by: gaswigg on February 10, 2014, 11:54:04 AM
Ok I understand then can you make that type all black and at the very bottom and right of the header and the lines of type that when hover over can change to red. Also what I was asking about the color is the outside Black border if it could be changed to another color. I am running 2 forums with this theme and might add another and love the theme with a header that can be replaced like this one is but even with a diff header on each forum they all still look alike due to the colors that's all but no biggie if it cant be

Thanks
Glen
Title: Re: Sunset replace logo with text
Post by: debiwebi on July 02, 2015, 02:32:47 PM
Hi there,

I'm using Sunset2015 on a test site. I want to replace the logo/page title with a few short lines of text. I've gotten this far in index.template.php to remove the logo, but don't know how to put text in there instead. I also need to be able to style the text a little bit. I'm code-illiterate but can follow instructions.  :)

if (empty($settings['header_logo_url']))
echo '
';


I'd also like to make my own meta description, what do I remove from this and, same as above, how do I replace it with text?

<meta name="description" content="', $context['page_title_html_safe'], '" />', !empty($context['meta_keywords']) ? '


http://www.tejadadesigns.com/upgrade21test/index.php

Thanks.
Title: Re: Sunset
Post by: chadon on July 02, 2015, 08:08:38 PM
Hi,

Your forum already looks very good. :)

I am not sure to understand what you want. You seem to understand what to do and it's exactly where you can add your text. Just like that:

if (empty($settings['header_logo_url']))
echo '
My own text with my own HTML
';


For the meta description, if you want the same one on every pages of your forum, find:
<meta name="description" content="', $context['page_title_html_safe'], '" />', !empty($context['meta_keywords']) ? '
and replace with:
<meta name="description" content="This is my own description of the forum" />


If you can install a mod, I would recommend you to use one like this instead:
http://custom.simplemachines.org/mods/index.php?mod=1871
Title: Re: Sunset
Post by: debiwebi on July 02, 2015, 08:31:52 PM
Quote from: ForumMustang.com on July 02, 2015, 08:08:38 PM
Hi,

Your forum already looks very good. :)

I am not sure to understand what you want. You seem to understand what to do
and it's exactly where you can add your text.

I think you understood very well! I had an "idea" of what needed to be done,
but couldn't figure out where to put the text. I kept getting error messages for putting
it in the wrong place. So, that works, thanks. I really know nothing about php and
don't know what can be put where. I just now added a span to style the text that will
eventually be in there and it works! I wasn't sure if I could do that either.  :)

Thanks too for help with the meta description, all those single quotes confuse me.

BTW I love the template.