Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Theme Site Themes => Topic started by: SychO on September 22, 2018, 10:12:35 PM

Title: SunRise
Post by: SychO on September 22, 2018, 10:12:35 PM
Link to the theme (https://custom.simplemachines.org/index.php?theme=2921)
(https://1.bp.blogspot.com/-15DJlTxdlL8/W3lLTIY1UYI/AAAAAAAAE1M/RcaOK15CHx0JFljp98Zc0yDHronpmPgTACK4BGAYYCw/s1600/portfolio_thumbnail.gif)
(https://2.bp.blogspot.com/-rYJzO-U017o/W4F4j3xzpaI/AAAAAAAAE2E/O9wOS2rZlcoLF-l4tNTUE6yausvbG8FqwCK4BGAYYCw/s1600/sr_remake_1.png)

SunRise SMF Theme

Author: SychO (https://sycho9.github.io/?ref=sunrise)
Languages: English, French, Spanish(by Rock Lee (https://www.simplemachines.org/community/index.php?action=profile;u=322597)), Polish(by UltimatePremium (https://www.simplemachines.org/community/index.php?action=profile;u=597100)), Russian(by Whyskas (https://www.simplemachines.org/community/index.php?action=profile;u=598285))

SunRise is a Free, Minimalist & Responsive SMF Theme, With Light & Dark Modes

NOTICE: Some Pages/Tables May not be responsive
Color Palettes:
Light █ █ █ Dark █ █ █


(https://3.bp.blogspot.com/-adLQcu5uf_c/W3W7pHZnrYI/AAAAAAAAEzM/JObmpKj5CD0NbHSeNIJwqQYLI9AbZtq7ACK4BGAYYCw/s1600/sr_mockup_sunrise.jpg)(https://1.bp.blogspot.com/-te5fkSl9EsU/W3W7o8IyePI/AAAAAAAAEzI/FszB5atykAIKDMilqO6YAf-RF-B4gAOjwCK4BGAYYCw/s1600/sr_mockup_midnight.jpg)

(http://3.bp.blogspot.com/-xfMAxEcWwRE/W3lLSxJQzeI/AAAAAAAAE1A/Y-IKYUMvtNcGtyNUTe-fo_FnHCuhfwMRACK4BGAYYCw/s1600/flat_buttons_donate.png) (https://www.buymeacoffee.com/sycho)

Mods Supported
(https://2.bp.blogspot.com/-q5NEI-ID9ZI/W3iAk5E4QvI/AAAAAAAAE0k/C9JMyfnxM7kwrqAQDR57f-lsk0PexPdjgCK4BGAYYCw/s1600/if_plus_1646001.png) SimplePortal
(https://2.bp.blogspot.com/-q5NEI-ID9ZI/W3iAk5E4QvI/AAAAAAAAE0k/C9JMyfnxM7kwrqAQDR57f-lsk0PexPdjgCK4BGAYYCw/s1600/if_plus_1646001.png) Like Posts by vbgamer45 (https://www.simplemachines.org/community/index.php?action=profile;u=24876)
(https://2.bp.blogspot.com/-q5NEI-ID9ZI/W3iAk5E4QvI/AAAAAAAAE0k/C9JMyfnxM7kwrqAQDR57f-lsk0PexPdjgCK4BGAYYCw/s1600/if_plus_1646001.png) Tagging System For Topics by vbgamer45 (https://www.simplemachines.org/community/index.php?action=profile;u=24876)

ChangeLog
Version 2.0.5 [08/17/2021]
-----------------------
!Removed author footer copyright line

Version 2.0.4 [08/09/2020]
-----------------------
!Fixed performance issue

Version 2.0.3 [10/12/2019]
! Updated FontAwesome to 5.11.2
! Fixed a couple of minor bugs

Version 2.0.2 [05/29/2019]
! Fixed an error on php 5.4

Version 2.0.1 [04/24/2019]
! Fixed a bug with custom fields on topic view

Version 2.0 [04/16/2019]
+ Added options to disable some of the graphics
+ Added option to force one of the layouts on members
+ Added options to manipulate the avatars on topics and boards
- Removed google+ from social media links
! Some code cleanup
! Updated the FontAwesome library
+ Added option to switch between two logos

28/01/2019
! Fixed auto suggest list not visible

09/11/2018
! Big CSS Code Cleanup
+ Added Instant tooltip change of light/dark modes switcher

27/10/2018
+ Added Russian Translation by Whyskas

04/10/2018
+ Added Polish Translation by UltimatePremium
+ Added Credits for Translators in the theme settings page.

27/09/2018
! Fixed old text strings appearing instead of theme specified ones.

26/09/2018 #1
! Added explanatory text for brand icon types.
! Added support for brand icon types.

26/09/2018
+ Added Spanish Translation by Rock Lee
! Fixed Browser compatibility issues with topic option dropmenu (Opera & IE)

24/09/2018
! Fixed header buttons not showing with banner images, credit goes to Antechinus.
! Fixed broken guest default avatar.

QuoteCopyright (C) 2018 SychO (M.S)
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, But you may not remove the author's copyrights; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-----------------
Fugue Icons | © 2012 Yusuke Kamiyamane | These icons are licensed under a Creative Commons Attribution 3.0 License
Oxygen Icons | These icons are licensed under GNU LGPLv3
Footer Image Author : pixelz.cc
jQuery.marquee : @author Aamir Afridi - aamirafridi@gmail.com / http://aamirafridi.com/jquery/jquery-marquee-plugin
Tooltipster, Developed and maintained by Caleb Jacob and Louis Ameline under the MIT license
-----------------
Title: Re: SunRise
Post by: vbgamer45 on September 22, 2018, 11:24:51 PM
Awesome theme thanks for the mod support as well!
Title: Re: SunRise
Post by: Antechinus on September 23, 2018, 02:12:29 AM
Threw it on local for a look. There doesn't appear to be any user-selectable option for theme variant. As far as I can tell it's set site-wide in admin, with no other alternatives elsewhere. This seems to be a bit of a pity.

I'm also not sure why it wasn't just done with the built-in SMF variant system, which would have required far less code and would have allowed members to select the variant they prefer.

While we're on the subject, code could be trimmed in quite a few places in the CSS. Not that it will ruin anyone's day the way it is, but you could get rid of quite few declarations.

Still, it looks kinds nifty.
Title: Re: SunRise
Post by: SychO on September 23, 2018, 02:41:24 AM
Quote from: vbgamer45 on September 22, 2018, 11:24:51 PM
Awesome theme thanks for the mod support as well!
Thanks man :)

Quote from: Antechinus on September 23, 2018, 02:12:29 AM
Threw it on local for a look. There doesn't appear to be any user-selectable option for theme variant. As far as I can tell it's set site-wide in admin, with no other alternatives elsewhere. This seems to be a bit of a pity.

I'm also not sure why it wasn't just done with the built-in SMF variant system, which would have required far less code and would have allowed members to select the variant they prefer.

While we're on the subject, code could be trimmed in quite a few places in the CSS. Not that it will ruin anyone's day the way it is, but you could get rid of quite few declarations.

Still, it looks kinds nifty.

I actually thought about that, but in the end I just left it to the cookie, it's true that it'd take far less code, but I was aiming at the smooth change ;) I'm thinking of adding a user option in an update anyway since cookies expire, but until then members can still choose what they prefer.

yup the css definitely can be improved, I guess I was just lazy to do so.

Thanks for the feedback :)
Title: Re: SunRise
Post by: Antechinus on September 23, 2018, 02:55:51 AM
You really don't need to worry about all the prefixed declarations for transition, border-radius, etc, etc. Those haven't been necessary since before my hair started going grey, and that was years ago. :D

It's perfectly safe to use the basic W3C syntax for just about any CSS3 stuff. There may be one or two exceptions, but I can't think of any offhand. If one or two people somewhere on Earth are using an ancient version of whatever, everything will still work anyway. If a little bit of eye candy is missing they'll never notice. The 2.1 default uses basic W3C syntax. So does Elk.

So where can members choose what they prefer? I couldn't find a member-accessible variant change anywhere.
Title: Re: SunRise
Post by: Tricky-Ricky on September 23, 2018, 06:48:03 AM
Whoooo its here at last. Thanks sycho for yet another amazing template
Title: Re: SunRise
Post by: SychO on September 23, 2018, 10:26:29 AM
Quote from: Antechinus on September 23, 2018, 02:55:51 AM
You really don't need to worry about all the prefixed declarations for transition, border-radius, etc, etc. Those haven't been necessary since before my hair started going grey, and that was years ago. :D

It's perfectly safe to use the basic W3C syntax for just about any CSS3 stuff. There may be one or two exceptions, but I can't think of any offhand. If one or two people somewhere on Earth are using an ancient version of whatever, everything will still work anyway. If a little bit of eye candy is missing they'll never notice. The 2.1 default uses basic W3C syntax. So does Elk.

So where can members choose what they prefer? I couldn't find a member-accessible variant change anywhere.
Ive been doing that for like 3years now that it became a reflex, I'm not entirely sure it's not needed, I think I noticed some mobile browsers needed those, I'll look it up though.

There's a button with a moon icon in the header, next to the search button. Click that.
Quote from: Tricky-Ricky on September 23, 2018, 06:48:03 AM
Whoooo its here at last. Thanks sycho for yet another amazing template
Enjoy
Title: Re: SunRise
Post by: milenyals on September 23, 2018, 10:35:45 AM
Hi, Sycho,

Finally it's here. Thank you very much for this awesome theme.

I just found a layout bug with Say Thanks mod, please see below screenshot:

(https://i.imgur.com/UgjhdvY.jpg)
Title: Re: SunRise
Post by: SychO on September 23, 2018, 11:03:19 AM
Yea, don't expect mods like that to work like the default theme, that's the downside of customizing a theme a lot.

Attach Display.template.php I'll have a look at it
Title: Re: SunRise
Post by: milenyals on September 23, 2018, 11:19:22 AM
Quote from: SychO on September 23, 2018, 11:03:19 AM
Yea, don't expect mods like that to work like the default theme, that's the downside of customizing a theme a lot.

Attach Display.template.php I'll have a look at it

thanks Sycho, see attached.
Title: Re: SunRise
Post by: Antechinus on September 23, 2018, 04:23:55 PM
Quote from: SychO on September 23, 2018, 10:26:29 AMThere's a button with a moon icon in the header, next to the search button. Click that.

Aha! Found it. :D What had happened is that the test site I threw it on was running a full-width banner on default, so I just used the same banner url on SunRise. That resulted in the banner image covering your floated buttons, so no could see. If anyone else runs into the same problem, and wants to use a full-width banner, there's an easy fix.

Code (Find) Select
.topSettings {
padding: 8px 0;
}

Code (Replace) Select
.topSettings {
padding: 8px 0;
position: relative;
z-index: 9;
}

Code (Find) Select
div.forumtitle .title_onclick {
    position: relative;
    padding: 0;
    cursor: pointer;
}

Code (Replace) Select
div.forumtitle .title_onclick {
    position: relative;
    padding: 0;
    cursor: pointer;
}
.title_onclick>img {
max-width: 100%;
}


This doesn't break anything with smaller banners either. :)
Title: Re: SunRise
Post by: SychO on September 23, 2018, 04:48:42 PM
oh, nice catch ! I'll be adding those fixes in an update :) thanks @Antechinus
Title: Re: SunRise
Post by: SychO on September 23, 2018, 06:03:01 PM
Quote from: milenyals on September 23, 2018, 11:19:22 AM
Quote from: SychO on September 23, 2018, 11:03:19 AM
Yea, don't expect mods like that to work like the default theme, that's the downside of customizing a theme a lot.

Attach Display.template.php I'll have a look at it

thanks Sycho, see attached.

put this in the sunrise theme folder, see what it gives
Title: Re: SunRise
Post by: milenyals on September 23, 2018, 08:34:52 PM
Quote from: SychO on September 23, 2018, 06:03:01 PM
Quote from: milenyals on September 23, 2018, 11:19:22 AM
Quote from: SychO on September 23, 2018, 11:03:19 AM
Yea, don't expect mods like that to work like the default theme, that's the downside of customizing a theme a lot.

Attach Display.template.php I'll have a look at it

thanks Sycho, see attached.

put this in the sunrise theme folder, see what it gives

this one before thanks:
(https://i.imgur.com/EBqgfWa.jpg)

this one after:
(https://i.imgur.com/MxPr6ju.jpg)
Title: Re: SunRise
Post by: milenyals on September 23, 2018, 10:01:21 PM
I would like to report this also, this is for the newly registered user, default avatar is not showing:

(https://i.imgur.com/GfeH9nS.png)
Title: Re: SunRise
Post by: lazo50 on September 24, 2018, 08:11:37 AM
The dot selector does not work
Title: Re: SunRise
Post by: SychO on September 24, 2018, 08:59:45 AM
Quote from: milenyals on September 23, 2018, 10:01:21 PM
I would like to report this also, this is for the newly registered user, default avatar is not showing:
Fixed, thanks for the report

line 241
Find echo'<li><a class="firstlevel" href="javascript:void(0)"><img src="', !empty($context['user']['avatar']) ? $context['user']['avatar']['href'] : $settings['sr_default_avatar'], '" alt="" class="avatar" /><span class="spshl">', $context['user']['name'], '   <i class="fas fa-caret-down"></i></span></a>
Replace with echo'<li><a class="firstlevel" href="javascript:void(0)">', !empty($context['user']['avatar']) ? $context['user']['avatar']['image'] : $settings['sr_default_avatar'], '<span class="spshl"><span class="toolong">', $context['user']['name'], '   </span><i class="fas fa-caret-down"></i></span></a>

As for the mod, considering I don't know how it exactly works, remove the file I previously asked you to add and upload Display.template.php, I changed its position to above the signature, that's the only fix I can figure out.

Quote from: lazo50 on September 24, 2018, 08:11:37 AM
The dot selector does not work

What browser are you using?
What type of device are you using?
Can you provide a link to your forum?


New package uploaded with both fixes mentioned above
Title: Re: SunRise
Post by: milenyals on September 24, 2018, 10:34:30 AM
Quote from: SychO on September 24, 2018, 08:59:45 AM
Quote from: milenyals on September 23, 2018, 10:01:21 PM
I would like to report this also, this is for the newly registered user, default avatar is not showing:
Fixed, thanks for the report

line 241
Find echo'<li><a class="firstlevel" href="javascript:void(0)"><img src="', !empty($context['user']['avatar']) ? $context['user']['avatar']['href'] : $settings['sr_default_avatar'], '" alt="" class="avatar" /><span class="spshl">', $context['user']['name'], '   <i class="fas fa-caret-down"></i></span></a>
Replace with echo'<li><a class="firstlevel" href="javascript:void(0)">', !empty($context['user']['avatar']) ? $context['user']['avatar']['image'] : $settings['sr_default_avatar'], '<span class="spshl"><span class="toolong">', $context['user']['name'], '   </span><i class="fas fa-caret-down"></i></span></a>

As for the mod, considering I don't know how it exactly works, remove the file I previously asked you to add and upload Display.template.php, I changed its position to above the signature, that's the only fix I can figure out.

Quote from: lazo50 on September 24, 2018, 08:11:37 AM
The dot selector does not work

What browser are you using?
What type of device are you using?
Can you provide a link to your forum?


New package uploaded with both fixes mentioned above

1. What file should I edit on the first instruction Sycho?
2. Thanks for providing the updated display file.
Title: Re: SunRise
Post by: SychO on September 24, 2018, 10:40:28 AM
Edit index.template.php
Title: Re: SunRise
Post by: milenyals on September 24, 2018, 12:07:38 PM
Quote from: SychO on September 24, 2018, 10:40:28 AM
Edit index.template.php

Thank you very much. Worked perfectly.
Title: Re: SunRise
Post by: SychO on September 24, 2018, 12:14:12 PM
Quote from: milenyals on September 24, 2018, 12:07:38 PM
Thank you very much. Worked perfectly.

Glad to hear, feel free to report any other bugs you find :)
Title: Re: SunRise
Post by: milenyals on September 24, 2018, 11:12:05 PM
How can I move the news to the upper part? after the picture? See below:

(https://i.imgur.com/KEZh6Hx.png)
Title: Re: SunRise
Post by: GigaWatt on September 25, 2018, 12:19:26 AM
Another great theme SychO ;).

A quick question. Isn't the sun/moon animation a bit fast ???.
Title: Re: SunRise
Post by: Antechinus on September 25, 2018, 12:38:09 AM
You want it to take all evening?
Title: Re: SunRise
Post by: SychO on September 25, 2018, 03:57:40 AM
Quote from: milenyals on September 24, 2018, 11:12:05 PM
How can I move the news to the upper part? after the picture? See below:

(https://i.imgur.com/KEZh6Hx.png)
The only way is to set the news to show everywhere, otherwise no :/

Quote from: GigaWatt on September 25, 2018, 12:19:26 AM
Another great theme SychO ;).

A quick question. Isn't the sun/moon animation a bit fast ???.

Thanks :) , and I think any slower than that would be too much lol
Title: Re: SunRise
Post by: milenyals on September 25, 2018, 04:31:28 AM
Quote from: SychO on September 25, 2018, 03:57:40 AM
Quote from: milenyals on September 24, 2018, 11:12:05 PM
How can I move the news to the upper part? after the picture? See below:

(https://i.imgur.com/KEZh6Hx.png)

The only way is to set the news to show everywhere, otherwise no :/

Just wondering how can I do that? Thanks Sycho.
Title: Re: SunRise
Post by: SychO on September 25, 2018, 06:11:19 AM
Just look in the theme settings, click the cogs button, there's an option there.
Title: Re: SunRise
Post by: milenyals on September 25, 2018, 06:23:05 AM
Quote from: SychO on September 25, 2018, 06:11:19 AM
Just look in the theme settings, click the cogs button, there's an option there.

thank you very much.
Title: Re: SunRise
Post by: milenyals on September 25, 2018, 09:20:46 AM
Hello Sycho,

It's me again, I would like to ask if it's possible for the child board to have a little space in between?, see below:

(https://screenshotscdn.firefoxusercontent.com/images/6957e264-a2ec-4290-b712-a6e03e857637.png)
Title: Re: SunRise
Post by: SychO on September 25, 2018, 09:31:54 AM
Yea, you're right I should add some margin there

index.css
Code (Find) Select
td.info .child_boards a {
    padding: 1px 6px;
    font-size: 12px;
    position: relative;
    display: inline-block;
    vertical-align: top;
    line-height: normal;
    top: 0px;
}

Code (Replace) Select
td.info .child_boards a {
    padding: 1px 6px;
    font-size: 12px;
    position: relative;
    display: inline-block;
    vertical-align: top;
    line-height: normal;
    top: 0px;
    margin: 1px 0;
}
.child_boards>i {
    line-height: 22px;
}
Title: Re: SunRise
Post by: milenyals on September 25, 2018, 09:43:38 AM
Quote from: SychO on September 25, 2018, 09:31:54 AM
Yea, you're right I should add some margin there

index.css
Code (Find) Select
td.info .child_boards a {
    padding: 1px 6px;
    font-size: 12px;
    position: relative;
    display: inline-block;
    vertical-align: top;
    line-height: normal;
    top: 0px;
}

Code (Replace) Select
td.info .child_boards a {
    padding: 1px 6px;
    font-size: 12px;
    position: relative;
    display: inline-block;
    vertical-align: top;
    line-height: normal;
    top: 0px;
    margin: 1px 0;
}
.child_boards>i {
    line-height: 22px;
}


worked perfectly, thank you very much.
Title: Re: SunRise
Post by: RockLee on September 25, 2018, 01:54:27 PM
Very good topic really, great job. I leave the translation to Latin Spanish! I hope to see more great works like this one.


Regards!
Title: Re: SunRise
Post by: GigaWatt on September 25, 2018, 04:32:54 PM
Quote from: Antechinus on September 25, 2018, 12:38:09 AM
You want it to take all evening?

LOL :D, no, just a little slower ;).

Quote from: SychO on September 25, 2018, 03:57:40 AM
Thanks :) , and I think any slower than that would be too much lol

Ummm... maybe I should record the transition in Pale Moon... though I get the same speed in IE ???.
Title: Re: SunRise
Post by: djcyry on September 25, 2018, 05:34:27 PM
Hi.
Nice theme and god job.
I have a question , its easy to edit or change that mountains ? thanks  ;D
Title: Re: SunRise
Post by: Antechinus on September 25, 2018, 08:47:43 PM
Quote from: GigaWatt on September 25, 2018, 04:32:54 PM
Quote from: Antechinus on September 25, 2018, 12:38:09 AM
You want it to take all evening?

LOL :D, no, just a little slower ;).

Shouldn't be hard to change if you want to experiment with it. The animations start on Line 4357 of index.css.
Title: Re: SunRise
Post by: lazo50 on September 26, 2018, 06:24:19 AM
The dot selector does not work with IE while it is ok on chome

Title: Re: SunRise
Post by: Veee on September 26, 2018, 07:11:43 AM
Yet another amazing theme. You never cease to amaze me, theme after theme you release is better than the others. You're so talented!!!

Now, I do have a question... You know how there's an image for the footer when it's day and another for when it's night? Can we do that for the header/top banner also? And remove the mountains/sun? Or if that's not possible move those elements to the front of the header? I really wanted to have a different header in full width + height for each switch so I could add some darked elements to the night theme.


Thank youuuuuu!!!!
Title: Re: SunRise
Post by: Antechinus on September 26, 2018, 08:26:18 AM
Quote from: lazo50 on September 26, 2018, 06:24:19 AMThe dot selector does not work with IE while it is ok on chrome

Doesn't seem to be working in Opera either (Opera 55.0 on Windows 7 64 bit). It's fine in Pale Moon.
Title: Re: SunRise
Post by: SychO on September 26, 2018, 09:50:53 AM
Quote from: Rock Lee on September 25, 2018, 01:54:27 PM
Very good topic really, great job. I leave the translation to Latin Spanish! I hope to see more great works like this one.

Awesome ! Thanks Rock Lee, it has been added !

Quote from: djcyry on September 25, 2018, 05:34:27 PM
Hi.
Nice theme and god job.
I have a question , its easy to edit or change that mountains ? thanks  ;D

Depends on what you want to put instead, if you're going for a banner then you'll have to make css changes for that
the light mountains img is named sr_sunrise.png and dark is named sr_midnight, they're located in images/custom

Quote from: lazo50 on September 26, 2018, 06:24:19 AM
The dot selector does not work with IE while it is ok on chome
Quote from: Antechinus on September 26, 2018, 08:26:18 AM
Doesn't seem to be working in Opera either (Opera 55.0 on Windows 7 64 bit). It's fine in Pale Moon.

Yea, fit-content doesn't work on IE, ugh browser compatibility issues are the worst.
Fixed and new package uploaded, files changes are: index.css & theme.js

Thank you both for reporting it :)

Quote from: Veee on September 26, 2018, 07:11:43 AM
Yet another amazing theme. You never cease to amaze me, theme after theme you release is better than the others. You're so talented!!!

Now, I do have a question... You know how there's an image for the footer when it's day and another for when it's night? Can we do that for the header/top banner also? And remove the mountains/sun? Or if that's not possible move those elements to the front of the header? I really wanted to have a different header in full width + height for each switch so I could add some darked elements to the night theme.

Thank you @Vee :)

hmm, You could do that by specifying a background image for the header and use different images for light/dark, there are two css files: sunrise.css where any code shows in the light mode, and midnight.css where any code shows in dark mode, you can add changes there, but I'm not sure that's what you mean though, unless you're talking about the logo image which you can specify in the theme settings ?
Title: Re: SunRise
Post by: lazo50 on September 26, 2018, 12:20:17 PM
Another small imperfection


Show Footer Aditional Links:   External Link Icon(FontAwesome fa-xxx): not work
Add an Icon to Header Title:: not work
Title: Re: SunRise
Post by: SychO on September 26, 2018, 12:30:44 PM
Quote from: lazo50 on September 26, 2018, 12:20:17 PM
Add an Icon to Header Title:: not work

It doesn't work with brand type icons, but it works with normal ones

Quote from: lazo50 on September 26, 2018, 12:20:17 PM
Show Footer Aditional Links:   External Link Icon(FontAwesome fa-xxx): not work

try a value similar to this: fas fa-globe or fab fa-facebook

I'll have to edit the theme settings text to be clearer about these values.
Title: Re: SunRise
Post by: Biology Forums on September 26, 2018, 04:43:55 PM
Forward thinking with giving users the option to choose night or light mode. Cool!
Title: Re: SunRise
Post by: Antechinus on September 26, 2018, 08:07:21 PM
Quote from: SychO on September 26, 2018, 09:50:53 AM...ugh browser compatibility issues are the worst.

Tell me about it. ::) Always have been. Opera is a good one to test. I know it's Webkit, but they do their own things to it and it doesn't behave quite the same as Chrome or other Webkit builds.

Opera has always had an idiosyncratic and very strict view of web standards. What you will find is that if something works on Opera it will also work on other browsers (99% of the time anyway) but if something works on Firefox or Chrome it won't necessarily work on Opera. So if you check things on Opera you will use more naughty words in early testing, but fewer naughty words in post-release bug fixing. :)

(I still hate it though)
Title: Re: SunRise
Post by: Biology Forums on September 26, 2018, 09:13:16 PM
That's good advice, usually it's the last one I test
Title: Re: SunRise
Post by: SychO on September 27, 2018, 04:42:09 AM
Quote from: Antechinus on September 26, 2018, 08:07:21 PM
Tell me about it. ::) Always have been. Opera is a good one to test. I know it's Webkit, but they do their own things to it and it doesn't behave quite the same as Chrome or other Webkit builds.

Opera has always had an idiosyncratic and very strict view of web standards. What you will find is that if something works on Opera it will also work on other browsers (99% of the time anyway) but if something works on Firefox or Chrome it won't necessarily work on Opera. So if you check things on Opera you will use more naughty words in early testing, but fewer naughty words in post-release bug fixing. :)

(I still hate it though)

I see, that's interesting.
I usually only test in IE & Edge, cause those two are usually the unhappy ones, didn't think Opera would be somewhat demanding as well, guess I gotta start testing on it as well then :/
Title: Re: SunRise
Post by: Antechinus on September 27, 2018, 05:31:48 AM
Most of the time Opera does behave how you'd expect. It's just every so often that you'll hit a case where it doesn't. I can't give examples offhand because I've done limited coding lately, but I do recall some cases fairly recently where something I was messing around with needed special treatment for Opera. Fortunately the fixes for Opera also worked in other browsers, but I can't remember what the exact situation was or how I fixed it.

Short version is it'll be fine a lot of the time, but it's always worth checking, and you may have to do some lateral thinking here and there. :)
Title: Re: SunRise
Post by: Veee on September 27, 2018, 05:39:49 PM
Quote from: SychO on September 26, 2018, 09:50:53 AM
hmm, You could do that by specifying a background image for the header and use different images for light/dark, there are two css files: sunrise.css where any code shows in the light mode, and midnight.css where any code shows in dark mode, you can add changes there, but I'm not sure that's what you mean though, unless you're talking about the logo image which you can specify in the theme settings ?

Thank you for the reply. I added a header in the logo image section in theme settings and it doesn't show it in it's full resolution. The banner image is 1800x300 and it's showing reduced as 1100x190px.... Where is the place I can edit to change this setting? The mountains and sunrise are behind the banner image/logo, how can I put them over it? Thanks.  ;D
Title: Re: SunRise
Post by: SychO on September 27, 2018, 05:41:48 PM
Quote from: Veee on September 27, 2018, 05:39:49 PM
Thank you for the reply. I added a header in the logo image section in theme settings and it doesn't show it in it's full resolution. The banner image is 1800x300 and it's showing reduced as 1100x190px.... Where is the place I can edit to change this setting? The mountains and sunrise are behind the banner image/logo, how can I put them over it? Thanks!!!

can you post a link to your forum ?
Title: Re: SunRise
Post by: lazo50 on September 28, 2018, 07:44:01 AM
Last upgrade

Error in the template scan!
There was a problem loading the template or translation file /Themes/SunRise20_1/Themes.template.php. Check the syntax of the file and try again - pay attention to the apostrophes ('): often they must be preceded by the escape character (\). To view more detailed information about the error, try to access the file directly. You can also try reloading the page or using the default theme.

syntax error, unexpected T_ENCAPSED_AND_WHITESPACE

Title: Re: SunRise
Post by: SychO on September 28, 2018, 08:05:32 AM
Quote from: lazo50 on September 28, 2018, 07:44:01 AM
Last upgrade

Error in the template scan!
There was a problem loading the template or translation file /Themes/SunRise20_1/Themes.template.php. Check the syntax of the file and try again - pay attention to the apostrophes ('): often they must be preceded by the escape character (\). To view more detailed information about the error, try to access the file directly. You can also try reloading the page or using the default theme.

syntax error, unexpected T_ENCAPSED_AND_WHITESPACE

Weird, the file was only partially downloaded

use this file instead:
Title: Re: SunRise
Post by: Veee on September 29, 2018, 04:23:53 PM
Quote from: SychO on September 27, 2018, 05:41:48 PM
Quote from: Veee on September 27, 2018, 05:39:49 PM
Thank you for the reply. I added a header in the logo image section in theme settings and it doesn't show it in it's full resolution. The banner image is 1800x300 and it's showing reduced as 1100x190px.... Where is the place I can edit to change this setting? The mountains and sunrise are behind the banner image/logo, how can I put them over it? Thanks!!!

can you post a link to your forum ?

I have it on a local server to edit it the way I want before going live on my own forum. I will try to explain what I want with images.

Added the header image url on the logo image option in the theme settings page.
Then it looks like this [screenshot1]. it's resizing the image.... when I want it to go over the edges...

Which is ok, but I'd rather it looked it's full size. Like this [screenshot2]

How can this be accomplished? I tried changing some parts in the css but I must not be changing everything... Also, on desktops the header is centered while in mobile devices the header moves to the left, where do I go to center it? Hope this helps. Thank you.
Title: Re: SunRise
Post by: milenyals on September 30, 2018, 09:09:00 AM
Quote from: Veee on September 29, 2018, 04:23:53 PM
Quote from: SychO on September 27, 2018, 05:41:48 PM
Quote from: Veee on September 27, 2018, 05:39:49 PM
Thank you for the reply. I added a header in the logo image section in theme settings and it doesn't show it in it's full resolution. The banner image is 1800x300 and it's showing reduced as 1100x190px.... Where is the place I can edit to change this setting? The mountains and sunrise are behind the banner image/logo, how can I put them over it? Thanks!!!

can you post a link to your forum ?

I have it on a local server to edit it the way I want before going live on my own forum. I will try to explain what I want with images.

Added the header image url on the logo image option in the theme settings page.
Then it looks like this [screenshot1]. it's resizing the image.... when I want it to go over the edges...

Which is ok, but I'd rather it looked it's full size. Like this [screenshot2]

How can this be accomplished? I tried changing some parts in the css but I must not be changing everything... Also, on desktops the header is centered while in mobile devices the header moves to the left, where do I go to center it? Hope this helps. Thank you.

you just need to go to the Theme Settings and set Forum width to 100%
Title: Re: SunRise
Post by: Veee on September 30, 2018, 09:54:01 AM
Quote from: milenyals on September 30, 2018, 09:09:00 AM
Quote from: Veee on September 29, 2018, 04:23:53 PM
Quote from: SychO on September 27, 2018, 05:41:48 PM
Quote from: Veee on September 27, 2018, 05:39:49 PM
Thank you for the reply. I added a header in the logo image section in theme settings and it doesn't show it in it's full resolution. The banner image is 1800x300 and it's showing reduced as 1100x190px.... Where is the place I can edit to change this setting? The mountains and sunrise are behind the banner image/logo, how can I put them over it? Thanks!!!

can you post a link to your forum ?

I have it on a local server to edit it the way I want before going live on my own forum. I will try to explain what I want with images.

Added the header image url on the logo image option in the theme settings page.
Then it looks like this [screenshot1]. it's resizing the image.... when I want it to go over the edges...

Which is ok, but I'd rather it looked it's full size. Like this [screenshot2]

How can this be accomplished? I tried changing some parts in the css but I must not be changing everything... Also, on desktops the header is centered while in mobile devices the header moves to the left, where do I go to center it? Hope this helps. Thank you.

you just need to go to the Theme Settings and set Forum width to 100%

Yes, but that way everything in the forum turns 100% and I'd like the main part with the categories, users online etc to stay at 80%... I was wondering if I could manually change the header/logo part in the css, but I have no idea which parts to change. :/

Thanks for trying to help :)
Title: Re: SunRise
Post by: Paracelsus on October 01, 2018, 07:14:35 AM
Very nice theme Sycho (as well as the others, specially NightBreeze), love the night-mode option...

Two things:
1. A minor correction: there should be a way to see avatars always as a perfect circle and not "ovals" when the image isn't square. I've accomplished this at our forum (see signature), and have tried to emulate the same css on yours but somehow can't reach it.
2. A suggestion... option for fixed navbar on top... it would help a lot specially on mobile (elements forum name/logo + profile + unread + search available at any time, eventually even mentions + alerts, which we have on our forum), but also on desktop, here it would be interesting to have different navbars whether one is on board/messageindex or on post view (where it is also interesting to see which topic you're into... a bit like apple discussions website thread view)
Title: Re: SunRise
Post by: SychO on October 01, 2018, 05:44:05 PM
Quote from: Paracelsus on October 01, 2018, 07:14:35 AM
Very nice theme Sycho (as well as the others, specially NightBreeze), love the night-mode option...

Two things:
1. A minor correction: there should be a way to see avatars always as a perfect circle and not "ovals" when the image isn't square. I've accomplished this at our forum (see signature), and have tried to emulate the same css on yours but somehow can't reach it.
2. A suggestion... option for fixed navbar on top... it would help a lot specially on mobile (elements forum name/logo + profile + unread + search available at any time, eventually even mentions + alerts, which we have on our forum), but also on desktop, here it would be interesting to have different navbars whether one is on board/messageindex or on post view (where it is also interesting to see which topic you're into... a bit like apple discussions website thread view)

Thanks for the feedback :)

1. That'd indeed be nice, but I would have to force a fixed size on the avatar in order to keep them square, and I don't really want to do that, I could however add it as a setting which would be nice.

2. Yea that would be nice aswell, I would add that as an option to turn on/off but I don't think I want to add any features at this point.
Title: Re: SunRise
Post by: Veee on October 02, 2018, 09:24:40 AM
@ SychO

did you perhaps miss my post about the header? Is there a way I can edit the theme main header part to have the image show as full instead of resized? I tried the solution milenyals mentioned but that would make the whole forum full size and that's not what I want, just the header/navigation part. The rest I want to keep at 80%. Like the size of the SMF forum for example.

Thanks.
Title: Re: SunRise
Post by: SychO on October 02, 2018, 11:08:28 AM
No I didn't miss it, I just can't take a look right now, I'll do so over the weekend and reply to you.
Title: Re: SunRise
Post by: kryptokeskustelu.org on October 02, 2018, 02:03:25 PM
Hi, and thanks about this new very nice theme. Works great with mobile :)

I have couple of questions if someone can maybe help...
1. How i can i make/resize gray mountain "area" smaller/thinner in mobile version? Now it is big and need to scroll to see kategories. (See attachment)
2. Can i change pencil logo to other logos, so every kategory have own logo? Like Bitcoin have bitcoin logo, ethereum have ethereum logo etc (See attachment)
3. Can i erase/change/change only a color of purple/pink mountain in site bottom?

Thank you!
Title: Re: SunRise
Post by: Kindred on October 02, 2018, 02:37:24 PM
to do number 2, you need a mod... there are 2 or 3 of them out there which do that
Title: Re: SunRise
Post by: Veee on October 02, 2018, 03:43:27 PM
Quote from: SychO on October 02, 2018, 11:08:28 AM
No I didn't miss it, I just can't take a look right now, I'll do so over the weekend and reply to you.

Okay, thank you so much! :)
Title: Re: SunRise
Post by: SychO on October 04, 2018, 09:00:06 AM
Quote from: Veee on October 02, 2018, 09:24:40 AM
Is there a way I can edit the theme main header part to have the image show as full instead of resized? I tried the solution milenyals mentioned but that would make the whole forum full size and that's not what I want, just the header/navigation part. The rest I want to keep at 80%. Like the size of the SMF forum for example.

Well, you can either remove the wrapper class which is inside upper_section element in index.template.php, or force a 100% width on #upper_section .wrapper in index.css and manipulate max-height value of the same element.

Quote from: kryptokeskustelu.org on October 02, 2018, 02:03:25 PM
Hi, and thanks about this new very nice theme. Works great with mobile :)

I have couple of questions if someone can maybe help...
1. How i can i make/resize gray mountain "area" smaller/thinner in mobile version? Now it is big and need to scroll to see kategories. (See attachment)
2. Can i change pencil logo to other logos, so every kategory have own logo? Like Bitcoin have bitcoin logo, ethereum have ethereum logo etc (See attachment)
3. Can i erase/change/change only a color of purple/pink mountain in site bottom?

Thank you!

1. What does that have to do with categories ?

2. what @Kindred said, maybe check Custom Board Icons mod, though it will fail to install on this theme.

3. Do you know how to use Photoshop or any other graphic software ? then sure you can.
Title: Re: SunRise
Post by: UltimatePremium on October 04, 2018, 03:00:05 PM
Hi SychO

What an amazing Theme, just love it

I have just finished Polish translation.
See attached.

8)
Title: Re: SunRise
Post by: SychO on October 04, 2018, 03:02:07 PM
Quote from: UltimatePremium on October 04, 2018, 03:00:05 PM
Hi SychO

What an amazing Theme, just love it

I have just finished Polish translation.
See attached.

8)

Awesome ! Thanks man I will add it and upload a new package  :)
Title: Re: SunRise
Post by: UltimatePremium on October 04, 2018, 05:59:43 PM
Quote from: SychO on October 04, 2018, 03:02:07 PM
Quote from: UltimatePremium on October 04, 2018, 03:00:05 PM
Hi SychO

What an amazing Theme, just love it

I have just finished Polish translation.
See attached.

8)

Awesome ! Thanks man I will add it and upload a new package  :)

Nice :)

I have found two little bugs.
First one - Option for Turn Lights Off / On shows always the same, regardless the dark or light version picked. See attached photo

Second one - I know you've mentioned that the mods might be not working correctly with custom themes. Please have a look a this one, its called SMFShoutBox
Once you click to change Font or Smiles icon on the shoutbox the pop up is not visible.  I have attached two photos, second one is from the default theme and pop ups showing ok.

Thanks :)

Title: Re: SunRise
Post by: SychO on October 04, 2018, 06:14:13 PM
Nice catch, I should probably add a line of code which updates the content of the Tooltip upon switching to another mode.

The shoutbox things seems to be a zindex issue, could you post a link to your forum ? I'll take a look at it
Title: Re: SunRise
Post by: UltimatePremium on October 04, 2018, 06:31:58 PM
Quote from: SychO on October 04, 2018, 06:14:13 PM
Nice catch, I should probably add a line of code which updates the content of the Tooltip upon switching to another mode.

The shoutbox things seems to be a zindex issue, could you post a link to your forum ? I'll take a look at it

PM sent
Title: Re: SunRise
Post by: SychO on October 04, 2018, 07:02:09 PM
in index.css look for table {
    empty-cells: show;
    overflow: hidden;

remove the overflow line

(why did I add that ...)
Title: Re: SunRise
Post by: UltimatePremium on October 04, 2018, 07:16:19 PM
Quote from: SychO on October 04, 2018, 07:02:09 PM
in index.css look for table {
    empty-cells: show;
    overflow: hidden;

remove the overflow line

(why did I add that ...)

So it's working now but when you open whole Shoutbox as a separate window. See attached
on the main screen still not working

Title: Re: SunRise
Post by: SychO on October 04, 2018, 07:19:22 PM
what's not working, the box is showing up as it should be
Title: Re: SunRise
Post by: UltimatePremium on October 04, 2018, 07:24:29 PM
Quote from: SychO on October 04, 2018, 07:19:22 PM
what's not working, the box is showing up as it should be

Ok, lets start from scratch

On the shoutbox itself there is an option to open it as a separate window (popup) and that's working fine, when you click on the smiles icon, little window (popup) will open with option to choose different smiles. That's working fine.

But shoutbox on the main Forum page, when you try clicking on the smiles icon, little window (popup) with option to choose different smiles will not open, a same as menu to change font and font colour.

Hope that explain bit more
Title: Re: SunRise
Post by: SychO on October 04, 2018, 07:28:51 PM
right, did you make the css changes ? and hit CTRL + F5
Title: Re: SunRise
Post by: UltimatePremium on October 04, 2018, 07:38:16 PM
Quote from: SychO on October 04, 2018, 07:28:51 PM
right, did you make the css changes ? and hit CTRL + F5

Yes I did.
Title: Re: SunRise
Post by: UltimatePremium on October 04, 2018, 07:42:27 PM
So after the css changes with overflow line, when I open shoutbox as a separate window, all the menus works fine (smiles, font, font colour)
Title: Re: SunRise
Post by: UltimatePremium on October 04, 2018, 10:03:36 PM
ok, working ok now  :o

I had to reinstall everything from scratch :P
Title: Re: SunRise
Post by: jafl on October 06, 2018, 11:36:25 AM
Hello,

I have a problem, the Login and Register buttons do not appear

Title: Re: SunRise
Post by: jafl on October 06, 2018, 11:59:49 AM
It is already resolved, thank you.
Title: Re: SunRise
Post by: Veee on October 09, 2018, 10:18:36 AM
Quote from: SychO on October 04, 2018, 09:00:06 AM
Quote from: Veee on October 02, 2018, 09:24:40 AM
Is there a way I can edit the theme main header part to have the image show as full instead of resized? I tried the solution milenyals mentioned but that would make the whole forum full size and that's not what I want, just the header/navigation part. The rest I want to keep at 80%. Like the size of the SMF forum for example.

Well, you can either remove the wrapper class which is inside upper_section element in index.template.php, or force a 100% width on #upper_section .wrapper in index.css and manipulate max-height value of the same element.


Thank you so much! I removed the wrapper class and it solved the problem :)
Title: Re: SunRise
Post by: GigaWatt on October 09, 2018, 07:51:46 PM
Quote from: Antechinus on September 25, 2018, 08:47:43 PM
Quote from: GigaWatt on September 25, 2018, 04:32:54 PM
Quote from: Antechinus on September 25, 2018, 12:38:09 AM
You want it to take all evening?

LOL :D, no, just a little slower ;).

Shouldn't be hard to change if you want to experiment with it. The animations start on Line 4357 of index.css.

Just saw this ::).

Thanks for the info ;). I'll definitely try and will write if I need help ;).
Title: Re: SunRise
Post by: Antechinus on October 09, 2018, 07:58:21 PM
Anyone who likes cold porridge definitely needs help. :D
Title: Re: SunRise
Post by: GigaWatt on October 09, 2018, 08:08:00 PM
Quote from: Antechinus on October 09, 2018, 07:58:21 PM
Anyone who likes cold porridge definitely needs help. :D

Hahahaha :D :D :D.

@SychO: Sorry for the off-topic comment :).
Title: Re: SunRise
Post by: rille2000 on October 15, 2018, 05:14:26 PM

Wow! Really impressed with this theme! :)
Top buttons disappeared after I logged out so it was difficult to login, had to do ?theme=1.

Quote from: jafl on October 06, 2018, 11:59:49 AM
It is already resolved, thank you.

Sounds like a solution, how?
Title: Re: SunRise
Post by: SychO on October 15, 2018, 05:24:48 PM
Quote from: rille2000 on October 15, 2018, 05:14:26 PM

Wow! Really impressed with this theme! :)
Top buttons disappeared after I logged out so it was difficult to login, had to do ?theme=1.

Quote from: jafl on October 06, 2018, 11:59:49 AM
It is already resolved, thank you.

Sounds like a solution, how?

Try enabling "Show a quick login on every page" in Admin > Configuration > Features and Options > Layout

I think I should not use that setting, something for the next update.
Title: Re: SunRise
Post by: rille2000 on October 16, 2018, 05:12:51 AM
Quote from: SychO on October 15, 2018, 05:24:48 PM
Quote from: rille2000 on October 15, 2018, 05:14:26 PM

Wow! Really impressed with this theme! :)
Top buttons disappeared after I logged out so it was difficult to login, had to do ?theme=1.

Quote from: jafl on October 06, 2018, 11:59:49 AM
It is already resolved, thank you.

Sounds like a solution, how?

Try enabling "Show a quick login on every page" in Admin > Configuration > Features and Options > Layout

I think I should not use that setting, something for the next update.

Worked! :)

Title: Re: SunRise
Post by: Whyskas on October 24, 2018, 12:16:28 AM
Hello! Thanks for the work you've done. Great theme.
For a little development, I added Russian.

<?php
/**
 * ## SunRise SMF Theme
 * ## @author: SychO (M.S)
 * ## sycho.22web.org
 * 
 * ## Copyright (C) 2018 SychO (M.S)
 * ## This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
 * ## This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
 * ## You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 * ## LICENSE.TXT
 * 
 * ## version 2.0
*/

global $boardurl;

$txt['default_sr_mode'] = "Выбрать режим темы по умолчанию";
$txt['sr_sunrise'] = "Восход";
$txt['sr_midnight'] = "Полночь";

$txt['collapse'] = "Свернуть";
$txt['expand'] = "Развернуть";

$txt['sr_unread_since_visit'] = "Новые темы";
$txt['sr_show_unread_replies'] = "Новые ответы";
$txt['messages'] = "Входящие";
$txt['new_messages'] = "Новые сообщения";
$txt['maintain_mode_on'] = "Техническое обслуживание";
$txt['cop_y'] = " &copy; ".date("Y");
$txt['sr_mod_reports_waiting'] = "Обращения";
$txt['sr_approve_members_waiting'] = "Ожидают одобрения";
$txt['issue_warning'] = "Предупреждение о проблеме";
$txt['uppercase_forumtitle'] = "Прописные буквы в заголовках";
$txt['footer_copyright'] = "Копирайты";
$txt['forumtitle_size'] = "Размер шрифта заголовка";
$txt['forumtitle_size_d'] = "Указывается в пикселях, оставить пустым для настроек по умолчанию";
$txt['forum_width_desc'] = "Изменить ширину контента. Пример: 65%, 80%, 96%. <span class='error'>Значение в процентах!</span>";

$txt['top_section_width'] = "Растянуть навигацию по всей ширине окна";

$txt['more'] = "Дополнительно";
$txt['more_link'] = "Внешняя ссылка";
$txt['more_link_label'] = "Текст внешней ссылки";
$txt['more_link_fa'] = "Значёк внешней ссылки(FontAwesome fa-xxx)";
$txt['facebook'] = "Facebook";
$txt['youtube'] = "YouTube";
$txt['twitter'] = "Twitter";
$txt['steam'] = "Steam";
$txt['github'] = "Github";
$txt['instagram'] = "Instagram";
$txt['google_plus'] = "Google+";
$txt['discord'] = "Discord";

$txt['header_fa'] = "Добавить значек в заголовок форума";

$txt['hello'] = "Привет";

$txt['menu_buttons_settings'] = "Искать <a href='https://fontawesome.com/icons?from=io' target='_blank'>значки</a><br><span class='success'>Что бы указать значек бренда, добавьте \"fab\" в значение. Пример: (fab fa-google)</span>";
$txt['recent_view'] = "Последние сообщения";
$txt['menu'] = "Меню";
$txt['look_and_layout'] = "Внешний вид форума";
$txt['theme_settings'] = "Настройки темы";
$txt['notifications'] = "Уведомления";

$txt['news_fader'] = "Бегущая строка (На всех страницах)";
$txt['news_boardindex_only'] = "Бегущая строка только на главной странице";
$txt['admin_fader_delay'] = "Скорость бегущей строки (в Миллисекундах)";

$txt['footer_blinks_state'] = "Отобразить дополнительные ссылки в нижнем колонтитуле";
$txt['footer_blinks_title'] = "Дополнительные ссылки в нижнем колонтитуле";
$txt['footer_blinks_link'] = "Текст ссылки";
$txt['footer_blinks_href_link'] = "Ссылка";

$txt['sunrise_support'] = 'Вы можете оказать мне поддержку при помощи <a href="http://sycho.22web.org/donate.php">Пожетвования</a>, Ваша поддержка мне очень сильно поможет :)'
$txt['sunrise_qs'] = 'Вопросы и Отзывы Вы можете опубликовать на форуме SMF <a href="https://www.simplemachines.org/community/index.php?topic=562339.0">Тема посвящённая SunRise</a>';
$txt['sunrise_custom'] = 'Нужна тема по индивидуальному заказу? <a href="http://sycho.22web.org">Найми меня</a>';
$txt['sunrise_skidayo'] = "Понравилась ли Вам эта Тема?";

$txt['sunrise_cpr'] = '<br />Разработанно с <i class="fas fa-heart" style="color:red"></i>   от <a href="http://sycho.22web.org/?ref='.$boardurl.'" target="_blank" class="tooltip" title="Портфолио">SychO</a>';

$txt['sr_mode_0'] = 'Выключить свет';
$txt['sr_mode_1'] = 'Включить свет';

$txt['translation_by'] = 'Авторы перевода';

?>

Title: Re: SunRise
Post by: SychO on October 24, 2018, 03:28:38 AM
Thanks for the translation :)
Title: Re: SunRise
Post by: melanie1986 on November 01, 2018, 01:28:45 AM
 I really love this theme, still tweaking it at the moment on my test site before I add it to my main site. So I will probably be asking a few questions.

First up. Can I remove the sun and moon symbols from the header?

(https://i.imgfly.me/DLzDy.jpg)
Title: Re: SunRise
Post by: SychO on November 01, 2018, 04:14:11 AM
Yea, add this to index.css

.sunmoon { display:none; }
Title: Re: SunRise
Post by: melanie1986 on November 01, 2018, 04:34:09 PM
 that should work, where exactly on the css should I add that? I'm not overly confident with my css editing abilities.  :o
Title: Re: SunRise
Post by: SychO on November 01, 2018, 04:38:39 PM
just add it at the end of the file, also make sure you hard refresh your page after that to see the changes.
Title: Re: SunRise
Post by: melanie1986 on November 01, 2018, 04:48:29 PM
 worked beautifully! thank you. I have to say, this is one of the best looking themes I've seen for SMF. Congrats for that  :)
Title: Re: SunRise
Post by: SychO on November 01, 2018, 05:43:02 PM
Quote from: melanie1986 on November 01, 2018, 04:48:29 PM
worked beautifully! thank you. I have to say, this is one of the best looking themes I've seen for SMF. Congrats for that  :)

Thank you :) do enjoy
Title: Re: SunRise
Post by: whoey on November 05, 2018, 02:55:55 PM
stunning theme... played with it a bit, and loving the overall feel of it!

Might switch over once I have a moment to add all the mods we use as well as a bit of customization
Title: Re: SunRise
Post by: SychO on November 05, 2018, 05:04:45 PM
Glad you like it ^^ thanks for the feedback
Title: Re: SunRise
Post by: ForumMustang.com on November 06, 2018, 09:23:23 AM
Hi, first of all thank you for your work in this beautifull theme.
I just have one problem though. I would like to altenate the background colors of each post inside a topic page like we have here.
It can generally be done by specifying the colors of the windobg and windowbg2 tags but I changed the values into the sunrise.css and midnight.css files but it doesn't affect anything. Can you tell me where I have to look at?
Thank you.
Title: Re: SunRise
Post by: SychO on November 06, 2018, 10:51:23 AM
Quote from: ForumMustang.com on November 06, 2018, 09:23:23 AM
Hi, first of all thank you for your work in this beautifull theme.

You're welcome

Add the following code in each of sunrise.css & midnight.css and edit the value of the bg color#forumposts .windowbg2 {
    background: #f3f3f3;
}


This will be the alternative color, Also make sure you hard refresh your page to see the changes(CTRL+F5)
Title: Re: SunRise
Post by: ForumMustang.com on November 06, 2018, 11:22:18 AM
Perfect! Thank you.
Title: Re: SunRise
Post by: whoey on November 06, 2018, 01:52:16 PM
I was going to say the same thing, seems like the CSS is there for alternating backgrounds, but commented out and another item is forcing it all to be white.
Title: Re: SunRise
Post by: SychO on November 06, 2018, 03:21:40 PM
Nothing is forcing anything, it simply is not alternating colors is all.
Title: Re: SunRise
Post by: ForumMustang.com on November 06, 2018, 03:51:25 PM
Quote from: whoey on November 06, 2018, 01:52:16 PM
I was going to say the same thing, seems like the CSS is there for alternating backgrounds, but commented out and another item is forcing it all to be white.
Yes that's what I thought too but nothing would alternate colors until I added the code SychO suggested.
Title: Re: SunRise
Post by: whoey on November 09, 2018, 12:34:01 PM
It's not a criticism, just an observation, the posted fix did nothing for me, and looking at the CSS I could see where it is set but commented out, and some other CSS seems to be disallowing the change.

index.css has an error on line 1707:
0: 0.9em
assume it's meant to be "font-size"

Any reason there's 2 line breaks as well as CSS margin at the bottom of the header? (IMHO  makes for a big unnecessary gap between header and main content)
Title: Re: SunRise
Post by: SychO on November 09, 2018, 01:24:13 PM
Quote from: whoey on November 09, 2018, 12:34:01 PM
index.css has an error on line 1707:
0: 0.9em
assume it's meant to be "font-size"
Nice catch

Quote from: whoey on November 09, 2018, 12:34:01 PM
the posted fix did nothing for me, and looking at the CSS I could see where it is set but commented out, and some other CSS seems to be disallowing the change.

If you comment that part out, than you have to remove the block of code beneath it.

Quote from: whoey on November 09, 2018, 12:34:01 PM
Any reason there's 2 line breaks as well as CSS margin at the bottom of the header? (IMHO  makes for a big unnecessary gap between header and main content)

I don't disagree, I do think there's too much space there, also I should drop the line breaks.
Title: Re: SunRise
Post by: whoey on November 14, 2018, 06:47:07 AM
Another thing I'm not sure about, the thread starter avatar showing up even in the reduced mobile views of the thread listing, and the CSS rounded corners on avatars (if they aren't square it comes out oval instead of round)

Otherwise, it's been a sheer pleasure to use in testing coming from a heavily customized version of an earlier release of ShelfLife even with the many mods we use not yet implemented and only some minor changes.
Title: Re: SunRise
Post by: soaiceland on November 30, 2018, 12:30:40 PM
I really love this theme but my signatures aren't showing up.  They are coming up as a letter or a number instead, and in the signature field it reads 'Array' .  I have re-installed already once and curious to know what I am doing wrong.  Any tips or advice would be much appreciated.  Thanks!

My profile when I want to add a signature reads 'Array' and if I replace it with text or code it keeps showing up as 'Array'.
Title: Re: SunRise
Post by: SychO on November 30, 2018, 01:01:31 PM
Quote from: soaiceland on November 30, 2018, 12:30:40 PM
I really love this theme but my signatures aren't showing up.  They are coming up as a letter or a number instead, and in the signature field it reads 'Array' .  I have re-installed already once and curious to know what I am doing wrong.  Any tips or advice would be much appreciated.  Thanks!

My profile when I want to add a signature reads 'Array' and if I replace it with text or code it keeps showing up as 'Array'.

That's weird, do the signatures work on the default theme ? Are you using a mod that does something to signatures ?
Title: Re: SunRise
Post by: soaiceland on November 30, 2018, 01:07:10 PM
Hi, thanks for responding!

I had a mod for the random signature but I uninstalled it.  A text signature works on the default.
Title: Re: SunRise
Post by: soaiceland on November 30, 2018, 01:19:29 PM
It is still reading 'Array' in the profile section though.
Title: Re: SunRise
Post by: SychO on November 30, 2018, 01:30:45 PM
Quote from: soaiceland on November 30, 2018, 01:19:29 PM
It is still reading 'Array' in the profile section though.

It isn't a problem with the theme though, whatever mod you used/using is the problem, you have to manually uninstall it by looking at the changes it does
Title: Re: SunRise
Post by: soaiceland on November 30, 2018, 01:32:32 PM
okay I did uninstall the mods and delete them.  I will keep trying and see what is going on. 
Title: Re: SunRise
Post by: soaiceland on November 30, 2018, 04:38:27 PM
I think I got it.   :)
Title: Re: SunRise
Post by: Kindred on November 30, 2018, 06:11:20 PM
As with any new theme - mods will need to be uninstalled and then reinstalled ----  or manually installed into the new theme.
Title: Re: SunRise
Post by: whoey on December 28, 2018, 10:21:34 AM
After recently moving hosts I started testing more our old setup was php5 and new is php7, one of the things I noticed when I switched to Sunrise for testing is that for some odd reason when I first load the forum with the theme selected, all the fontawesome icons are broken.
This happens if I got to any other website, then load the forum, going to any other page on the forum will fix them.

I updated to the Fontawesome css  to latest available, and found this https://www.hanselman.com/blog/WhyDoMyFontAwesomeIconsShowUpAsBlankSquares.aspx

seems in the theme they are defined class="fas fa-iconname"
and based on that post they should always be class="fa fa-iconname"
Title: Re: SunRise
Post by: SychO on December 28, 2018, 12:30:01 PM
fa has been deprecated in FontAwesome 5, fas is the new default, there is also fab for brands and far, fal available on the PRO version.

My guess is your problem is related to SSL(if you have it setup) but It's only a guess, I'd need a link to your forum to see for myself.
Title: Re: SunRise
Post by: whoey on December 28, 2018, 12:38:02 PM
Yeah we have SSL setup, and did previously, I'll have a look when I get back home
Title: Re: SunRise
Post by: whoey on December 28, 2018, 01:59:24 PM
indeed, seems my old bookmark was without SSL, and our old host had http redirecting to https. Just added a force https to the .htaccess and problem is solved.
Title: Re: SunRise
Post by: jeremy b on January 03, 2019, 05:51:44 PM
Two questions:

Is there a way to edit the orange sun image? Would like to make it lighter or more transparent.

Can I have two separate header images that change with the day and night modes?
Title: Re: SunRise
Post by: SychO on January 03, 2019, 06:04:00 PM
for the sun color take a look at .sunmoon and .sunmoon.sunrise and .sunmoon.midnight in index.css and .sunmoon in midnight.css

as for the header images they are in images/custom directory
light mode : sr_sunrise.png
dark : sr_midnight.png
Title: Re: SunRise
Post by: jeremy b on January 03, 2019, 07:05:41 PM
Thanks!

I'm trying to figure where to increase the font size of the text that appears when you type in the post field (i.e. what I see as I'm typing right now).
Title: Re: SunRise
Post by: Freevy on January 04, 2019, 02:36:58 AM
This theme looks so good! Premium look. All your themes, not just this one. Thanks for everything!
Title: Re: SunRise
Post by: SychO on January 04, 2019, 06:21:33 AM
Quote from: jeremy b on January 03, 2019, 07:05:41 PM
Thanks!

I'm trying to figure where to increase the font size of the text that appears when you type in the post field (i.e. what I see as I'm typing right now).

Look for
textarea {
    font: 100%/130% "Noto Sans", verdana, Helvetica, sans-serif;


You probably want to change 100% to 13 or 14px
textarea {
    font: 14px/130% "Noto Sans", verdana, Helvetica, sans-serif;


Quote from: Freevy on January 04, 2019, 02:36:58 AM
This theme looks so good! Premium look. All your themes, not just this one. Thanks for everything!

Thanks, enjoy
Title: Re: SunRise
Post by: jeremy b on January 04, 2019, 12:36:30 PM
That worked. Thanks!

How do I increase the font size of the topic summary text? The recap of the thread that shows up when you're posting. (See below.)
Title: Re: SunRise
Post by: SychO on January 04, 2019, 04:36:53 PM
Quote from: jeremy b on January 04, 2019, 12:36:30 PM
That worked. Thanks!

How do I increase the font size of the topic summary text? The recap of the thread that shows up when you're posting. (See below.)

You can use your browser's developer tools to see what's what in the css and make changes,
add a font-size property to list-posts
.list_posts {
    padding-top: 12px;
    margin-top: 6px;
    overflow: auto;
}

.list_posts {
    padding-top: 12px;
    margin-top: 6px;
    overflow: auto;
    font-size: 13px;
}
Title: Re: SunRise
Post by: elf_fu on January 10, 2019, 07:10:13 PM
I am in love with this theme. I run an RP writing site, and the ability to switch from light to dark with a click instead of installing other themes is amazing. Plus, it looks awesome!

There are a few things I need some help with, and not sure if the theme creator has time to help me. Which is o.k, because life happens. But since my questions/issues are around using this theme, I thought I would ask here, first.

1. ) I had previously installed vbgamer's likes mod. It is working on our default customized site theme, but, I can't seem to see it at all on Sunrise.
2.) I am also using the mod, Subaccounts, which allows SMF users to create many accounts with the same email, connected to one single "main" SMF name. There's a drop down in the original default theme at the top of our forums, as well as the choice, when posting, which user name/account name they want to post from. I have NO idea how to edit to include those things into Sunrise.
3.) I am trying to get SSL to work on SMF. It seems to be working on our default theme just fine. But when I switch from Sunrise Day or Night, the font awesome icons disappear/render a square, and my URL goes from https to http. I have run repair_php. after installation, and not sure what I need to change to make it secure?
4.) I am using both an awards mod, and a shop/inventory mod. I am thinking I may try and uninstall the shop and try another--but, would anyone know how I could make the awards mod work in showing up in people's signatures in the Sunrise mod?

Mods mentioned I've no idea how to make show up in Sunrise:
Likes Mod (https://www.simplemachines.org/community/index.php?topic=506743.0)
Sub Accounts Mod (https://www.simplemachines.org/community/index.php?topic=347710.0)
Member Awards Mod (https://www.simplemachines.org/community/index.php?topic=114701.0)

Thank you to anyone who reads this, I appreciate the time taken :)
Title: Re: SunRise
Post by: SychO on January 16, 2019, 09:30:43 AM
Quote from: elf_fu on January 10, 2019, 07:10:13 PM
1. ) I had previously installed vbgamer's likes mod. It is working on our default customized site theme, but, I can't seem to see it at all on Sunrise.

Are you sure the mod was installed on the theme ? is the mod correctly configured ? can you post a link to your forum ?

Quote from: elf_fu on January 10, 2019, 07:10:13 PM
2.) I am also using the mod, Subaccounts, which allows SMF users to create many accounts with the same email, connected to one single "main" SMF name. There's a drop down in the original default theme at the top of our forums, as well as the choice, when posting, which user name/account name they want to post from. I have NO idea how to edit to include those things into Sunrise.

Can't say I am familiar with the mod, but I might be able to help you if I can see the mod in action.

Quote from: elf_fu on January 10, 2019, 07:10:13 PM
3.) I am trying to get SSL to work on SMF. It seems to be working on our default theme just fine. But when I switch from Sunrise Day or Night, the font awesome icons disappear/render a square, and my URL goes from https to http. I have run repair_php. after installation, and not sure what I need to change to make it secure?

Check and make sure that the theme paths are correctly set to https
Admin > Configuration > Themes & Layout... > Theme Settings > SunRise

Quote from: elf_fu on January 10, 2019, 07:10:13 PM
4.) I am using both an awards mod, and a shop/inventory mod. I am thinking I may try and uninstall the shop and try another--but, would anyone know how I could make the awards mod work in showing up in people's signatures in the Sunrise mod?

this >>>

QuoteCan't say I am familiar with the mod, but I might be able to help you if I can see the mod in action.
Title: Re: SunRise
Post by: Kindred on January 16, 2019, 11:38:52 AM
when you install a new theme, after mods have already been installed, you may have to manually apply theme changes for all mods to the new theme, depending on the templates defined in the new theme...
Title: Re: SunRise
Post by: elf_fu on January 16, 2019, 01:45:51 PM
Thank you SychO and Kindred!

Yes, I think one of the mistakes is that the mods were installed well before I installed Sunrise, and that I am a bit (totally) confused on how to make the manual edits to Sunrise to get these mods working. I have taken a look at each one and parsing them, but it has been a long year or more of not doing any editing and so I am a bit lost.

My forum is here: https://greaterrealms.us/

Honestly, thinking about all the mods and template changes-- there's so much to update and do and I may have to come back and offer to pay someone to help after the domain renewal price goes through to do the updates the forum needs.
Title: Re: SunRise
Post by: SychO on January 16, 2019, 02:07:54 PM
Yea that's a problem, especially if you have many mods, you can try to setup a testing forum and install the theme and then install all of the mods, then take the theme's files over to your forum, although some mods will not work well with the theme as it's very customized compared to other themes.
Title: Re: SunRise
Post by: johnsonbrown on January 17, 2019, 11:51:58 PM
I find this theme interesting but need some more information.
Title: Re: SunRise
Post by: penkz0661 on January 19, 2019, 03:44:10 PM
Halo SychO..
thank you for great themes i very very like it..

i need your help there a little problem when theme opened in mobile at the first time.
( testing with google chrome,mozzila mobile,UC Browser etc )
the icon is missing and they look like icon cross like this,, in attachment..
its always in first time but when i opened in mobile and try click randow icon then go back to normal ..

thanks ..
Title: Re: SunRise
Post by: SychO on January 19, 2019, 04:53:00 PM
can you post a link to your forum ?
Title: Re: SunRise
Post by: -christian on January 28, 2019, 04:33:51 AM
Good day! First of all: Great theme, great work, thanks a lot. My users love it and I do too!
I noticed a small glitch: The suggest feature for private messages is not working when using SunRise. Switching to default SMF theme brings it to live. There is no error in console, it suggest.js is properly loaded but it does not work. Any hints on that?
Title: Re: SunRise
Post by: SychO on January 28, 2019, 07:04:22 AM
Quote from: -christian on January 28, 2019, 04:33:51 AM
Good day! First of all: Great theme, great work, thanks a lot. My users love it and I do too!
I noticed a small glitch: The suggest feature for private messages is not working when using SunRise. Switching to default SMF theme brings it to live. There is no error in console, it suggest.js is properly loaded but it does not work. Any hints on that?

Looks like a css issue, thanks for the report I'm surprised no one reported it before
here's how you can fix it:
open index.css look for .auto_suggest_div {
    position: absolute;
    visibility: hidden;
    padding: 4px 5px;
    border-radius: 3px;
    max-width: 100%;
    min-width: 120px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.4);
}

change it to .auto_suggest_div {
    position: absolute;
    visibility: hidden;
    padding: 4px 5px;
    border-radius: 3px;
    max-width: 100%;
    min-width: 120px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

basically just adding z-index: 1;
Title: Re: SunRise
Post by: Kindred on January 28, 2019, 11:37:04 AM
Again, people have to remember -- installing a new theme after you have already installed mods required you to MANUALLY apply mod changes to the new theme.
Title: Re: SunRise
Post by: SychO on January 28, 2019, 02:30:32 PM
Quote from: Kindred on January 28, 2019, 11:37:04 AM
Again, people have to remember -- installing a new theme after you have already installed mods required you to MANUALLY apply mod changes to the new theme.

are you talking about the last poster's issue ? it's not actually mod related, just a mistake on my part.
Title: Re: SunRise
Post by: -christian on January 29, 2019, 02:51:41 PM
Quote from: SychO on January 28, 2019, 07:04:22 AM
Looks like a css issue, thanks for the report I'm surprised no one reported it before
here's how you can fix it:
Great, that fixed it indeed! Thanks for your help!
Title: Re: SunRise
Post by: -christian on January 29, 2019, 02:52:17 PM
Quote from: Kindred on January 28, 2019, 11:37:04 AM
Again, people have to remember -- installing a new theme after you have already installed mods required you to MANUALLY apply mod changes to the new theme.
Can not be said enough... ;) Not for my bug, but for many others it may apply ;)
Title: Re: SunRise
Post by: Snickerdoodle on February 09, 2019, 03:55:12 AM
I'm using Arceus' Character Manager and it's all set up to have character names and avatars show instead of member names and avatars except for a few places that SunRise has that other themes don't. Like the 'threadthis' bar at the top of the display page... and I can't figure out how to get that to show the character name instead of the member's name. I'm okay with just disabling that stuff if there's no way to get it all squared away... but I figured I'd ask if it might be possible. Just let me know if you need to see a specific code... My website's https://ilvermornypride.rpginit.com.
Title: Re: SunRise
Post by: SychO on February 09, 2019, 05:52:45 AM
Quote from: Snickerdoodle on February 09, 2019, 03:55:12 AM
I'm using Arceus' Character Manager and it's all set up to have character names and avatars show instead of member names and avatars except for a few places that SunRise has that other themes don't. Like the 'threadthis' bar at the top of the display page... and I can't figure out how to get that to show the character name instead of the member's name. I'm okay with just disabling that stuff if there's no way to get it all squared away... but I figured I'd ask if it might be possible. Just let me know if you need to see a specific code... My website's https://ilvermornypride.rpginit.com.

I am not familiar with the mod, the code for the that area is located in Themes/SunRise20/Display.template.php
if you have some coding experience you can try to figure out how the mod outputs the different data and do the same,
otherwise you can remove the avatar and the name by replacing
echo'<div class="threadthis">
<div class="content">
', $ava, '
<div class="threadthis_details">
<h3 class="for_title">
', $context['subject'], '
</h3>
<div class="detailS"><i class="fas fa-user"></i>    ', (!empty($context['topic_starter_id']) && $context['topic_starter_id']!=0) ? '<a href="'.$scripturl.'?action=profile;u='.$memberContext[$memCommID55]['id'].'">'.$memberContext[$memCommID55]['name'].'</a>' : $txt['guest'], ' &middot; <i class="fas fa-comments"></i>    ', $context['total_visible_posts'], ' &middot; <i class="fas fa-eye"></i>    ', $context['num_views'], '<div class="nextlinks">', $context['previous_next'], '</div></div>
</div>
</div>
</div>';

with this
echo'<div class="threadthis">
<div class="content">
<div class="threadthis_details">
<h3 class="for_title">
', $context['subject'], '
</h3>
<div class="detailS"><i class="fas fa-comments"></i>    ', $context['total_visible_posts'], ' &middot; <i class="fas fa-eye"></i>    ', $context['num_views'], '<div class="nextlinks">', $context['previous_next'], '</div></div>
</div>
</div>
</div>';
Title: Re: SunRise
Post by: Snickerdoodle on February 16, 2019, 02:09:32 PM
Alright, I'll give it a shot. Thanks!
Title: Re: SunRise
Post by: natcip on February 20, 2019, 11:16:09 AM
Thank you for this amazing theme, I love it. 8)

I'd like to make the quote button lead the user to the full reply page instead of the quote going into quick reply. I'm sure that's possible but I'm not sure which file to edit.

Also, it seems like signatures disappear on lower screen resolutions. How do I make it visable all the time?
Title: Re: SunRise
Post by: SychO on February 20, 2019, 03:04:44 PM
Quote from: natcip on February 20, 2019, 11:16:09 AM
Thank you for this amazing theme, I love it. 8)

I'd like to make the quote button lead the user to the full reply page instead of the quote going into quick reply. I'm sure that's possible but I'm not sure which file to edit.

Also, it seems like signatures disappear on lower screen resolutions. How do I make it visable all the time?

1. Hide the quick reply box, the button will take you to the full editor
2. open responsive.css go to ligne 281, remove .signature,
Title: Re: SunRise
Post by: natcip on February 20, 2019, 03:35:38 PM
Quote from: SychO on February 20, 2019, 03:04:44 PM
Quote from: natcip on February 20, 2019, 11:16:09 AM
Thank you for this amazing theme, I love it. 8)

I'd like to make the quote button lead the user to the full reply page instead of the quote going into quick reply. I'm sure that's possible but I'm not sure which file to edit.

Also, it seems like signatures disappear on lower screen resolutions. How do I make it visable all the time?

1. Hide the quick reply box, the button will take you to the full editor
2. open responsive.css go to ligne 281, remove .signature,
Thank you, it worked. :)

Another thing. How do I remove the drop down menu for the quick buttons (quote/modify/remove etc.) on lower resolutions. It's a nice feature, but not necessary for my users because they only have the options quote and edit. I'd like to have the buttons next to each other.
Title: Re: SunRise
Post by: SychO on February 20, 2019, 05:12:30 PM
I'm afraid the amount of editing is too much for me to explain
Title: Re: SunRise
Post by: natcip on February 24, 2019, 09:12:17 AM
How do I make the theme show no image at all instead of the default avatar if the user doesn't have an avatar?
Title: Re: SunRise
Post by: SychO on February 24, 2019, 11:30:44 AM
in index.template.php, change this
/* Set the default avatar image */
if($context['sr_mode']['value']==0) {
$settings['sr_default_avatar'] = '<img src="'.$settings['theme_url'].'/images/default_avatar.png" class="avatar sr_switchable" width="110" height="110"/>';
} else
$settings['sr_default_avatar'] = '<img src="'.$settings['theme_url'].'/images/default_avatar_midnight.png" class="avatar sr_switchable" width="110" height="110"/>';

to this $settings['sr_default_avatar'] = '';
Title: Re: SunRise
Post by: natcip on February 24, 2019, 01:47:34 PM
Thank you very much SychO  ;)
Title: Re: SunRise
Post by: Snickerdoodle on March 05, 2019, 03:54:30 PM
How do I make the avatars in threads not round?
Title: Re: SunRise
Post by: SychO on March 06, 2019, 05:09:32 AM
add .poster img.avatar {
    border-radius: 0;
}

to index.css
Title: Re: SunRise
Post by: Snickerdoodle on March 06, 2019, 12:10:31 PM
Thanks!
Title: Re: SunRise
Post by: Square on March 19, 2019, 05:56:45 AM
Hi SychO,

Congrats and many thanks for this great theme! We really enjoy it!
And now... the questions of course.  :)

- Is it possible to center the logo of the forum? For now, I cheated: I put a logo of the same width as the forum. Which looks good on computer but not on mobile because it is too reduced.
- On a board index, how to remove the column containing the 45x45 avatars? And increase the width of the column containing the thread titles.
- How to make the news text still? Even if it limits the length of the text to the width of the forum, we would like to be able to do it.
- How do we know when a new version of the theme is available for download?

Many thanks in advance. Greetings.  :)

Title: Re: SunRise
Post by: SychO on March 19, 2019, 06:54:57 AM
Quote from: Square on March 19, 2019, 05:56:45 AM
- Is it possible to center the logo of the forum? For now, I cheated: I put a logo of the same width as the forum. Which looks good on computer but not on mobile because it is too reduced.
- On a board index, how to remove the column containing the 45x45 avatars? And increase the width of the column containing the thread titles.
- How to make the news text still? Even if it limits the length of the text to the width of the forum, we would like to be able to do it.
- How do we know when a new version of the theme is available for download?

Hello,

- Use a normal image than add this to index.css .imgHead {
    text-align: center;
}


- Messageindex.template.php, you'll have to change this<th scope="col" class="first_th" width="2%" colspan="2">&nbsp;</th> to this <th scope="col" class="first_th" width="2%">&nbsp;</th> and delete this if(!empty($topic['first_post']['member']['id']) && $topic['first_post']['member']['id']!=0) {
// Get The Avatar the easy Way
$last_poster = $topic['first_post']['member']['id'];
loadMemberData($last_poster);
loadMemberContext($last_poster);
echo'
<td class="icon2 ', $color_class, ' avatared">
', !empty($memberContext[$last_poster]['avatar']['image']) ? $memberContext[$last_poster]['avatar']['image'] : $settings['sr_default_avatar'], '
</td>';
} else {
echo'
<td class="icon2 ', $color_class, ' avatared">
', $settings['sr_default_avatar'], '
</td>';
}


- index.template.php & boardindex.template.php delete this <script>jq(\'.marquee\').marquee({
//speed in milliseconds of the marquee
duration: ', empty($settings['newsmarquee_time']) ? '14000' : $settings['newsmarquee_time'], ',  pauseOnHover: true
});</script>


- You can compare the changelog here (https://custom.simplemachines.org/themes/index.php?lemma=2921) to the changelog.txt file in your theme folder/package
Title: Re: SunRise
Post by: Square on March 19, 2019, 07:02:37 AM
Thank you very much, SychO! I'll try at home, tonight.
I'm following this thread. Could you please post something when a new version is available? Now I have the latest one but a notification would be great.
Have a nice day.  :)
Title: Re: SunRise
Post by: SychO on March 19, 2019, 07:29:11 AM
sure thing :)
Title: Re: SunRise
Post by: Square on March 21, 2019, 09:13:56 AM
Hello,

Sometimes the icons are displayed like this. Sometimes they're normal.
On PC, Windows10, Chrome and Firefox latest update. Cable, not wifi.
Also on Android tablet and phone, Chrome and Firefox.
Any idea?
Title: Re: SunRise
Post by: SychO on March 21, 2019, 09:32:28 AM
Checkout step 3 of this topic by @shawb61
https://www.simplemachines.org/community/index.php?topic=555034.msg3934593#msg3934593
Title: Re: SunRise
Post by: Square on March 21, 2019, 10:21:31 AM
Thanks. I did some tests, it's a https problem, indeed. There is a redirect but it doesn't work perfectly. I'll tell the webmaster.  :)
Title: Re: SunRise
Post by: deafmetal on March 22, 2019, 01:16:33 AM
SychO,

First off, LOVE this theme!  Great work!

Couple questions:

1.  I want to change stars location.  I found the .mosunmo .sr_star background color in the applicable sunrise/midnight css.  However, can't for the life of me figure out how you placed the stars where they are (and move them), although I found reference to them in the php.

2.  Saw earlier in this thread how to alternate #forumposts .windowbg2 color.  How do I do similarly for the board topics themselves?  And maybe even the boards on the index page if got even crazier?   :o

Thank you!!
Title: Re: SunRise
Post by: SychO on March 22, 2019, 06:06:40 AM
1. starting at index.css line 4323
.mosunmo .sr_star:nth-child(4) {top: 1em;left: 10em;width: 8px;height: 8px;}
.mosunmo .sr_star:nth-child(5) {top: 2.5em;right: 35em;left:unset;width: 10px;height: 10px;}
.mosunmo .sr_star:nth-child(6) {top: 50%;left: 50%;width: 4px;height: 4px;}
.mosunmo .sr_star:nth-child(7) {top: 1em;left: 10em;width: 8px;height: 8px;}
.mosunmo .sr_star:nth-child(8) {top: 2em;left: 40em;width: 7px;height: 7px;}
.mosunmo .sr_star:nth-child(9) {top: 4em;left: 25em;width: 3px;height: 3px;}
.mosunmo .sr_star:nth-child(10) {top: 5em;left: 65em;width: 6px;height: 6px;}
.mosunmo .sr_star:nth-child(11) {top: 2em;left: 10em;width: 4px;height: 4px;}
.mosunmo .sr_star:nth-child(12) {top: 6em;left: 48em;width: 10px;height: 10px;}


2. You could apply this but it will mess up the sticky and locked topics backgrounds
.topic_table tr.windowbg:nth-child(even) td, #boardindex_table .content tr:nth-child(even) td {
    background-color: #000;
}
Title: Re: SunRise
Post by: deafmetal on March 22, 2019, 09:48:07 AM
Thank you SychO, much appreciated! Will give it a try.
Title: Re: SunRise
Post by: geezmo on April 07, 2019, 03:22:10 PM
Awesome theme! I've been using this for a week now and loving it. Thank you, SychO! :)

Questions though:

1. How can I disable the night theme so that users will be forced to just see the day theme and not have the option to switch to the night theme?

2. The stats on the homepage seem to be messed up. I don't know why but the data about number of topics, members, and posts are not in straight line and have varying font sizes. (See screenshot) How to fix this?

Thank you!
Title: Re: SunRise
Post by: SychO on April 07, 2019, 03:46:21 PM
Quote from: geezmo on April 07, 2019, 03:22:10 PM
Awesome theme! I've been using this for a week now and loving it. Thank you, SychO! :)

Questions though:

1. How can I disable the night theme so that users will be forced to just see the day theme and not have the option to switch to the night theme?

2. The stats on the homepage seem to be messed up. I don't know why but the data about number of topics, members, and posts are not in straight line and have varying font sizes. (See screenshot) How to fix this?

Thank you!

Thank you,

1. There currently isn't an option to prevent users from switching modes, I'll be adding an option in a future update though

2. That seems to be a bug in the theme, until I fix it in a future update you can avoid it by either turning ON "Show statistics on board index:" in the theme settings, or turning ON "Show latest member on board index:"
Title: Re: SunRise
Post by: geezmo on April 08, 2019, 01:25:22 AM
Ok thanks Sycho!

Quote from: SychO on April 07, 2019, 03:46:21 PM
Thank you,

1. There currently isn't an option to prevent users from switching modes, I'll be adding an option in a future update though

2. That seems to be a bug in the theme, until I fix it in a future update you can avoid it by either turning ON "Show statistics on board index:" in the theme settings, or turning ON "Show latest member on board index:"
Title: Re: SunRise
Post by: UltimatePremium on April 16, 2019, 03:23:13 PM
Hi,
Have you got older versions availabe please? Todays version make an error and my whole forum deasappers for some reason.
Title: Re: SunRise
Post by: SychO on April 16, 2019, 03:59:46 PM
How did you update exactly ?
Title: Re: SunRise
Post by: UltimatePremium on April 16, 2019, 04:06:37 PM
I have tried few ways. Non of them worked. I have cleaned theme folder as well and then clean install and my forum disappears. Afterwards I have tried Lazarus and it installs withouth problems.
Title: Re: SunRise
Post by: SychO on April 16, 2019, 04:10:21 PM
okay but how did you update from the old version to this new one ?
Can you access your forum from ?theme=1 and is there anything in the error log ?
Title: Re: SunRise
Post by: UltimatePremium on April 16, 2019, 04:12:49 PM
I have just flashed new zip trying over the old. That didn't work. I have full access to the files.
Title: Re: SunRise
Post by: SychO on April 16, 2019, 04:16:18 PM
Well you shouldn't have done that, you probably had mods installed and by overwriting the files you broke one or more of them.
Title: Re: SunRise
Post by: UltimatePremium on April 16, 2019, 04:19:44 PM
Ok then, must be my fault. How Can I fix this please? I can install any theme but SunRise :/
Title: Re: SunRise
Post by: SychO on April 16, 2019, 04:22:42 PM
what mods do you have installed ?
and any errors on the error log ?
Title: Re: SunRise
Post by: UltimatePremium on April 16, 2019, 04:29:08 PM
Log

8: Undefined index: sr_header_logo_url_descFiltruj
File: /var/www/html/forum/Themes/SunRise20_2/Settings.template.php (settings sub template - eval?)
Line: 165

Mods:

1.   Topic Solved   1.1.1
2.   Reason For Editing Mod   2.3.3
3.   @mention members   1.1.2
4.   Tapatalk SMF 2.0 Plugin   4.5.2
5.   Topic Viewers   1.0
6.   Simple Audio Video Embedder   4.5.2
7.   SMFPacks Shoutbox
Title: Re: SunRise
Post by: SychO on April 16, 2019, 04:57:21 PM
That's an error in the theme indeed, though not the kind that would cause this,

only thing you can do is uninstall the mods, install the theme and then re-install the mods, as far as I can tell
Title: Re: SunRise
Post by: UltimatePremium on April 16, 2019, 05:01:27 PM
I think there is an error with this:
2: Illegal string offset 'type'
File: /var/www/html/forum/Themes/default/languages/Mentions.english.php (set_settings sub template - eval?)
Line: 615

I have uinstalled mentions mod but issue are stille here
Title: Re: SunRise
Post by: UltimatePremium on April 16, 2019, 05:06:37 PM
Ok I can install SunRise theme but a soon as I try to switch to it it gives me error

HTTP ERROR 500
Title: Re: SunRise
Post by: SychO on April 16, 2019, 05:10:59 PM
check your error log and error_log which should be in your website's root folder
Title: Re: SunRise
Post by: UltimatePremium on April 16, 2019, 05:22:51 PM
error_log

some crazy stuff

[Tue Apr 16 23:05:31.339185 2019] [:error] [pid 27900] [client 86.3.119.135:50566] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252
[Tue Apr 16 23:05:32.127014 2019] [:error] [pid 25125] [client 86.3.119.135:50570] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252
[Tue Apr 16 23:05:32.748297 2019] [:error] [pid 28604] [client 86.3.119.135:50571] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252
[Tue Apr 16 23:05:41.682275 2019] [:error] [pid 28699] [client 86.3.119.135:50572] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252,
Title: Re: SunRise
Post by: SychO on April 16, 2019, 05:49:28 PM
turn off template eval to see where the error is actually coming from,

did the package manager show any errors when uninstalling or installing (if you did re-install) the mods ?
Title: Re: SunRise
Post by: UltimatePremium on April 17, 2019, 04:21:32 PM
Ok I had to set up whole new forum with clean installation. Still can't get SunRise to use. Installation is fine, but then when I try use it it goes to error http 500

I have installed Lazarus and its working fine but can't get back to Sunrise  :(
Title: Re: SunRise
Post by: SychO on April 17, 2019, 04:43:25 PM
I actually can't know if it's a problem with the theme unless you check the error_log file in the root folder of your site
Title: Re: SunRise
Post by: UltimatePremium on April 17, 2019, 04:48:56 PM
Thats what I get

sh: host: command not found
[Wed Apr 17 22:45:31.635700 2019] [:error] [pid 16988] [client 86.3.119.135:53478] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252, referer: http://ku.onthewifi.com/forum/index.php?action=theme;sa=pick;u=3;fb7458e9=cadbff266a8c6954769a310cb1626b01
[Wed Apr 17 22:45:34.879591 2019] [:error] [pid 18783] [client 86.3.119.135:53481] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252, referer: http://ku.onthewifi.com/forum/index.php?action=profile;area=theme;u=3
[Wed Apr 17 22:45:36.250496 2019] [:error] [pid 18890] [client 86.3.119.135:53482] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252
[Wed Apr 17 22:45:37.519044 2019] [:error] [pid 18776] [client 86.3.119.135:53483] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252, referer: http://ku.onthewifi.com/forum/index.php?action=profile;area=account
[Wed Apr 17 22:45:38.307650 2019] [:error] [pid 18287] [client 86.3.119.135:53484] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252, referer: http://ku.onthewifi.com/forum/index.php?action=admin;area=theme;sa=install;theme_id=2;fb7458e9=cadbff266a8c6954769a310cb1626b01
[Wed Apr 17 22:45:39.011753 2019] [:error] [pid 18888] [client 86.3.119.135:53485] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252, referer: http://ku.onthewifi.com/forum/index.php?action=admin;area=theme;sa=admin;fb7458e9=cadbff266a8c6954769a310cb1626b01
[Wed Apr 17 22:45:40.090945 2019] [:error] [pid 18870] [client 86.3.119.135:53486] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252, referer: http://ku.onthewifi.com/forum/index.php?action=admin;area=featuresettings
[Wed Apr 17 22:45:40.225788 2019] [:error] [pid 16990] [client 86.3.119.135:53487] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252, referer: http://ku.onthewifi.com/forum/index.php
sh: host: command not found
Title: Re: SunRise
Post by: Kindred on April 17, 2019, 04:53:09 PM
I'm betting it's a problem with the theme files chmod permissions.

Set the files to 664 and the directories to 775 and then try again.
Title: Re: SunRise
Post by: UltimatePremium on April 17, 2019, 04:55:07 PM
Hi Thanks

Theme folder is currently set to 0707 and each theme is set to 0777 with each folder and files 0666
Title: Re: SunRise
Post by: Kindred on April 17, 2019, 04:58:07 PM
Yes. That's the problem.

The chmod permission is too high.

Change the files and directories as I stated above
Title: Re: SunRise
Post by: UltimatePremium on April 17, 2019, 05:05:01 PM
Is that including Theme folder as well?
Title: Re: SunRise
Post by: Kindred on April 17, 2019, 05:05:31 PM
707 is a weird setting... so yes.
Title: Re: SunRise
Post by: UltimatePremium on April 17, 2019, 05:11:02 PM
same problem :/

[Wed Apr 17 23:04:03.439115 2019] [:error] [pid 16990] [client 86.3.119.135:53959] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252, referer: http://ku.onthewifi.com/forum/index.php?action=theme;sa=pick;u=3;fb7458e9=cadbff266a8c6954769a310cb1626b01
[Wed Apr 17 23:04:05.128929 2019] [:error] [pid 18890] [client 86.3.119.135:53964] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252
[Wed Apr 17 23:04:05.898271 2019] [:error] [pid 18879] [client 86.3.119.135:53965] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252
[Wed Apr 17 23:04:06.548444 2019] [:error] [pid 21320] [client 86.3.119.135:53966] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252
[Wed Apr 17 23:04:07.563297 2019] [:error] [pid 18776] [client 86.3.119.135:53967] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252
sh: host: command not found
sh: host: command not found
sh: host: command not found
sh: host: command not found
sh: host: command not found
sh: host: command not found
sh: host: command not found
[Wed Apr 17 23:10:04.944520 2019] [:error] [pid 18879] [client 86.3.119.135:54241] PHP Fatal error:  Can't use function return value in write context in /var/www/html/forum/Sources/Load.php(2198) : eval()'d code on line 252
Title: Re: SunRise
Post by: Kindred on April 17, 2019, 06:18:18 PM
try checking with your host....
Title: Re: SunRise
Post by: UltimatePremium on April 17, 2019, 06:33:31 PM
Not sure if this is host related since this is the only theme that I can't use. Funny thing is that I have use older version without any problems :)
Title: Re: SunRise
Post by: RichardAD on April 17, 2019, 06:42:36 PM
Really like Sunrise theme in 2.0.15

One problem, I can't seem to locate the [Notify] button for a topic!

Is there a hidden setting for turning it on or making it prominent ?


Title: Re: SunRise
Post by: SychO on April 17, 2019, 06:51:54 PM
see pic
Title: Re: SunRise
Post by: Kindred on April 17, 2019, 07:46:09 PM
Quote from: UltimatePremium on April 17, 2019, 06:33:31 PM
Not sure if this is host related since this is the only theme that I can't use. Funny thing is that I have use older version without any problems :)

a 500 error is a server side error. Your error logs are unclear, because of the eval statement...  so your host should be able to help you track down the ACTUAL cause of the error.

I suspect it still may be related to chmod permissions, but if you actually changed *(with recursion) all of the files and directories, then I don't know what the other causes may be -- this theme installs on my server with no issues, so it is fairly obviously some difference in server configuration.
Title: Re: SunRise
Post by: XDamage on April 22, 2019, 10:57:04 AM
First of all, thank you SychO for this great theme! I manage a small forum for a group of home-town friends (nice to have now that we are located all over the country).

Anyways, I was wondering if there is any way to embed video (youtube etc.) in posts while using Sunrise 20_2.0? For example Simple Audio Video Embedder (https://custom.simplemachines.org/mods/index.php?mod=2681) by vbgamer45. I know it's not listed as a supported mod, but maybe it can be worked around?

Title: Re: SunRise
Post by: SychO on April 22, 2019, 11:00:24 AM
Hello,

It should work, try to install and if you don't get any errors on installation then you're good to go.
Title: Re: SunRise
Post by: XDamage on April 22, 2019, 12:40:04 PM
Quote from: SychO on April 22, 2019, 11:00:24 AM
Hello,

It should work, try to install and if you don't get any errors on installation then you're good to go.

Tested with youtube embedding, and it works perfectly ;D
Title: Re: SunRise
Post by: SychO on April 22, 2019, 12:42:43 PM
Quote from: XDamage on April 22, 2019, 12:40:04 PM
Tested with youtube embedding, and it works perfectly ;D

good to know
Title: Re: SunRise
Post by: Jackmoon on April 24, 2019, 11:29:24 AM
I have a problem with custom fields in the themes.
The user who published the topic doesn't show the custom field of "PJ" but the users who answer yes. The same happens if the user who posted the topic doesn't show the user either.

// Any custom fields for standard placement?
if (!empty($message['member']['custom_fields']))
{
foreach ($message['member']['custom_fields'] as $custom)
if (empty($custom['placement']) || empty($custom['value']))
echo '
<li><b>', $custom['title'], '</b>: ', $custom['value'], '</li>';
}


(https://i.imgur.com/NgfI48E.png)
Title: Re: SunRise
Post by: SychO on April 24, 2019, 11:34:23 AM
As far as I remember I made no changes to the custom fields, if their fields aren't showing it means they didn't fill those fields in their profile settings.
Title: Re: SunRise
Post by: Jackmoon on April 24, 2019, 11:37:42 AM
Quote from: SychO on April 24, 2019, 11:34:23 AM
As far as I remember I made no changes to the custom fields, if their fields aren't showing it means they didn't fill those fields in their profile settings.

If you have them, but they still don't show up. This didn't happen until I changed the theme to yours.

(https://i.imgur.com/rR7Nk99.png)
Title: Re: SunRise
Post by: SychO on April 24, 2019, 11:54:42 AM
Oh I see now, I'll fix it soon, ty for the report.
Title: Re: SunRise
Post by: Jackmoon on April 24, 2019, 06:48:53 PM
Quote from: SychO on April 24, 2019, 11:54:42 AM
Oh I see now, I'll fix it soon, ty for the report.

Please, when solutions can you put the code modified? Since I made changes in the files to put some aesthetics not to lose it.
Title: Re: SunRise
Post by: SychO on April 24, 2019, 06:56:26 PM
Open Display.template.php

look for loadMemberContext($memID);
change it to loadMemberContext($memID, true);
Title: Re: SunRise
Post by: Jackmoon on April 26, 2019, 03:39:29 PM
(https://i.imgur.com/IQ6zRtm.jpg)

Sorry to bother you, it's until I get to know the subject and its hahahaha code.

Where can I change the color of the bar of mobile browsers? within CSS files and what class
Title: Re: SunRise
Post by: SychO on April 26, 2019, 03:45:39 PM
index.template.php

look for <meta name="theme-color"
Title: Re: SunRise
Post by: Jackmoon on April 26, 2019, 03:49:40 PM
Thanks guy
Title: Re: SunRise
Post by: serega06 on April 28, 2019, 11:17:00 AM
Hello, I really liked your theme =) I had a question, how to change the standard board icons? I tried many ways but nothing helped, everything does not work. I would be very grateful for the help!
Title: Re: SunRise
Post by: SychO on April 28, 2019, 11:48:45 AM
you'll find the images in the theme's images folder in your forum's Themes folder
Title: Re: SunRise
Post by: serega06 on April 28, 2019, 12:07:01 PM
Yes, but how can I make a different icon for each section? :o
Title: Re: SunRise
Post by: SychO on April 28, 2019, 12:22:08 PM
You need a mod for that, you can search mods here https://custom.simplemachines.org/mods/
but there's no guarantee that any of them will work on the theme
Title: Re: SunRise
Post by: serega06 on April 28, 2019, 12:28:35 PM
I tried to install https://custom.simplemachines.org/mods/index.php?mod=511 but it does not work :-[ :-[ :-[ :(
Title: Re: SunRise
Post by: Kindred on April 29, 2019, 07:57:48 AM
That mod works just fine if it is properly installed and the instructions followed....

1- did you apply it to this theme when you installed the mod?
2- did you create and place the new icons in a subdirectory of this theme as well as the default theme?

If you have problems with a specific mod, then you should ask in the support thread for that mod (since it is up to the author of the mod to provide support (or not). :) )
Title: Re: SunRise
Post by: serega06 on April 29, 2019, 08:28:35 AM
I installed it to the SunRise template. There is a different code that needs to be replaced ... the icons work but the template starts crooked work
Title: Re: SunRise
Post by: Kindred on April 29, 2019, 08:32:02 AM
So, the mod actually WORKS --    it just needs manual modification to display nicely within this theme.
(which is likely to be true of almost any modern theme, since the original mod code was intended for the SMF Curve default, that is not at all modern. :) )
Title: Re: SunRise
Post by: serega06 on April 29, 2019, 08:35:08 AM
Yes, that's the problem :-\ :-[
Title: Re: SunRise
Post by: Kindred on April 29, 2019, 12:59:26 PM
in that case, you just have to translate the code into a format that this theme uses....   


So, compare the Curve/default theme original code and what tat mod changes it to...

then take the SunRise original code and make the same sort of changes.

it's not a 1:1 replace in most modern themes - you have to use some basic human pattern matching and logic instead of computer 1:1 matching/logic.
Title: Re: SunRise
Post by: serega06 on April 29, 2019, 01:04:30 PM
I'll try )) ;)
Title: Re: SunRise
Post by: serega06 on April 29, 2019, 01:27:55 PM
It works :-* :-* 8) 8)
/* Each board in each category's boards has:
new (is it new?), id, name, description, moderators (see below), link_moderators (just a list.),
children (see below.), link_children (easier to use.), children_new (are they new?),
topics (# of), posts (# of), link, href, and last_post. (see below.) */
$alter = true;
foreach ($category['boards'] as $board)
{
echo '
<tr id="board_', $board['id'], '" class="windowbg">
<td class="icon "', !empty($board['children_new']) ? ' rowspan="2"' : '', '>
<a href="', ($board['is_redirect'] || $context['user']['is_guest'] ? $board['href'] : $scripturl . '?action=unread;board=' . $board['id'] . '.0;children'), '">';
// If the board or children is new, show an indicator.
if ($board['new'] || $board['children_new'])
{
if (file_exists($settings['theme_dir'] . '/images/icons/' . $board['id'] . '/' . $context['theme_variant_url'] . 'on.png'))
$board_new_img = '/icons/' . $board['id'];
else
$board_new_img = '';
echo '
<img src="', $settings['images_url'], $board_new_img, '/', $context['theme_variant_url'], 'on', $board['new'] ? '' : '2', '.png" alt="', $txt['new_posts'], '" class="tooltip" title="', $txt['new_posts'], '" />';

}
// Is it a redirection board?
elseif ($board['is_redirect'])
{
if (file_exists($settings['theme_dir'] . '/images/icons/' . $board['id'] . '/' . $context['theme_variant_url'] . 'redirect.png'))
$board_redirect_img = '/icons/' . $board['id'];
else
$board_redirect_img = '';
echo '
<img src="', $settings['images_url'], $board_redirect_img, '/', $context['theme_variant_url'], 'redirect.png" alt="*" title="*" />';
}
// No new posts at all! The agony!!
else
{
if (file_exists($settings['theme_dir'] . '/images/icons/' . $board['id'] . '/' . $context['theme_variant_url'] . 'off.png'))
$board_nonew_img = '/icons/' . $board['id'];
else
$board_nonew_img = '';
echo '
<img src="', $settings['images_url'], $board_nonew_img, '/', $context['theme_variant_url'], 'off.png" alt="', $txt['old_posts'], '" title="', $txt['old_posts'], '" />';
}
echo '
</a>
</td>
Title: Re: SunRise
Post by: serega06 on April 29, 2019, 03:07:42 PM
Quote from: SychO on April 28, 2019, 12:22:08 PM
You need a mod for that, you can search mods here https://custom.simplemachines.org/mods/
but there's no guarantee that any of them will work on the theme
SychO, Where can I change this text?
Title: Re: SunRise
Post by: Kindred on April 29, 2019, 03:12:13 PM
Change that text how?

That text is the linktree aka breadcrumbs and is generated automatically by the system as you click down to different pages/layers.

Or did you actually mean " how do I change the layout of that section because there is too much padding right now"?
(please be clear in what you actually want when you ask questions)

If that, then it's handled in index.css and you can use any of the browser webdev tools to play around with the CSS until you find out what works -- and then apply those changes to the file based on your experiments.

What is your forum URL?
Title: Re: SunRise
Post by: serega06 on April 29, 2019, 03:47:04 PM
Quote from: Kindred on April 29, 2019, 03:12:13 PM
Change that text how?

That text is the linktree aka breadcrumbs and is generated automatically by the system as you click down to different pages/layers.

Or did you actually mean " how do I change the layout of that section because there is too much padding right now"?
(please be clear in what you actually want when you ask questions)

If that, then it's handled in index.css and you can use any of the browser webdev tools to play around with the CSS until you find out what works -- and then apply those changes to the file based on your experiments.

What is your forum URL?

I meant only a running line) I already found, thanks)
Title: Re: SunRise
Post by: serega06 on April 29, 2019, 04:42:37 PM
https://github.com/realdigger/SMF-Optimus
Can this mod work with this theme? I would install it, but I think it will be all in vain
Title: Re: SunRise
Post by: Kindred on April 29, 2019, 07:29:40 PM
Did youj try to install it?
Title: Re: SunRise
Post by: chilledo on May 24, 2019, 06:09:13 AM
Hello, absolutelty love this theme! is it available for SMF 2.1 RC2 ? Or does anyone know how I could make it work with that version of the forum?

Many Thanks
Title: Re: SunRise
Post by: SychO on May 24, 2019, 06:23:55 AM
Quote from: chilledo on May 24, 2019, 06:09:13 AM
Hello, absolutelty love this theme! is it available for SMF 2.1 RC2 ? Or does anyone know how I could make it work with that version of the forum?

Many Thanks

It is not compatible with SMF2.1
Title: Re: SunRise
Post by: csound on May 26, 2019, 12:41:37 AM
The demo shows the forum's logo changing along with the theme (sunrise/midnight). How can I implement this for my forum?
Title: Re: SunRise
Post by: SychO on May 26, 2019, 05:43:11 AM
There's no logo change in the demo, just the color of the icon, and all settings can be found in the theme's settings page (by clicking the cogs icon button on the right or browsing the admin section)
Title: Re: SunRise
Post by: chilledo on May 28, 2019, 12:42:20 PM
Hello, I've tried using this theme on a fresh install of smf 2.0.15 and have been getting a 500 error. I have contacted the host to find the error and they sent me this:

Fatal error: Can't use function return value in write context in /home/[myforum]/Sources/Load.php(2197) : eval()'d code on line 252

I'm not sure how to proceed, any help would be apreciated, thanks.
Title: Re: SunRise
Post by: SychO on May 28, 2019, 01:25:18 PM
Quote from: chilledo on May 28, 2019, 12:42:20 PM
Hello, I've tried using this theme on a fresh install of smf 2.0.15 and have been getting a 500 error. I have contacted the host to find the error and they sent me this:

Fatal error: Can't use function return value in write context in /home/[myforum]/Sources/Load.php(2197) : eval()'d code on line 252

I'm not sure how to proceed, any help would be apreciated, thanks.

Please create a new topic in the SMF 2.0 Support Board (https://www.simplemachines.org/community/index.php?board=147.0) as this is most likely not caused by the theme.
Title: Re: SunRise
Post by: chilledo on May 28, 2019, 01:51:44 PM
Will do, strangely it only seems to cause an error with the sunrise theme, default is fine.
Title: Re: SunRise
Post by: SychO on May 28, 2019, 02:09:29 PM
If you disable template evaluation we'll see where the actual error is coming from
(Admin -> Config -> Server -> General)
Title: Re: SunRise
Post by: chilledo on May 29, 2019, 04:00:05 AM
Ok, doing that shows the following:

Fatal error: Can't use function return value in write context in /home/[forum]/Themes/SunRise_2/index.template.php on line 252

Thanks
Title: Re: SunRise
Post by: SychO on May 29, 2019, 06:21:49 AM
Quote from: chilledo on May 29, 2019, 04:00:05 AM
Ok, doing that shows the following:

Fatal error: Can't use function return value in write context in /home/[forum]/Themes/SunRise_2/index.template.php on line 252

Thanks

Ah I see now, I always forget you can't use function return in empty() on php 5.4
Issue fixed and package updated, thank you for the report.
Title: Re: SunRise
Post by: chilledo on May 29, 2019, 06:38:40 AM
Thats done it :D Thanks for the quick response!
Title: Re: SunRise
Post by: chilledo on May 30, 2019, 04:19:41 AM
Is it possible to change the font awesome pencil icon used for new posts to an alternate icon in the settings or style sheet?

Thank you
Title: Re: SunRise
Post by: chilledo on May 30, 2019, 05:42:35 AM
Its ok, i've found the images used ([forum]/Themes/SunRise_2/images/on and off).

Many thanks!
Title: Re: SunRise
Post by: Kindred on May 30, 2019, 06:13:17 AM
Don't forget on2
Title: Re: SunRise
Post by: chilledo on May 30, 2019, 08:45:38 AM
Ok, done that too, thanks for the heads up!
Title: Re: SunRise
Post by: ridergr on June 01, 2019, 12:20:01 PM
Hi all,
fist time i use smf.
This theme looks great! Great job everybody!
I install it but i need some help, if this is possible
I install the mods CountryFlags_v3.0 and CustomFormMod_v1.7_SMF2x and even that the installation work ok i cant find either the forms or where i can set the flags
Is it possible to get some help?
Also about the mountains image, can i use some other images?
Thank you in advance!
Title: Re: SunRise
Post by: ridergr on June 03, 2019, 04:53:43 AM
Also I have a problem with bbcode bar in post.
The bar looks empty!
Title: Re: SunRise
Post by: ridergr on June 03, 2019, 06:17:23 AM
I downloaded the version in https://custom.simplemachines.org/themes/index.php?lemma=2921
Is it per to have an older version?
If so, where i can find the last one and which is the update process?
Thank you in advance!
Title: Re: SunRise
Post by: SychO on June 03, 2019, 06:28:24 AM
Quote from: ridergr on June 01, 2019, 12:20:01 PM
Hi all,
fist time i use smf.
This theme looks great! Great job everybody!
I install it but i need some help, if this is possible
I install the mods CountryFlags_v3.0 and CustomFormMod_v1.7_SMF2x and even that the installation work ok i cant find either the forms or where i can set the flags
Is it possible to get some help?
Also about the mountains image, can i use some other images?
Thank you in advance!

You'd have to ask the questions related to the mods in the their respective topics where the author can reply to your questions.

You can replace the mountain image with another one, it is located in the Themes/SunRise/images/custom folder of your smf installation directory

Quote from: ridergr on June 03, 2019, 04:53:43 AM
Also I have a problem with bbcode bar in post.
The bar looks empty!

Looks like a javascript issue, don't think it's a problem with the theme, try uninstalling any recent mods.

Quote from: ridergr on June 03, 2019, 06:17:23 AM
I downloaded the version in https://custom.simplemachines.org/themes/index.php?lemma=2921
Is it per to have an older version?
If so, where i can find the last one and which is the update process?
Thank you in advance!

I do not keep track of old versions unfortunately, and the update process would be to uninstall the theme and re-install it, and most of the time that will require you to also uninstall your mods and re-install them after you've done the same to the theme.
Title: Re: SunRise
Post by: ridergr on June 03, 2019, 06:34:42 AM
Thanks for your reply, just one question.
The version in https://custom.simplemachines.org/themes/index.php?lemma=2921 is the latest?
Title: Re: SunRise
Post by: SychO on June 03, 2019, 06:39:02 AM
Quote from: ridergr on June 03, 2019, 06:34:42 AM
Thanks for your reply, just one question.
The version in https://custom.simplemachines.org/themes/index.php?lemma=2921 is the latest?

yes
Title: Re: SunRise
Post by: ridergr on June 05, 2019, 03:42:15 AM
Problem with Javascript solved with a new installation!
I want to add custom pages like a hall of fame, which I see in demo but not in site,  and others.
Do you suggest some addon for this? Or is there another way?
Thank you in advance!
Title: Re: SunRise
Post by: SychO on June 05, 2019, 05:26:51 AM
please use the mod site search function to find what you're looking for
https://custom.simplemachines.org/mods/#modsearch
Title: Re: SunRise
Post by: ridergr on June 05, 2019, 05:47:12 AM
Ok, thanks!
Title: Re: SunRise
Post by: Fergus_MacLeod on June 14, 2019, 06:54:31 PM
So I just made a website with 2.0.15 and installed the sunrise theme. Everything looks good, but i am unable to use the transition button to allow between switching. I have it enabled to where users can switch their themes. Am I missing something here?
Title: Re: SunRise
Post by: Drug Mile on July 01, 2019, 05:35:53 AM
I'm testing this theme. I't nice, but when I reduce screen width on my desktop (i.e. half of screen), or when watching from mobile in landscape mode (like on tablet) mountains from header are using much of available space and site title is not displayed.

When watching on mobile phone upright orientation, it looks nice (attached). So how to force it to go mobile when screen size is smaller than XY, or how to show site title always on top of mountains, like it is on mobile version?
Title: Re: SunRise
Post by: -christian on July 01, 2019, 02:19:17 PM
Hi everybody,

wondering what is the best way to update to the latest version?
Title: Re: SunRise
Post by: D.Rich99 on July 30, 2019, 07:58:25 PM
I'm using Midnight, and in the theme options I choose to disable moon/stars/mountain in the header. But nothing changes.

How can I disable them? Thank you.
Title: Re: SunRise
Post by: SychO on July 31, 2019, 05:27:04 AM
Quote from: D.Rich99 on July 30, 2019, 07:58:25 PM
I'm using Midnight, and in the theme options I choose to disable moon/stars/mountain in the header. But nothing changes.

How can I disable them? Thank you.

It works fine for me, so you must be doing something wrong
Title: Re: SunRise
Post by: SychO on August 02, 2019, 05:57:45 PM
Quote from: D.Rich99 on July 30, 2019, 07:58:25 PM
I'm using Midnight, and in the theme options I choose to disable moon/stars/mountain in the header. But nothing changes.

How can I disable them? Thank you.

After looking into it more, there actually was a problem, not sure exactly what but I had uploaded the wrong package last time.
A new package has been uploaded now.
Title: Re: SunRise
Post by: produno on August 05, 2019, 09:22:54 AM
Hey,

After installing this theme and selecting all users reset to use this theme I get this error;


Fatal error: Can't use function return value in write context in /home/content/40/11470340/html/Forums/Sources/Load.php(2205) : eval()'d code on line 252

Any idea what the issue may be? My forums are currently down because of this which sucks.


Thanks.
Title: Re: SunRise
Post by: SychO on August 05, 2019, 10:06:32 AM
Quote from: produno on August 05, 2019, 09:22:54 AM
Hey,

After installing this theme and selecting all users reset to use this theme I get this error;


Fatal error: Can't use function return value in write context in /home/content/40/11470340/html/Forums/Sources/Load.php(2205) : eval()'d code on line 252

Any idea what the issue may be? My forums are currently down because of this which sucks.


Thanks.

Fixed in a new package you can download here:
https://custom.simplemachines.org/themes/index.php?lemma=2921

if you access your forum through http:// www. yoursite.com/ index.php?theme=1 you'll be able to reset the theme.
Title: Re: SunRise
Post by: produno on August 05, 2019, 10:21:41 AM
Awesome! Thanks for the quick reply man.
Title: Re: SunRise
Post by: PFigo on August 20, 2019, 06:01:10 AM
Hello All

Hello SychO, for your excellent work.

Like I asked you by email I really need your help to resolve some issues I have with your theme. Issues that can be caused by any MOD I am using.
Still...I will ask.

On desktop version would like to have these buttons centered in the page. They are justified to left.
(https://cld.pt/dl/download/6d25a7a0-9601-4f92-bf11-7a277131837b/SychO.png)
If you can...will be nice.

I am using a MOD with your theme that brings recent topic to top. Is ok on desktop version but on mobile version I have some issues.
According to MOD author (https://www.simplemachines.org/community/index.php?topic=522114.0) works ok on standard/default SMF theme and issues with other themes should be solved by theme author.

You can see that recent topic MOD I am using doesn´t match with your theme aligment.
(https://cld.pt/dl/download/d9983eb1-a3b5-414b-a628-fcf51a3b02c1/SychO1.png)
Can you help me SychO?....please!

Best regards
Pedro Figo
Title: Re: SunRise
Post by: smartdaz9682 on August 31, 2019, 09:15:11 AM
Hey SychO, firstly. Love the theme. So great to see something so different to the norm.

I was just wondering if it's possible to replace the sun/moon shape that pops up with an image? (jpg / png example) as I had this idea of having my forum logo pop up.

I'm not sure if this is even possible but thought it was worth asking.  Cheers bud.
Title: Re: SunRise
Post by: smartdaz9682 on September 01, 2019, 01:18:08 PM
Quote from: SychO on March 06, 2019, 05:09:32 AM
add .poster img.avatar {
    border-radius: 0;
}

to index.css

I tried adding this as you said to change the Avatars from round to square on the post threads but it doesn't work. They are still very clearly round.
Title: Re: SunRise
Post by: Loshmi on October 05, 2019, 01:42:52 PM
I'm trying to change the forum width but it is not working for me. It doesn't matter what percent value I write there it is not changing at all. Can I please get a suggestion, what can be the solution for this issue?
Title: Re: SunRise
Post by: addlife on October 29, 2019, 09:40:46 PM
A few questions.

I want to delete the header images and footer images and just have the grey background. I don't know how to do that in css but I figured I can just change the picture to a grey picture the same size as the mountains in the header and footer images. Will that ruin anything or is there a easier way to do it with css?

also I think I have the same question as this guy

Quote from: kryptokeskustelu.org on October 02, 2018, 02:03:25 PM
1. How i can i make/resize gray mountain "area" smaller/thinner in mobile version? Now it is big and need to scroll to see kategories. (See attachment)...

which I think he's saying the header is too tall and it takes up half the screen when visiting on a mobile device. How Can I make that shorter?

and in the Lazarus theme I used this code to disable the header from displaying at all except for the homepage. can I do it on this theme also?
Quote from: SychO on February 13, 2019, 04:31:55 PM
If you're not using any portals try this:

open index.template.php located in the theme directory (should be lazarus20)
look for <div id="upper_section" class="middletext wrapper">';

replace it with <div id="upper_section" class="middletext wrapper', empty($context['current_action']) || (!empty($context['current_action']) && $context['current_action']=='forum') ? '' : ' phoneNone', '">';

Edit: I changed the code above, it had a reversed logic :P

thanks
Title: Re: SunRise
Post by: addlife on October 29, 2019, 10:50:58 PM
lol I just realized in the theme settings theres an option to remove the mountains and stuff :)

so I guess that leaves the question of making it shorter and not displaying except on homepage

thanks
Title: Re: SunRise
Post by: VanCrois on November 29, 2019, 10:30:31 PM
a backgroud image, is possible?
Title: Re: SunRise
Post by: sc2142 on November 30, 2019, 06:02:31 PM
Can you add support for SMF Tricks Downloads Directory? Im having this issue. (See attachment) The downloads category icon is HUGE
Title: Re: SunRise
Post by: -christian on December 02, 2019, 02:28:09 AM
Quote from: -christian on July 01, 2019, 02:19:17 PM
Hi everybody,

wondering what is the best way to update to the latest version?
No one? Anyone?
Title: Re: SunRise
Post by: Biology Forums on December 02, 2019, 02:48:32 PM
Quote from: -christian on December 02, 2019, 02:28:09 AM
Quote from: -christian on July 01, 2019, 02:19:17 PM
Hi everybody,

wondering what is the best way to update to the latest version?
No one? Anyone?

What's your website URL?
Title: Re: SunRise
Post by: geezmo on December 07, 2019, 01:45:34 PM
Great theme! Just a few questions:

1. How do I change the font color of the board index (links to the post) from the default orange to blue?
2. I enabled Karma and it appears in the desktop version of the theme but not in the mobile version. How to show Karma in the mobile version of this theme as well?
3. How do I increase the size of the fonts in the mobile version? They appear small so I want to increase the size.

Thanks!
Title: Re: SunRise
Post by: zerolshen on December 10, 2019, 10:10:06 AM
HELP!!!

New Post in Blank

(https://i.imgur.com/Ojpgei1.png)

Icons? Html Buttons?
Title: Re: SunRise
Post by: Kindred on December 10, 2019, 10:40:18 AM
URL?
Title: Re: SunRise
Post by: zerolshen on December 10, 2019, 12:02:10 PM
Icon's Post no loads
(https://i.imgur.com/Ojpgei1.png)


News still
no displacement
(https://i.imgur.com/IJEiwWi.png)

Url: http://museed.net/forum/index.php?
Title: Re: SunRise
Post by: Shambles on December 10, 2019, 01:25:39 PM
Doing a browser "view source" on your link shows some addresses pointing at 127.0.0.1

Use the following tool to repair that.

What is repair_settings.php? (https://wiki.simplemachines.org/smf/Repair_settings.php)
Title: Re: SunRise
Post by: zerolshen on December 10, 2019, 05:24:11 PM
I can't use the repair_settings.php

(https://i.imgur.com/MkYoXFr.png)
Title: Re: SunRise
Post by: Shambles on December 10, 2019, 06:31:12 PM
Quote from: zerolshen on December 10, 2019, 05:24:11 PM
I can't use the repair_settings.php

Did you upload it to the same area/folder where your Settings.php resides?
Title: Re: SunRise
Post by: geezmo on December 14, 2019, 01:19:34 PM
Help please! I enabled Karma and it appears in the desktop version of the theme but not in the mobile version. How to show Karma in the mobile version of this theme as well?

Thank you!
Title: Re: SunRise
Post by: spiros on December 18, 2019, 10:25:04 AM
I tried installing a mod which uses hooks only (Topic Rename (https://custom.simplemachines.org/mods/index.php?mod=3167)) which adds a button below the topic (next to "link to calendar"). Is there a way to make it display with this theme? (Currently testing on local machine).

Edit: I found it.

Add something like this in css

.button_strip_renameTopic:before {
content: "\f021";
}


I discovered another issue though when it comes to subitems in main forum menu. The first item with subitems (Converters) appears on the right where as the second one (Utilities) has no right offset and appears directly below. This does not happen with any other theme, i.e. you can test here: https://www.translatum.gr/forum/index.php
Title: Re: SunRise
Post by: SychO on December 18, 2019, 11:55:35 AM
Quote from: spiros on December 18, 2019, 10:25:04 AM
I discovered another issue though when it comes to subitems in main forum menu. The first item with subitems (Converters) appears on the right where as the second one (Utilities) has no right offset and appears directly below. This does not happen with any other theme, i.e. you can test here: https://www.translatum.gr/forum/index.php

Nice, I never tested with a submenu so that's a problem, I'll try fixing this when I can but I can't make promises. Thank you for the report
Title: Re: SunRise
Post by: spiros on December 18, 2019, 12:16:03 PM
Great, thank you! By the way, would you be available for hire for a potential theme customization?
Title: Re: SunRise
Post by: SychO on December 18, 2019, 02:32:22 PM
I might depending on the details, feel free to hit me up with a PM
Title: Re: SunRise
Post by: spiros on December 19, 2019, 01:51:37 AM
Right, thanks!

Another issue I noticed. When at zoom 90% with the browser (Chrome) I can see the full row of top right icons (Home, Help...). When zoom is 100% they disappear and the 3 lines menu selection icon appears. When zoom is 110% the top right icons reappear.
Title: Re: SunRise
Post by: spiros on December 19, 2019, 05:16:15 AM
Yet another.

- Clicking "Home" icon or any other top-level menu icon sometimes does not go to the link. Upon inspection it displays javascript:void(0). This can be checked by increasing zoom on the browser in order to have the icons moved into the 3 lines menu selection icon. Decreasing it again maintains this javascript. Subitems are not affected.
Title: Re: SunRise
Post by: SychO on December 19, 2019, 05:50:45 AM
Try refreshing the page after the zoom
Title: Re: SunRise
Post by: spiros on December 19, 2019, 05:58:37 AM
Yes, either that or clicking the main forum home page link. But still, this should not happen as the user may be at a loss as to why the link does not work.
Title: Re: SunRise
Post by: SychO on December 19, 2019, 08:54:16 AM
Well, it's not a big deal, it only happens on the instance where you change the window size by zooming, after that there is no problem. I am sure there is a better way code wise, but not something I'm gonna look into anytime soon unfortunately.
Title: Re: SunRise
Post by: spiros on January 02, 2020, 07:06:23 AM
I was testing after the 2.0.17 update and there seems no way to get the browser to remember the day/night selection. It seems to last only for the specific browser session; when browser is restarted one has to change it again. Is there any way to make it stick to the visitor/user selection (until the user changes it), I guess by cookie duration?
Title: Re: SunRise
Post by: SychO on January 02, 2020, 11:39:00 AM
The cookie duration is 30 days by default, so even if you restart your browser the cookie should still be there before the 30 days, if you want to change the duration look for "setCookie" and edit "30" in index.template.php

also since the way the cookie is set by the theme has nothing to do with how the software sets its cookies, than 2.0.17 has no way of messing with it, of course something might be amiss with your installation but it works fine for me even with 2.0.17

Title: Re: SunRise
Post by: spiros on January 02, 2020, 12:31:18 PM
I did some more testing with 2 machines and 1 phone. Visiting 2 sites with the theme, closing the browser, opening it again. The results are a mixed bag. Some browsers fail in both sites I tested (your demo http://dzignmz.22web.org/forum/index.php?theme=8&i=1 and mine https://www.translatum.gr/forum/index.php), some work for both, some work in one, not in the other.

Menu issue
It seems that what causes much of the menu issues is the fact that in mobile dropdown menu the first item is not clickable but unfolds the subitems. So, if the main item has both a link and children elements (as for example "Customize" in this site), the link of the main item will not work in mobile mode. Not sure how this can be addressed as the first item can also be an important site link. Maybe have it added somehow as an extra subitem in mobile mode?

Stats on top

Checking your demo I can see a top row with stats. Is this an option? I could not find it.

11
MEMBERS
67
POSTS
32
TOPICS
NEWMEMBER
LATEST MEMBE
Title: Re: SunRise
Post by: SychO on January 03, 2020, 01:14:10 PM
Quote from: spiros on January 02, 2020, 12:31:18 PM
I did some more testing with 2 machines and 1 phone. Visiting 2 sites with the theme, closing the browser, opening it again. The results are a mixed bag. Some browsers fail in both sites I tested (your demo http://dzignmz.22web.org/forum/index.php?theme=8&i=1 and mine https://www.translatum.gr/forum/index.php), some work for both, some work in one, not in the other.

That is weird, the javascript code used for this might need updating then.

Quote from: spiros on January 02, 2020, 12:31:18 PM
Menu issue
It seems that what causes much of the menu issues is the fact that in mobile dropdown menu the first item is not clickable but unfolds the subitems. So, if the main item has both a link and children elements (as for example "Customize" in this site), the link of the main item will not work in mobile mode. Not sure how this can be addressed as the first item can also be an important site link. Maybe have it added somehow as an extra subitem in mobile mode?

I guess if you do add the main item as a subitem that would solve the problem, the code is in index.template.php, I think the function responsible for the menu is called template_menu() you just need to re-write the <li> item inside the <ul> item which is inside of it.

Quote from: spiros on January 02, 2020, 12:31:18 PM
Stats on top

Checking your demo I can see a top row with stats. Is this an option? I could not find it.

11
MEMBERS
67
POSTS
32
TOPICS
NEWMEMBER
LATEST MEMBE

Disable "Show statistics on board index:" in the theme settings
Title: Re: SunRise
Post by: spiros on January 04, 2020, 07:04:14 AM
Thanks for the reply.

Menu
I was not sure how exactly to implement that edit; I edited the menu in Subs.php instead by adding the main item as first subitem too.

Stats on Top
Yes, that worked fine. Is it possible to add total page views as a Stat there? I tried
$context['common_stats']['num_hits'] (https://www.simplemachines.org/community/index.php?topic=571157.msg4042492#msg4042492) but did not work.
Title: Re: SunRise
Post by: RockLee on January 05, 2020, 11:01:37 AM
I was just looking to use your theme and I realized you added new things for which I leave the translations with some improvements in the files ;)


Regards!
Title: Re: SunRise
Post by: SychO on January 05, 2020, 01:59:52 PM
Quote from: spiros on January 04, 2020, 07:04:14 AM
Stats on Top
Yes, that worked fine. Is it possible to add total page views as a Stat there? I tried
$context['common_stats']['num_hits'] (https://www.simplemachines.org/community/index.php?topic=571157.msg4042492#msg4042492) but did not work.

I cannot tell if that is possible or not at the moment.

Quote from: Rock Lee on January 05, 2020, 11:01:37 AM
I was just looking to use your theme and I realized you added new things for which I leave the translations with some improvements in the files ;)


Regards!


Thank you Rock Lee :) I'll include these whenever I get the chance
Title: Re: SunRise
Post by: Tr0n on January 07, 2020, 05:55:25 PM
Hi SychO,

Quick question, Is it possible to include a custom background for whole forum, if so how?

Thanks
Title: Re: SunRise
Post by: Gandrel on January 12, 2020, 03:57:26 AM
Has anyone upgraded to 2.0.17 yet and if so, have you had any issues with the SunRise theme? I'm reluctant to upgrade until I see 2.0.17 listed as officially compatible. Currently it's only showing 2.0.15.
Title: Re: SunRise
Post by: Gandrel on January 13, 2020, 04:26:56 AM
I'd also like to propose that the following be changed in the index.template.php file in the next version of this theme:

Change:
<li><a class="firstlevel" href="', $scripturl, '?action=unread">' . fontawesome('fas fa-user-plus') . ' <span>', $txt['sr_unread_since_visit'], '</span></a></li>

To:
<li><a class="firstlevel" href="', $scripturl, '?action=unread">' . fontawesome('fas fa-inbox') . ' <span>', $txt['sr_unread_since_visit'], '</span></a></li>

Currently, it doesn't make sense to me that the icon for "UNREAD POSTS" is the same icon used for "REGISTER".
Title: Re: SunRise
Post by: big red on February 25, 2020, 12:26:00 PM
 SychO - Thank You for the Theme

Two things:

1 - Giving Karma is important to my forum and while that option is there in desktop viewing, i cannot see that option in chrome mobile view. How can i make that option show.
2 - The default avatar mod (i want the same avatar to show across all themes) is not affecting your theme. I even overwrote your default avatar image and still no effect. What am i missing here?

   Thanks!
Title: Re: SunRise
Post by: Koulouridhs on March 12, 2020, 09:44:04 AM
Hello.

Is there any documentation for how to change moon/sunlight to image?

Thanks in advance.
Title: Re: SunRise
Post by: Byaku06 on March 24, 2020, 03:51:20 PM
@SychO

Hi,

How can I remove the mountains and put another image?

https://prnt.sc/rm3wzy
Title: Re: SunRise
Post by: ByDenhiz on March 30, 2020, 09:48:30 PM
Best Theme
Title: Re: SunRise
Post by: addlife on May 03, 2020, 08:32:46 PM
Quote from: SychO on May 03, 2020, 06:22:58 PM
Quote from: addlife on May 03, 2020, 06:05:37 PM
Correct me if I'm understanding wrong. The themes that you're referring to will work with the like posts mod without manual edits even if it's installed after the like posts mod?

I saw somewhere in the code of Sunrise that it mentions vbgamers mod in a comment. Is that the part of code that you did whatever you posted above?

Yes & Yes, that's the purpose of adding mod support.
I just tried installing the theme after I installed the mod but it didn't seem to work.

011972.xyz

Did I do something wrong?
Title: Re: SunRise
Post by: SychO on May 04, 2020, 08:26:22 AM
Oh it doesn't indeed, the theme needs updating (it has for a while)

*shrugs*
Title: Re: SunRise
Post by: spiros on May 09, 2020, 09:42:32 AM
Looks like the board icons showing new posts do not change accordingly in child boards.

Icons showing the board index and message index with child boards in both Sunrise and Default theme. Notice that in default theme, the board with new messages has a different colour icon.

I think the problem is with the class responsible for new posts <td class="icon new_posts"> not being shown on child boards with new posts. The image changes name (to an image which in fact is the same), but the image is not the one responsible for the change.
Title: Re: SunRise
Post by: SychO on May 09, 2020, 01:08:51 PM
It's not an issue, It's working as intended, I deliberately didn't incorporate icon changes based on new posts, call it personal preference, I never found it that useful, only bothersome at times.

If I remember correctly if you want to get it working like that, you just need to edit on2.png or something like that.
Title: Re: SunRise
Post by: spiros on May 09, 2020, 01:36:37 PM
Well, actually icon changes on new posts do work on your default theme, (only for forum index though, not for message index) you have applied the class mentioned above on a td (icon new_posts)  :)

Also, I notice that no Font Awesome icon is used, although the image for "on" and "off" is the same as a Font Awesome icon. I sort of found a way to change this by replacing it in BoardIndex.template.php

Find

<img src="', $settings['images_url'], '/', $context['theme_variant_url'], 'on', $board['new'] ? '' : '2', '.png" alt="', $txt['new_posts'], '" class="tooltip" title="', $txt['new_posts'], '" />';

Replace:

<i class="fas fa-pencil-alt fa-3x" style="color:white !important" alt="', $txt['new_posts'], '" title="', $txt['new_posts'], '"';

I wanted to incorporate this:

<i class="fas fa-pencil-alt fa-3x" style="color:white !important" title="New posts"></i>

Although the html output of my php version is a bit problematic, I guess I am missing something. Also, getting it to be responsive the same way as the image is something I could not manage, even with something like

i.fas.fa-pencil-alt.fa-3x {
    font-size: 4.4vw;
}
Title: Re: SunRise
Post by: dgs20 on May 10, 2020, 06:56:08 PM
thank you good template
Title: Re: SunRise
Post by: Minibiru on May 11, 2020, 08:00:47 AM
Hello, I don't if this is a problem with this theme, but the news section doesn't appear anywhere on the forum and I have all the permissions placed.

(https://i.imgur.com/g1z4c2n.png)

(https://i.imgur.com/bFjfXap.png)

thanks for the help.
Title: Re: SunRise
Post by: _.EvilExecutor._ on May 30, 2020, 05:38:27 AM
I wanna know whether It's possible to change the location of the block RECENT POSTS
Title: Re: SunRise
Post by: SychO on May 30, 2020, 06:21:09 AM
it's not possible unless you directly edit the source code to move the relevant block of code.
Title: Re: SunRise
Post by: bugra0127 on June 01, 2020, 10:54:21 AM
Hello, I want to make a horizontal postbit in the SunRise theme, but when I research and try it, please do help me :(
Title: Re: SunRise
Post by: gorbi on June 13, 2020, 07:35:49 AM
How to insert group icons in social networks into the basement of the forum?
Title: Please syhco How to enable user signature to show on every post
Post by: tife54 on June 15, 2020, 02:31:59 PM
I just installed smf not long ago...  And I use sunrise theme but the problem I'm having is that the user signature even my own signature as admin is not showing and already enable signature but is not show yet

Please how can I set it my current theme is sunrise

my Site
Thanks
Title: Re: SunRise
Post by: tife54 on June 15, 2020, 02:57:42 PM
Quote from: SychO on May 30, 2020, 06:21:09 AM
it's not possible unless you directly edit the source code to move the relevant block of code.

Please reply to my message
About the signature thanks
Title: Re: SunRise
Post by: Kindred on June 15, 2020, 03:03:41 PM
We are not a real-time support site -- especially not authors of mods.
bumping your post, asking for an answer after only 1.5 hours is obnoxious.
Title: Re: Please syhco How to enable user signature to show on every post
Post by: shadav on June 15, 2020, 05:50:54 PM
Quote from: tife54 on June 15, 2020, 02:31:59 PM
I just installed smf not long ago...  And I use sunrise theme but the problem I'm having is that the user signature even my own signature as admin is not showing and already enable signature but is not show yet

Please how can I set it my current theme is sunrise

my Site
Thanks
do you have any mods installed, specifically ones that would alter display.template.php?
use a program like winmerge and compare your display.template.php with a default one of this theme
Title: Re: Please syhco How to enable user signature to show on every post
Post by: tife54 on June 16, 2020, 01:26:51 AM
Quote from: shadav on June 15, 2020, 05:50:54 PM
Quote from: tife54 on June 15, 2020, 02:31:59 PM
I just installed smf not long ago...  And I use sunrise theme but the problem I'm having is that the user signature even my own signature as admin is not showing and already enable signature but is not show yet

Please how can I set it my current theme is sunrise

my Site
Thanks
do you have any mods installed, specifically ones that would alter display.template.php?
use a program like winmerge and compare your display.template.php with a default one of this theme

.thanks which mods do you think can alter display template I have about 12 active mods

Thanks
Title: Re: SunRise
Post by: tife54 on June 16, 2020, 01:30:26 AM
If I use another theme the signature will show but if I use sunrise it won't show

Thanks
Title: Re: Please syhco How to enable user signature to show on every post
Post by: tife54 on June 16, 2020, 01:40:00 AM

Quote
do you have any mods installed, specifically ones that would alter display.template.php?
use a program like winmerge and compare your display.template.php with a default one of this theme

Please if you are using sunrise and the signature is showing please tell me the mods you installed  so I can know the mods that I will uninstall..

Thanks I appreciate
Title: Re: SunRise
Post by: SychO on June 16, 2020, 09:59:24 AM
please stop spamming my message inbox, this does not look like a problem with the theme itself, more like something to do with your settings, maybe theme specific user/global settings or a problem with a mod.

In the future please do not pester people, if anyone is around to help you they will.
Title: Re: Please syhco How to enable user signature to show on every post
Post by: shadav on June 16, 2020, 11:11:14 AM
Quote from: tife54 on June 16, 2020, 01:40:00 AM

Quote
do you have any mods installed, specifically ones that would alter display.template.php?
use a program like winmerge and compare your display.template.php with a default one of this theme

Please if you are using sunrise and the signature is showing please tell me the mods you installed  so I can know the mods that I will uninstall..

Thanks I appreciate

as I said, use a program like winmerge and compare your display.template.php with a clean display.template.php from this theme
you have either installed a mod or edited something that messed it up

it is also customary to wait at least 24 hours, we are trying to help you out, for free might I add, so posting every few minutes to an hour doesn't really do anything but put people off....

a few settings to check as well as mentioned above comparing your file with a fresh file
in your admin under configuration go to features and options then go to signatures
is enable signatures marked?

in your admin under configuration go to themes and layout settings then go to member options
then for the theme you are using click on: Configure guest and new user options for this theme
make sure that this is not checked: Don't show users' signatures.
while here make any other changes then go back to member options and (if you don't have a lot of members to tick off) for the theme that you are using click on both Change current options for all members using this theme and Remove all members' options and use the defaults

now if you have installed any mods that affect the signature permissions in your admin under members go to permissions
check each member groups permissions specifically for any signature permissions


given that there are many many mods that alter display.template.php no I couldn't tell you exactly which one....the easiest way as i mentioned would be to use a program like winmerge to compare your file with a fresh file and see what changes have been done and try to fix them or completely over right them removing any mods or changes to the file
Title: Re: SunRise
Post by: tife54 on June 16, 2020, 07:35:30 PM
Quote from: SychO on June 16, 2020, 09:59:24 AM
please stop spamming my message inbox, this does not look like a problem with the theme itself, more like something to do with your settings, maybe theme specific user/global settings or a problem with a mod.

In the future please do not pester people, if anyone is around to help you they will.

I'm sorry bro very sorry.....

It became it urgent but thanks through
Title: Re: Please syhco How to enable user signature to show on every post
Post by: tife54 on June 16, 2020, 08:15:29 PM


Please if you are using sunrise and the signature is showing please tell me the mods you installed  so I can know the mods that I will uninstall..

Thanks I appreciate
[/quote]

as I said, use a program like winmerge and compare your display.template.php with a clean display.template.php from this theme
you have either installed a mod or edited something that messed it up

it is also customary to wait at least 24 hours, we are trying to help you out, for free might I add, so posting every few minutes to an hour doesn't really do anything but put people off....

a few settings to check as well as mentioned above comparing your file with a fresh file
in your admin under configuration go to features and options then go to signatures
is enable signatures marked?

in your admin under configuration go to themes and layout settings then go to member options
then for the theme you are using click on: Configure guest and new user options for this theme
make sure that this is not checked: Don't show users' signatures.
while here make any other changes then go back to member options and (if you don't have a lot of members to tick off) for the theme that you are using click on both Change current options for all members using this theme and Remove all members' options and use the defaults

now if you have installed any mods that affect the signature permissions in your admin under members go to permissions
check each member groups permissions specifically for any signature permissions


given that there are many many mods that alter display.template.php no I couldn't tell you exactly which one....the easiest way as i mentioned would be to use a program like winmerge to compare your file with a fresh file and see what changes have been done and try to fix them or completely over right them removing any mods or changes to the file
[/quote]

Thanks bro I really appreciate your write up thanks
Title: Re: SunRise
Post by: KittyGalore on June 17, 2020, 12:50:48 PM
Quote from: tife54 on June 16, 2020, 01:30:26 AM
If I use another theme the signature will show but if I use sunrise it won't show

Thanks
Hello so i assume you are using SMF 2.017 i installed this theme on my test forum and the signature shows. Can you tell me what mods you have installed on your forum and i will put them on mine and see what happens.
Title: Re: SunRise
Post by: gorbi on June 21, 2020, 01:29:48 PM
Please help me add this links
Title: Re: SunRise
Post by: Sectomy on July 10, 2020, 08:35:16 AM
hi, is it possible to make the image on top "clickable" ?
so i changed the sr_sunrise.png (the mountain) to my own image, but, is it possible to make it link to the index of the board ?

thank you

best regards
andi
Title: Re: SunRise
Post by: Sectomy on July 12, 2020, 05:26:07 AM
oh and in the Profile Drop Down menue, there 2 new entries from Like Mod and unread Topics, but theres no icon in front of, is there a way to add an icon there ? where is it stored or configured  ?
i even dont find the little images in the theme, is it in the core theme ?
Title: Re: SunRise
Post by: Sectomy on July 15, 2020, 02:29:36 AM
hi, i have a slight issue (not me, my buddies :D )
maybe you can help me, im using 2.0.17 on sunrise theme....
thats the problem, it only occures on mobiles.... i cant make my firefox or chrom edge so small...
see, maybe u can help me with a little fix for it, would be awsome !

its if youre in a sub topic of a topic.... maybe u know, i dont know if its easy to fix, for me, not.... im not a pro u are :)

best regards

andi
Title: Re: SunRise
Post by: propyls on July 18, 2020, 01:22:42 AM
Hey, first thanks for the great theme. I've been able to make the majority of button editions on my own but there's one left that has defeated meh..

I need to slip in a bookmarks button to the right of the Reply button at the bottom between Reply and Poll.

I've been all over the index and rtl and I even found the icon I want the in the font awesome css but I am just puzzled at how/where this button strip gets assembled.

I found what i thought was the array of standard buttons in the display.template.php but no dice.

anyway, if you're bored or know I'd love to know where to look.

Thanks
Title: Re: SunRise
Post by: SychO on July 18, 2020, 10:36:03 AM
It's the $normal_buttons array in Display.template.php that you're looking for
Title: Re: SunRise
Post by: propyls on July 18, 2020, 11:05:47 AM
Hi Sych0

Thanks for the time!

I gave that a shot yesterday, adding to the normal button array thinking that would get it done and apparently am not getting something correct.

Title: Re: SunRise
Post by: SychO on July 18, 2020, 11:14:09 AM
right, I'd forgotten in addition you'll also have to define the icon in the css the same way it is defined for the other buttons. inspect the reply button's ::before pseudo and do the same for your 'bookmark' button.
Title: Re: SunRise
Post by: propyls on July 18, 2020, 11:32:11 AM
That's the part that has me totally defeated.

I'm not 100% certain on how it works so ive tried to copy / paste rename to create a new one.

I've tried what I thought would get it done in index.css & rtl.css but im still not doing something right.

my problem is a total lack of understanding on my part on how the css is applied to this strip.



Title: Re: SunRise
Post by: SychO on July 18, 2020, 11:54:03 AM
the code in the first image is not relevant, I don't remember why I left that there, it doesn't do anything.

in the code of the second image, your problem is that you're referring to your custom button as "book" but in the php array, the key is "bookmark" so try using bookmark instead.
Title: Re: SunRise
Post by: propyls on July 18, 2020, 12:05:38 PM
doh, well i feel silly now but at the same time totally understand how the code actually works now. Thank you so much I was able to make it work with your suggestions. 

How can I buy you a beer or make a donation?


Title: Re: SunRise
Post by: SychO on July 18, 2020, 12:35:50 PM
Quote from: propyls on July 18, 2020, 12:05:38 PM
How can I buy you a beer or make a donation?

Sorry, that's not possible right now due to some issues, but I do appreciate the gesture thank you.
Title: Re: SunRise
Post by: propyls on July 18, 2020, 03:38:12 PM
ok well thank you very much for the help. It is certainly appreciated, not just for this question but just the theme and smf support in general!

thanks again!

Title: Re: SunRise
Post by: ForgetfulGoat on September 14, 2020, 01:21:29 AM
Awesome theme, but for some reason guests can't view any button images.
(https://i.imgur.com/YEoWqu5.png)
It just comes out looking like this until you log in, after which everything displays properly again. What could possibly be the cause? It's installed on 2.0.17.

This does not seem to be a problem in Nightbreeze, for reference.
Title: Re: SunRise
Post by: SychO on September 14, 2020, 05:39:45 AM
well, usually that happens with URL issues, preventing the icon files from loading.

It can happen when you have SSL configured but people can still access through http without being redirected to https, or if your forum URL has www. and people can access without (or the other way around).

So check if that's what's going on.
Title: Re: SunRise
Post by: ghulst on September 23, 2020, 04:37:49 AM
@SychO I just emailed you a zip with a Dutch translation. ;)
Title: Re: SunRise
Post by: SychO on September 23, 2020, 06:10:48 AM
much appreciated :) will be included in the next updated package
Title: Re: SunRise
Post by: JesusIsGodAlmighty.Life on October 02, 2020, 10:24:49 AM
@SychO I'm looking at you site and trying every single Responsive theme and saw you had something called Ackerman but I don't see any download link for it. Still a work in progress?

Dearly Regards
- Darkijah
Title: Re: SunRise
Post by: SychO on October 02, 2020, 10:34:59 AM
That one's not for free at the moment, but I might publish it for free real soon.

https://www.simplemachines.org/community/index.php?topic=567296.0
Title: Re: SunRise
Post by: JesusIsGodAlmighty.Life on October 03, 2020, 01:54:15 PM
Quote from: SychO on October 02, 2020, 10:34:59 AM
That one's not for free at the moment, but I might publish it for free real soon.

https://www.simplemachines.org/community/index.php?topic=567296.0

Roger that, just sniffing around and testing everything that could work on mobile and getting ideas, and by the way some very nice themes you made. I like the menu you've used.

There was more supporting themes for mobile then I thought for 2.0.17, although I will need to clean some of them out.
Title: Re: SunRise
Post by: JesusIsGodAlmighty.Life on October 05, 2020, 01:58:13 PM
Argh having huge issues logging unto this site with my Mobile, and then when I finally get in it logs me out again before I reach this place. Sigh...

In any case, I've found an issue that is in all 3 Themes on 2.0.17 - lovely themes all of them by the way!

When you make a very long Subject title your theme breaks on mobile, or does things it should not do, I only found out about this in my near finish testing, but the once that was left of the themes, the issue was there beside one single theme who had fixed it. There might be others that have fixed it, but I'm not going to install all the responsive themes again and go through them! Ant's Mutant Curve has fixed it, I think its the other clever Theme guy around which name eludes me :)

Also I've had issue when changing from Light to Black or Black to Light having it stall and not working, I think the issue was on mobile, I can't remember if I found any issue on the computer.
Also there is a menu that seems to not have been made black, and when you push it your getting this hugely flash of white light in your eyes. Can't figure out where I found it, I'll be back on that if I run into it again.
Title: Re: SunRise
Post by: SychO on October 05, 2020, 02:11:04 PM
QuoteWhen you make a very long Subject title your theme breaks on mobile, or does things it should not do

How so ? screenshot or explanation would help understand.
Title: Re: SunRise
Post by: JesusIsGodAlmighty.Life on October 05, 2020, 02:41:47 PM
Quote from: SychO on October 05, 2020, 02:11:04 PM
QuoteWhen you make a very long Subject title your theme breaks on mobile, or does things it should not do

How so ? screenshot or explanation would help understand.

Yea, that was why I tried to connect to the forum from my mobile, to post pictures. I'll see what I can do. But if you make a Topic and fill it with Text to the very limit and post it, and look on that topic with your theme from a mobile, you should see that it ruins the width of the page. It shoots out to the right.
Title: Re: SunRise
Post by: JesusIsGodAlmighty.Life on October 05, 2020, 03:01:11 PM
Yes I'm in on my mobile!!!!!
Here are some screen shots :)
Title: Re: SunRise
Post by: SychO on October 05, 2020, 03:03:19 PM
I see, well it's fixable but that's a very very very special case, because your subject is one single extremely long word, if it was a long sentence, there wouldn't be an issue.
Title: Re: SunRise
Post by: JesusIsGodAlmighty.Life on October 05, 2020, 03:08:20 PM
Ahhh, okay I have not tried to do it with spaces, I should try that out.
But in any case one Theme has a fix for it - Ant's Mutant curve have it sorted out. :)

I have a way of breaking things ;)

-edit-

you're right, it does not happen if there is spaces in the text. And I guess very little chance of anyone doing it like that. But just nice to see a rock solid theme which can't be broken by stupidity :P ;)

-edit-

Someone being stupid who wanna mess up the forum could join and do it to make havock. I've just tried to remove the content, apparently I removed the topic - but the message is still in the last 10 messages posted, allthough it says it does not exist when pushed on it. So... At least need to post some messages to get that in order again without the extra width.
Title: Re: SunRise
Post by: mark@123 on October 06, 2020, 07:22:08 AM
Thanks for Nice Theme and Support.
Title: Re: SunRise
Post by: JesusIsGodAlmighty.Life on October 06, 2020, 02:27:05 PM
Hey @SychO so I'm toying around with SunRise, although broke it and had to reinstall and now at the same point again it seems :) Did something which I don't know what I did.

I don't know if you go into helping in such details, but people are very supportive on the forum - and one can always get a no :P

Any case, minor things, could the user menu be made instant and make the letters just a little bit bigger would no hurt?
Could the menu to the right, the main menu be instant and have the boxes made a little smaller? It Just a little quize. Not sure if one could make the top menu smaller without effecting anything, including the menu top to follow. Seems there should be able to cut some pixels off pressing it further together.
And could we maybe like sticky the top bar and let it follow along, which also makes the quizing it together important if it is going to follow one around.

And, how do I implement another menu just beside the main theme menu, to be an icon menu to the right when they are unfolded on the computer and still working as a menu.

I think that is all :) No no no... I have more.

Could we have Index Home in the > link > and the Title of the page be different? And could one take out the Category names from the tree system? I get somewhat confused about this extra thing being added to the tree and it fills up space.

Anyway of shortening the Homepage name empty space up and down - I've made it all black and discounted all images but there seem to be a good amount of empty space above and below the Main homepage name.

At the bottom without a picture, maybe the footer with a box color like the top bar and closing the gap there is, at least making it smaller.

Thats all...

Well, I guess I need to try to see if I change the colors as well, from blue to orange - any easy way of doing that?

But it is up and running :D

Oh the same with the menu openings, would like them to be instant. Hate waiting, in these days of time - want things to be as fast and smoth as possible! :)

Thanks for reading!
Title: Re: SunRise
Post by: SychO on October 06, 2020, 02:58:51 PM
You can do almost anything if you have the coding knowledge. I unfortunately cannot help people with their custom needs as I do not have the time to try to understand exactly what they want to do and then look at the code to see if and how it is doable, and to then try and explain how they can get to the results they want. I used to do that, for a while, but I stopped because it was too tiresome.

Quotewould like them to be instant

I have no recollection of the code, but if it was made using CSS keyframes, then you could just tweak the animation time to 0, but if the animation is done with javascript, well then you need to tweak that.
Title: Re: SunRise
Post by: JesusIsGodAlmighty.Life on October 06, 2020, 03:11:18 PM
Oki doki, I guess there is no easy way around it :P He he he.

Anyway thanks for the theme, I'll see if I can dig into it and learn and edit a little here and there.
Title: Re: SunRise
Post by: spiros on November 14, 2020, 05:35:07 AM
Is it possible to know which bits of code changed in order to update my customised version?

QuoteChangeLog
Version 2.0.4 [08/09/2020]
-----------------------
!Fixed performance issue

Version 2.0.3 [10/12/2019]
! Updated FontAwesome to 5.11.2
! Fixed a couple of minor bugs
Title: Re: SunRise
Post by: SychO on November 14, 2020, 05:52:12 AM
Even I don't remember mate 🤷 you'd have to download the newest package, check modification dates on files to see which ones were updated and then use a diff tool to compare with your own version's files.

When I rewrite this to 2.1, in addition to using modern CSS. it'll sit on a github repository with proper versioning, making maintenance a lot more easier.
Title: Re: SunRise
Post by: spiros on November 14, 2020, 06:17:24 AM
Yes, I did download it. Almost all files show 8/9/2020 as modification date...

An idea for the theme is to detect OS dark/light mode preference and serve accordingly.
Title: Re: SunRise
Post by: SychO on November 14, 2020, 07:24:05 AM
QuoteAn idea for the theme is to detect OS dark/light mode preference and serve accordingly.

maybe something for the 2.1 rewritten version, it would probably be easier using CSS variables, although the logic for which mode to use would have to be properly thought about, since the admin has an option to choose a default mode, an option to enable only one mode, and the user has the option to choose one if allowed.
Title: Re: SunRise
Post by: spiros on November 14, 2020, 07:31:03 AM
One css, at the end:
@media(prefers-color-scheme: dark) {dark stuff here}
This Wordpress plugin does provide for the options you mention if you want to get inspired: https://wppool.dev/wp-dark-mode/
Title: Re: SunRise
Post by: SychO on November 14, 2020, 07:48:18 AM
It wouldn't be that simple, at least not for this 2.0 version, it would require some JavaScript to decide which files to load.

For the rewritten version, I don't think JavaScript would be needed at all, would all be done in the CSS.
Title: Re: SunRise
Post by: spiros on November 24, 2020, 11:38:23 AM
That sounds like the theme will work faster. So you mean you will drop the dark/light selection cookie too?
I did manage with a number of edits (css icons or replacing images with Font Awesome) to get it to load 0 pictures in home page, and very few in board index. There is still though the overhead of multiple Font Awesome libraries loading. Perhaps a subset (https://www.translatum.gr/forum/index.php?topic=981424.0) would improve things?
Title: Re: SunRise
Post by: SychO on November 24, 2020, 02:29:59 PM
Quote from: spiros on November 24, 2020, 11:38:23 AM
That sounds like the theme will work faster.

Well, I was specifically talking about JavaScript related to your idea. But I will end up removing a lot of the javascript that is currently switching between dark/light modes, in fact the only piece of javascript code I'll need is to check then add a "dark-mode" class to the html, a lot more easier and efficient. Don't know if that it'll make it faster though.

Quote from: spiros on November 24, 2020, 11:38:23 AM
So you mean you will drop the dark/light selection cookie too?

No, just most likely use local storage instead.

Quote from: spiros on November 24, 2020, 11:38:23 AM
I did manage with a number of edits (css icons or replacing images with Font Awesome) to get it to load 0 pictures in home page

Why ? most images used are default theme images which are really just icons of very small size, they're also cached after the first load anyway, so It doesn't make much of a difference.

Quote from: spiros on November 24, 2020, 11:38:23 AM
There is still though the overhead of multiple Font Awesome libraries loading. Perhaps a subset (https://www.translatum.gr/forum/index.php?topic=981424.0) would improve things?

It's true that it loads all of fontawesome icons (strong, brand, regular) but I would rather not create a subset for it, since the theme allows admins to choose icons for menu items (and I think a couple more spots), I prefer leaving all icons as an option.
Title: Re: SunRise
Post by: Greybrow on December 03, 2020, 01:14:52 PM
Just a quick post: I love this theme.
Looks lovely, acts responsive and the support you give is uncanny.
Title: Re: SunRise
Post by: Bisht on December 09, 2020, 11:54:07 PM
Amazing work dude thanks for share  ;)
Title: Re: SunRise
Post by: K-Forum on January 23, 2021, 02:54:22 AM
A great theme, a great idea! I just loove the option to switch from light to dark!

Just one question: Usually the thread titles/headlines are repeated in each reply. They are hidden in this template. Is there a way to make them show up? Our members used to use these headlines for very important silly stuff. Would be nice to display them.
Title: Re: SunRise
Post by: 4LP3RUZ1 on March 07, 2021, 08:33:19 AM
Turkish translation attached:
Title: Re: SunRise
Post by: SychO on March 07, 2021, 11:11:03 AM
Thank you !
Title: Re: SunRise
Post by: thatjustit on March 13, 2021, 09:15:29 PM
Great work, theme works well with my old forum!
Title: Re: SunRise
Post by: Gandrel on April 29, 2021, 12:25:46 PM
With SMF 2.0.18 out and it supporting PHP 7.4, would it be expected that this theme would work if I installed 2.0.18 and switched to PHP 7.4?
Title: Re: SunRise
Post by: SychO on April 29, 2021, 12:55:41 PM
Quote from: Gandrel on April 29, 2021, 12:25:46 PM
With SMF 2.0.18 out and it supporting PHP 7.4, would it be expected that this theme would work if I installed 2.0.18 and switched to PHP 7.4?

No one has reported any issues with it running on 2.0.18 & php7.4 so I believe it works just fine.
Title: Re: SunRise
Post by: K-Forum on May 17, 2021, 02:12:44 PM
Hey SychO, is there a way to display the subject on every reply - just like in the default theme (here: "Re: SunRise") ? We used to use the subject-line for silly comments and would love to continue doing so.

Thanks for this beautiful theme!
Bastian
Title: Re: SunRise
Post by: K-Forum on May 18, 2021, 03:07:16 PM
Quote from: K-Forum on May 17, 2021, 02:12:44 PM
Hey SychO, is there a way to display the subject on every reply - just like in the default theme (here: "Re: SunRise") ?

in Display.template.php
find
<div class="postarea">
<div class="flow_hidden phoneVflow">
<div class="keyinfo">
<h5 id="subject_', $message['id'], '" style="display:NONE;">


and change "none" to "strong", "bold", whatever
Title: Re: SunRise
Post by: spiros on June 29, 2021, 02:09:08 AM
Looks like Google picks up mobile usability issues, for example for https://www.translatum.gr/forum/index.php?topic=60077.0 I get:

Content wider than screen
Text too small to read
Clickable elements too close together
Title: Re: SunRise
Post by: SychO on June 29, 2021, 10:53:12 AM
Yea that makes sense, there's without a doubt a lot of room for improvement.
Title: Re: SunRise
Post by: ozgurdeveci on September 12, 2021, 04:30:14 AM
Hello SychO,

When I upload the current theme to my website with version 2.0.18, I get the error "Unable to load the 'main_above' template." Nothing has been uploaded before. What could be the cause of the problem.

Thank you.
Title: Re: SunRise
Post by: PFigo on September 12, 2021, 02:18:13 PM
Quote from: ozgurdeveci on September 12, 2021, 04:30:14 AMHello SychO,

When I upload the current theme to my website with version 2.0.18, I get the error "Unable to load the 'main_above' template." Nothing has been uploaded before. What could be the cause of the problem.

Thank you.
I used SychO themes in past and I was to install it on SMF 2.0.18 like you and have same problem :-(
Title: Re: SunRise
Post by: shadav on September 13, 2021, 10:50:10 AM
Quote from: ozgurdeveci on September 12, 2021, 04:30:14 AMHello SychO,

When I upload the current theme to my website with version 2.0.18, I get the error "Unable to load the 'main_above' template." Nothing has been uploaded before. What could be the cause of the problem.

Thank you.
how are you installing this?
I just tested this on my 2.0.18 and am not getting this error

I downloaded the theme, I unzipped the theme and then uploaded the theme's folder (SunRise20) into my smf's Themes folder
FORUMROOTFOLDER/THEMES/
I then went into my admin under configuration then under Themes and Layouts
at that bottom of that page
 INSTALL A NEW THEME
From a directory on the server:
at the end of the url provided in the box add SunRise20
so
/YOUR/SERVER/PATH/TO/FORUM/Themes/SunRise20
click Install
then go back to themes and layouts and change the
Overall forum default: to SunRise

I do not get the error you are reporting
Title: Re: SunRise
Post by: ozgurdeveci on September 13, 2021, 11:59:11 AM
I just deleted everything and reinstalled. The result is still the same. I get the error "Unable to load the 'main_above' template."
Title: Re: SunRise
Post by: shadav on September 13, 2021, 12:08:44 PM
and again I ask, how are you installing this?

did you try as I posted above?
Title: Re: SunRise
Post by: ozgurdeveci on September 13, 2021, 01:15:34 PM
I set it up exactly as you said.
Title: Re: SunRise
Post by: shadav on September 13, 2021, 01:17:13 PM
if you want to pm me ftp details and admin details and link to your site and I will try to install this theme for you
Title: Re: SunRise
Post by: PFigo on September 13, 2021, 03:46:31 PM
On my case I install it like always did.
From SMF install from my pc. Choose ZIP file and install it.
After on SMF control panel I aplly theme...but: "Not possible to load template "main_above".

You can see on my image that theme is installed on my files manager.


(https://meocloud.pt/link/812f5219-ecfb-4f38-97ef-4c529ca49c1b/Problem%21.png/)
Title: Re: SunRise
Post by: shadav on September 13, 2021, 04:42:48 PM
try installing the way I suggest above and see what happens

on a side note I did try to install it from file and did get that error, so not sure why it's doing that...but installing as I posted above I do not get that error

it's those pesky gremlins again
I'll have to take a look later and see what's different between installing by file and installing from server, what's not getting uploaded or what
because it shouldn't matter as there's nothing wrong with the theme but for some reason it appears that trying to install from file messes things up
Title: Re: SunRise
Post by: PFigo on September 13, 2021, 05:19:11 PM
(...)

(https://cld.pt/dl/thumb/812f5219-ecfb-4f38-97ef-4c529ca49c1b/Problem%21.png?size=xl&crop=false&format=png)
Title: Re: SunRise
Post by: PFigo on September 13, 2021, 05:22:19 PM
Quote from: shadav on September 13, 2021, 04:42:48 PMtry installing the way I suggest above and see what happens

on a side note I did try to install it from file and did get that error, so not sure why it's doing that...but installing as I posted above I do not get that error

it's those pesky gremlins again
I'll have to take a look later and see what's different between installing by file and installing from server, what's not getting uploaded or what
because it shouldn't matter as there's nothing wrong with the theme but for some reason it appears that trying to install from file messes things up
Ok. Will try.
Thanks
Title: Re: SunRise
Post by: SychO on September 13, 2021, 05:56:17 PM
I've repackaged the theme, should fix the problem.
Title: Re: SunRise
Post by: PFigo on September 13, 2021, 06:08:50 PM
Quote from: shadav on September 13, 2021, 04:42:48 PMtry installing the way I suggest above and see what happens

on a side note I did try to install it from file and did get that error, so not sure why it's doing that...but installing as I posted above I do not get that error

it's those pesky gremlins again
I'll have to take a look later and see what's different between installing by file and installing from server, what's not getting uploaded or what
because it shouldn't matter as there's nothing wrong with the theme but for some reason it appears that trying to install from file messes things up
It works for me :-)
Anyway something is wrong with normal installation.
I always did it directly from my pc without problems.
Thanks  ;)
Title: Re: SunRise
Post by: shadav on September 13, 2021, 06:16:46 PM
Quote from: PFigo on September 13, 2021, 06:08:50 PM
Quote from: shadav on September 13, 2021, 04:42:48 PMtry installing the way I suggest above and see what happens

on a side note I did try to install it from file and did get that error, so not sure why it's doing that...but installing as I posted above I do not get that error

it's those pesky gremlins again
I'll have to take a look later and see what's different between installing by file and installing from server, what's not getting uploaded or what
because it shouldn't matter as there's nothing wrong with the theme but for some reason it appears that trying to install from file messes things up
It works for me :-)
Anyway something is wrong with normal installation.
I always did it directly from my pc without problems.
Thanks  ;)

Quote from: SychO on September 13, 2021, 05:56:17 PMI've repackaged the theme, should fix the problem.

well thankfully sycho fixed it so it's all good now
though i'm curious what the issue was I hadn't gotten around yet to checking the two methods against each other
Title: Re: SunRise
Post by: ozgurdeveci on September 14, 2021, 05:06:30 AM
I downloaded the latest update and tried again. The problem still continues. SychO needs to fix this issue and release the 2.0.6 update.
Title: Re: SunRise
Post by: SychO on September 14, 2021, 05:47:21 AM
set it up the way @shadav described here: https://www.simplemachines.org/community/index.php?msg=4097754
Title: Re: SunRise
Post by: ozgurdeveci on September 14, 2021, 06:19:47 AM
I did but the result is the same. Can you publish an update that resolves this error?
Title: Re: SunRise
Post by: shadav on September 14, 2021, 09:00:13 AM
Quote from: ozgurdeveci on September 14, 2021, 06:19:47 AMI did but the result is the same. Can you publish an update that resolves this error?
Quote from: shadav on September 13, 2021, 01:17:13 PMif you want to pm me ftp details and admin details and link to your site and I will try to install this theme for you
the offer still stands
Title: Re: SunRise
Post by: ozgurdeveci on September 14, 2021, 09:55:19 AM
I'm sorry, but I'm getting the same error even though I did what you said one by one. I hope the new update comes.
Title: Re: SunRise
Post by: PFigo on September 16, 2021, 06:30:54 AM
I don´t know if is a theme change I need or general SMF change.

In REGISTRATION AGREEMENT and PRIVACY POLICY, I have some text still in English when I would like to have in Portuguese.
Can anyone tell me where I can correct it?

Also I need to translate some text on footer.
Where I can do it?

Thanks for any support  ;)

(https://cld.pt/dl/thumb/5ef0e5ec-4f03-4238-a8c6-7b0ce86ae339/Sem%20t%C3%ADtulo-1.png?size=xl&crop=false&format=png)
Title: Re: SunRise
Post by: shadav on September 16, 2021, 10:32:51 AM
in the themes language folder

FORUM ROOT FOLDER/Themes/SunRise20/languages

copy the files ThemeStrings.english.php and ThemeStrings.english-utf8.php
and rename them to ThemeStrings.portuguese.php and ThemeStrings.portuguese-utf8.php
then edit these two files and translate the strings

so you'll see for example
$txt['default_sr_mode'] = "Select Default Theme Mode";leave this part alone
$txt['default_sr_mode'] = translate the part between the " and "
"Select Default Theme Mode";
Title: Re: SunRise
Post by: PFigo on September 16, 2021, 11:23:09 AM
Thanks for your help but on files you say are not either text for footer or registration agreement and privacy agreement.

Title: Re: SunRise
Post by: shadav on September 16, 2021, 11:44:29 AM
not sure about the footer then, it should be in those files

and sorry as for the registration strings those aren't anything to do with the theme those should be in your themes languages I just downloaded the portuguese_pt and portuguese_brazilian and it seems that for some reason it wasn't translated
in your default theme folder's language folder

FORUM ROOT FOLDER/Themes/default/languages
find which every portugues language files you are using
the Agreement.YOURLANGUAGEINUSE.php (and the utf-8 versions as well) and you will need to translate those strings
Title: Re: SunRise
Post by: PFigo on September 17, 2021, 07:10:04 PM
I already have permission by email from SychO but he has no time to help me at this moment.

This is not a complain but just a help request from someone that can point me the way (file or files):
- in footer I need to translate "Terms and Policies" to Portuguese
- in footer I need to edit theme author details

Above categories (Topics groups) I have "General Categories" in English.
Would like to change it to Grupos (Groups) or Tópicos Gerais (General Topics).
Where to do it?

Thanks
Title: Re: SunRise
Post by: SychO on September 17, 2021, 07:51:53 PM
Quote- in footer I need to edit theme author details

You can remove it, not edit it.
Title: Re: SunRise
Post by: Antechinus on September 17, 2021, 07:57:36 PM
Quote from: PFigo on September 17, 2021, 07:10:04 PMI already have permission by email from SychO but he has no time to help me at this moment.

This is not a complain but just a help request from someone that can point me the way (file or files):
- in footer I need to translate "Terms and Policies" to Portuguese
Code (index.english.php) Select
Line 109: $txt['terms_and_policies'] = 'Terms and Policies';So assuming you have Portugese languages files installed it should be on Line 107 of index.portugese.php (or whatever the file is called).

Quote- in footer I need to edit theme author details
Note sure about that one.

QuoteAbove categories (Topics groups) I have "General Categories" in English.
Would like to change it to Grupos (Groups) or Tópicos Gerais (General Topics).
Where to do it?
That doesn't appear to be a standard language string for 2.0.18, or not that I can find. Has anyone changed the string in the admin languages editor?

Alternatively, can you screenshot exactly where it is appearing?
Title: Re: SunRise
Post by: PFigo on September 18, 2021, 03:55:23 AM
Quote from: Antechinus on September 17, 2021, 07:57:36 PM
Quote from: PFigo on September 17, 2021, 07:10:04 PMSo assuming you have Portugese languages files installed it should be on Line 107 of index.portugese.php (or whatever the file is called).
Thanks. It work.
Knowing were it is, is easy  ;)

For:
- Translation "GENERAL CATEGORY" above categories to Portuguese
- Editing footer
I have to keep searching  :)
Title: Re: SunRise
Post by: PFigo on September 18, 2021, 04:03:39 AM
Regarding "GENERAL CATEGORY" translation I need you can see on image the location of it.
I alternate between themes and same thing. So I guess is not a change to make on theme!

(https://cld.pt/dl/thumb/86e33e10-d134-4847-ab46-0a1bcd26126d/Issues2.png?size=xl&crop=false&format=png)
Title: Re: SunRise
Post by: PFigo on September 18, 2021, 12:30:22 PM
Well after "locking" better I found out that when entering on Board Managment I can edit name.

So just missing footer edition...any ideas?