Advertisement:

Author Topic: SunRise  (Read 58261 times)

Offline Sectomy

  • Semi-Newbie
  • *
  • Posts: 87
Re: SunRise
« Reply #320 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

Offline propyls

  • Newbie
  • *
  • Posts: 5
Re: SunRise
« Reply #321 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

Offline SychO

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,900
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: SunRise
« Reply #322 on: July 18, 2020, 10:36:03 AM »
It's the $normal_buttons array in Display.template.php that you're looking for
Take the initiative

Offline propyls

  • Newbie
  • *
  • Posts: 5
Re: SunRise
« Reply #323 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.


Offline SychO

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,900
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: SunRise
« Reply #324 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.
Take the initiative

Offline propyls

  • Newbie
  • *
  • Posts: 5
Re: SunRise
« Reply #325 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.




Offline SychO

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,900
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: SunRise
« Reply #326 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.
Take the initiative

Offline propyls

  • Newbie
  • *
  • Posts: 5
Re: SunRise
« Reply #327 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?



Offline SychO

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,900
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: SunRise
« Reply #328 on: July 18, 2020, 12:35:50 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.
Take the initiative

Offline propyls

  • Newbie
  • *
  • Posts: 5
Re: SunRise
« Reply #329 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!


Offline ForgetfulGoat

  • Newbie
  • *
  • Posts: 3
Re: SunRise
« Reply #330 on: September 14, 2020, 01:21:29 AM »
Awesome theme, but for some reason guests can't view any button images.

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.
« Last Edit: September 14, 2020, 01:51:07 AM by ForgetfulGoat »

Offline SychO

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,900
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: SunRise
« Reply #331 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.
Take the initiative

Offline ghulst

  • Newbie
  • *
  • Posts: 6
Re: SunRise
« Reply #332 on: September 23, 2020, 04:37:49 AM »
@SychO I just emailed you a zip with a Dutch translation. ;)

Offline SychO

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,900
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: SunRise
« Reply #333 on: September 23, 2020, 06:10:48 AM »
much appreciated :) will be included in the next updated package
Take the initiative