Advertisement:

Author Topic: 2.0 Sunset  (Read 60022 times)

Offline MSmith

  • Newbie
  • *
  • Posts: 2
Re: 2.0 Sunset
« Reply #60 on: January 02, 2012, 11:54:06 PM »
Great theme!    :)

We ran it on SMF 1.1. After we upgraded to 2.0 we also upgraded to the 2.0 Sunset. It looks and functions better than before along the added SEO, security and other features I’m very pleased!

Thanks,
Marc
Ephesians4Forum.org
 

Offline Linda.V

  • Jr. Member
  • **
  • Posts: 384
  • Gender: Female
Re: 2.0 Sunset
« Reply #61 on: January 03, 2012, 03:05:51 AM »
Great theme!    :)
Indeed, a great classic theme!
Thanks again for the update chadon ;)

Offline ForumMustang.com

  • Full Member
  • ***
  • Posts: 470
  • Gender: Male
  • SMF French Translator
    • forummustang on Facebook
    • Ford Mustangs
Re: 2.0 Sunset
« Reply #62 on: January 03, 2012, 08:04:08 AM »
Thank you Marc and Linda, glad you like it. :)

Offline MSmith

  • Newbie
  • *
  • Posts: 2
Re: 2.0 Sunset
« Reply #63 on: January 04, 2012, 11:31:12 PM »
I would like to add a link to our facebook and twitter. Can we add it as a button in the upper navigation bar just under the banner? If so, how?

Thanks,
Marc
Ephesians4Forum.org/forums

Offline Linda.V

  • Jr. Member
  • **
  • Posts: 384
  • Gender: Female
Re: 2.0 Sunset
« Reply #64 on: January 05, 2012, 02:13:17 AM »
Hello chadon,

I also would like to ask you 2 things about the header.

May I change the height of the header and if yes where can I do this?

I'd like to change the logo, colour the header and put on the left side my little logo, could you also tell me how to do this?

Thanks ;)

Offline ForumMustang.com

  • Full Member
  • ***
  • Posts: 470
  • Gender: Male
  • SMF French Translator
    • forummustang on Facebook
    • Ford Mustangs
Re: 2.0 Sunset
« Reply #65 on: January 05, 2012, 07:56:48 AM »

I would like to add a link to our facebook and twitter. Can we add it as a button in the upper navigation bar just under the banner? If so, how?
Hi Marc


This has nothing to do with theme files but you can find instructions on how to do this here:
http://wiki.simplemachines.org/smf/How_do_I_add_buttons_to_SMF_2.0


Quote
May I change the height of the header and if yes where can I do this?
Hi Linda
In the index.template.php of the theme's folder find:
Code: [Select]
<td valign="middle" height="261" align="left">';
And replace the 261 value with the one of your choice.


Quote
I'd like to change the logo, colour the header and put on the left side my little logo, could you also tell me how to do this?
I am not sure if I understand your question but if you want to replace or modify the header image, you will have to replace it by giving the same name to your new image and placing it in the same folder as the existing one:
yoursite.com/Themes/sunset/images/titlebg.jpg


If you would like to ad a logo above the header image and if Sunset is your deflault theme, you have to go to your admin panel under Configuration > Current theme  and enter the URL of your logo in the following field:


Logo image URL:
(leave blank to show forum name or default logo.)
If Sunset is not your default theme go in
Themes and layout > Theme settings and click on the 2.0 Sunset theme link.


I hope this helps.  :)

Offline Linda.V

  • Jr. Member
  • **
  • Posts: 384
  • Gender: Female
Re: 2.0 Sunset
« Reply #66 on: January 06, 2012, 12:43:51 AM »
Thanks for your help chadon.

Offline MotorCookie

  • Semi-Newbie
  • *
  • Posts: 33
  • Gender: Male
    • PixelEater
Re: 2.0 Sunset
« Reply #67 on: January 28, 2012, 12:36:03 PM »
This theme is what I've been looking for. I just need to make the forum width wider.
Forums are good.
General Discussion Forums
- http://pixeleater.me

Offline ForumMustang.com

  • Full Member
  • ***
  • Posts: 470
  • Gender: Male
  • SMF French Translator
    • forummustang on Facebook
    • Ford Mustangs
Re: 2.0 Sunset
« Reply #68 on: January 28, 2012, 08:07:51 PM »
To make the forum wider, you will have to open index.template.php, search for the following code:
Code: [Select]
width="950" and change the 950 value with the width of your choice. You will find it 3 times in the file and you will have to replace all 3.

The header image has also been set to be displayed with a width of 950 pixels so if you want to have a wider forum, this image will have to be replaced. I am sorry but I did this theme years ago and I don't have the original image to give you anymore.

Offline Linda.V

  • Jr. Member
  • **
  • Posts: 384
  • Gender: Female
Re: 2.0 Sunset
« Reply #69 on: January 29, 2012, 01:55:21 AM »
Hello chadon,

I also would like to make the forum wider, can I than change 3x the width="950" to width="95%" ?

Offline ForumMustang.com

  • Full Member
  • ***
  • Posts: 470
  • Gender: Male
  • SMF French Translator
    • forummustang on Facebook
    • Ford Mustangs
Re: 2.0 Sunset
« Reply #70 on: January 30, 2012, 07:13:43 AM »
Yes you can use a percentage but you may have problems with the header image if the resolution of some computers is greater than the width of the image.

Offline JohnS

  • Jr. Member
  • **
  • Posts: 209
  • Gender: Male
    • Lakes Telecommunications
Re: 2.0 Sunset
« Reply #71 on: January 30, 2012, 03:16:43 PM »
Hi Chadon
I very much like the theme and I can match it into the rest of my site. But I have a strange issue which I will try and explain.
I just enabled some custom fields for registration, now when I go to look at the forum profile for anyone the fields are there but they move, for example the space between the top section and the custom fields keeps getting bigger by adding one line about every second.
This only happens in IE9, in IE8 the fields do not move but they are not lined up with the descriptions.
This problem does not happen in Firefox.
Have you any idea what this could be? Or any clue to where I should look.
There is no problem in the default curve theme. So I am assuming it is something in the 2.0 Sunset theme.
Many thanks
John

Offline ForumMustang.com

  • Full Member
  • ***
  • Posts: 470
  • Gender: Male
  • SMF French Translator
    • forummustang on Facebook
    • Ford Mustangs
Re: 2.0 Sunset
« Reply #72 on: January 30, 2012, 04:19:09 PM »
Hi John.
I never tried the custom fields with this theme but I will see what I can do. Thanks for letting me know about this bug. :)

Offline JohnS

  • Jr. Member
  • **
  • Posts: 209
  • Gender: Male
    • Lakes Telecommunications
Re: 2.0 Sunset
« Reply #73 on: January 30, 2012, 04:35:55 PM »
Many thanks Chadon, I have not had time tonight since it cropped up, but will see if I can look at it as well tomorrow. Must be something in the CSS I would think.

Offline ForumMustang.com

  • Full Member
  • ***
  • Posts: 470
  • Gender: Male
  • SMF French Translator
    • forummustang on Facebook
    • Ford Mustangs
Re: 2.0 Sunset
« Reply #74 on: January 30, 2012, 05:49:25 PM »
I see a little problem with the display of the menu in the profile page but I don't see anything wrong with the custom fields with IE9. Here is a link below for my test forum, can you tell me how it looks at your end?
http://1000-ads-canada.com/forum/index.php?action=profile;u=1

If you don't see the bug, can you give me a link to your forum here or by private message?

Offline JohnS

  • Jr. Member
  • **
  • Posts: 209
  • Gender: Male
    • Lakes Telecommunications
Re: 2.0 Sunset
« Reply #75 on: January 31, 2012, 01:27:35 PM »
I have looked at the coding but it is beyond me, though there is a tick function set to 1 second intervals in that page, so that is probably causing it, but why I do not know.
I have PM's you a password as you will only be able to see it if logged in.
Thanks

Offline ForumMustang.com

  • Full Member
  • ***
  • Posts: 470
  • Gender: Male
  • SMF French Translator
    • forummustang on Facebook
    • Ford Mustangs
Re: 2.0 Sunset
« Reply #76 on: January 31, 2012, 05:43:46 PM »
I was able to reproduce the problem on your forum and on mine as well and managed to get a fix by removing the tick fonction but I have no explanation on why it is happening and what this function is needed for.  ???

The tick function is in the Profile.template.php file from the default theme so if you want to use my fix, you have to place a Profile.template.php attached here in the sunset theme folder. I can't say if it's a safe mod or if there won't be any side effects but it did get rid of the bug and if you plan to do it, it's at your own risk, I am sorry for not being able to be of a better help. :(

Offline ForumMustang.com

  • Full Member
  • ***
  • Posts: 470
  • Gender: Male
  • SMF French Translator
    • forummustang on Facebook
    • Ford Mustangs
Re: 2.0 Sunset
« Reply #77 on: January 31, 2012, 05:45:34 PM »
By the way, here is the code I removed from the Profile.template.php file, maybe someone will be able to say what it is for.

Code: [Select]
<script type="text/javascript"><!-- // --><![CDATA[
                                    function tick()
                                    {
                                        if (typeof(document.forms.creator) != "undefined")
                                        {
                                            calcCharLeft();
                                            setTimeout("tick()", 1000);
                                        }
                                        else
                                            setTimeout("tick()", 800);
                                    }

                                    function calcCharLeft()
                                    {
                                        var maxLength = ', $context['signature_limits']['max_length'], ';
                                        var oldSignature = "", currentSignature = document.forms.creator.signature.value;

                                        if (!document.getElementById("signatureLeft"))
                                            return;

                                        if (oldSignature != currentSignature)
                                        {
                                            oldSignature = currentSignature;

                                            if (currentSignature.replace(/\r/, "").length > maxLength)
                                                document.forms.creator.signature.value = currentSignature.replace(/\r/, "").substring(0, maxLength);
                                            currentSignature = document.forms.creator.signature.value.replace(/\r/, "");
                                        }

                                        setInnerHTML(document.getElementById("signatureLeft"), maxLength - currentSignature.length);
                                    }

                                    addLoadEvent(tick);
                                // ]]></script>
   

Offline JohnS

  • Jr. Member
  • **
  • Posts: 209
  • Gender: Male
    • Lakes Telecommunications
Re: 2.0 Sunset
« Reply #78 on: February 01, 2012, 05:06:24 AM »
Hi Chadon
Many thanks for this. As far as I can see the tick function updates the character count in the signature. Removing it should not give a problem but I am trying to seek some further information on this. Strange that it only affects your profile and not the default one, there must be some interaction somehow.
Thanks for all your prompt help
Best wishes
John

Offline impreza

  • Sophist Member
  • *****
  • Posts: 1,054
    • open-youweb.com
Re: 2.0 Sunset
« Reply #79 on: February 19, 2012, 01:17:26 PM »
nice done, thank you
Portal open-youweb.com - treści w postaci artykułów i filmów tematycznych