News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

NightBreeze

Started by SychO, July 25, 2018, 11:31:03 AM

Previous topic - Next topic

Heksa

Thanks for your answer. Another question: is there a way to translate the labels on the top left corner dropdown menu (the one with user picture)? I applied tranlation files for the rest of the site but that part wasnt translated so i assume the dropdown menu is theme specific.

Kindred

there should be a themes.english.php (I think... or if not that name, something similar) in the theme specific /languages directory
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

suduman

Nice theme. Requesting for a small modification. It would be great if you can change the background color of code block since it is hardly visible or kindly let me know how to change that.

SychO

Quote from: suduman on August 01, 2018, 12:31:14 AM
Nice theme. Requesting for a small modification. It would be great if you can change the background color of code block since it is hardly visible or kindly let me know how to change that.

Yes that appears to be a mistake from my part, for some reason I didn't save the changes I had made to the bbc elements, I'll have to fix it in my next update

If you wish to change it yourself, open the CSS file (index.min.css) and look.for code.bbc_code
Edit the background
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

suduman

Quote from: SychO on August 01, 2018, 12:47:44 PM
Quote from: suduman on August 01, 2018, 12:31:14 AM
Nice theme. Requesting for a small modification. It would be great if you can change the background color of code block since it is hardly visible or kindly let me know how to change that.

Yes that appears to be a mistake from my part, for some reason I didn't save the changes I had made to the bbc elements, I'll have to fix it in my next update

If you wish to change it yourself, open the CSS file (index.min.css) and look.for hxxp:code.bbc [nonactive]_code
Edit the background

Thank you for the reply.

rho_simafo

Don't know if this is the right place for it: For this great theme I have prepared a german informal language file ThemeStrings.german_informal-utf8.php. Feel free to use it

SychO

Quote from: rho_simafo on August 02, 2018, 10:26:19 AM
Don't know if this is the right place for it: For this great theme I have prepared a german informal language file ThemeStrings.german_informal-utf8.php. Feel free to use it

Thank you very much, this will be included in the next update
Appreciated
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

bod22

One of the best themes I've ever seen. It looks amazing. I have only one question. Where should I search for the change of its width? I don't see it in theme options.

SychO

I didn't add an option to change that, so if you wish to change it open index.min.css look for main{
It has a width property set to 96% that's what you want to edit
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

bod22

That's what I needed, thank you very much.

bod22

Sorry for a double post but I have two more questions.

First, I have a problem with reputation system in this theme. I'd like to have only positive reputation, so only thumb up under the avatar like in my second theme. However here with the same settings there's also thumb down icon and I can give minus points. Is it possible to hide it?

Second, I set up a proper default avatar and it is shown everywhere apart from the list of topics inside boards. Where should I put it and which name?

Kindred

you would have to modify the reputation mod as it was applied in this theme, the same way you modified it in the default theme (in other words, that's a mod question, not related to this theme at all)



second question,  the default avatar for this theme is /Themes/NightBreeze20/images/default_avatar.png
If you are using the default avatar mod instead, then see the answer to the first question.... :D
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

SychO

And to add to what Kindred said, Incase you're talking about the karma system and not a mod, I'll take a look at it when I can, although I didn't change any php tests related to it, just added the thumbs.
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

bod22

Quote from: Kindred on August 06, 2018, 09:31:03 AM
you would have to modify the reputation mod as it was applied in this theme, the same way you modified it in the default theme (in other words, that's a mod question, not related to this theme at all)

If I remember correctly I didn't change anything in reputation mod in my previous theme. I simply chose overall reputation and left thumb down section blank. That's why in my old theme it shows only "+" as it is written in thumb up section,  and there's no other option. In this theme I have the same settings but two options are possible.


second question,  the default avatar for this theme is /Themes/NightBreeze20/images/default_avatar.png
If you are using the default avatar mod instead, then see the answer to the first question.... :D
[/quote]

I know where it should be, and I have it in that folder. It shows everywhere but not in the boards. It looks like this:

https://imgur.com/c6d39b65-5018-4189-b117-feba95a0286a


Kindred

imgur image doesn't exist...

However, if the file is in that location, then it would have to be a cache issue.
please include a URL which demonstrates your problem?

as for the first issue.
Are you using the basic karma or are you using the reputation mod?
Also, please include a URL which demonstrates your problem?

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

bod22

I managed to deal with the avatars. :) It turned out that one of my mods (Avatars on Board) caused this issue. I turned it off and everything works great.

The second issue still need to be solved. I use the basic karma. As I said I only want to have positive feedback on my forum. The settings are set up as in the screen. They are ok because they work on other themes.



I think the problem is that I write the name, and this theme shows images of thumbs, not words. I checked it with SychO's second theme which is quite similar and there, I have what I want, so only the name - "Helped" which gives +1 point to reputation. I can't provide the link though since I can't set this theme as a default yet.

Kindred

right. I see what you are saying...

and this is not a bug...   you actually took advantage of a bug in the main system to avoid the negative karma option...

because - in SMF core, karma is very basic. You only have three options.
off
on - display total only
on - display pos and neg separately

by using a blank for [smite], you misused the system to "hide" the smite option...   
the fact that this theme uses thumbs-up and thumbs-down means that the bug which allowed you to misuse the system is not triggered. :)



So, Sycho's theme does nothing wrong in this case.
You would have to manually remove the thumbs down/negative karma link from Display.template.php
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

SychO

^yeah, removing the text doesn't disable the ability to smite a user, it's just a trick which is why it doesn't work everywhere, like this theme
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

bod22

Quote from: Kindred on August 09, 2018, 09:46:08 AM
So, Sycho's theme does nothing wrong in this case.
You would have to manually remove the thumbs down/negative karma link from Display.template.php

Thank you for you help. I removed it and I have only thumb up. Now everything looks great.

Kindred

You do realize that someone who knows how the link is constructed can still manually apply negative karma?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: