Skip to main content
[addon] Flarum Style Started by inter · · Read 45174 times 0 Members and 3 Guests are viewing this topic. previous topic - next topic

Re: [addon] Flarum Style

Reply #30

Quote from: augras – Hi,
it seems that it's only on http  : https seems always ok.
On http fontawesome icons can't be access.

you need to redirect from http to https



Quote from: augras – Hi @inter,
I don't know if it is normal or not, i think no :).
I'm wilth elkarte's last patch 1.1.7.
When you make a post you can choose an icon : in Categories this icon is this one from the first post by the topic author, but Flarum displays this one from the last post, and in fact it's always the same, the icon by default.
I tried to download a screenshot but it doesn't work (png 42.42 kb).It works now :
Screenshot 2021-04-03.png
Do you think it is possible to display the icon choosen by the author of the topic like in Categories ?
Philippe


do you want to always display the icon of the first post of the topic?

FILE:
/(...)/sources/subs/FlarumStyle.subs.php

FIND:
Code: [Select]
IFNULL(lt.id_msg, IFNULL(lmr.id_msg, -1)) + 1 AS new_from') . ', SUBSTRING(ml.body, 1, 384) AS body, ml.smileys_enabled, ml.icon

REPLACE:
Code: [Select]
IFNULL(lt.id_msg, IFNULL(lmr.id_msg, -1)) + 1 AS new_from') . ', SUBSTRING(ml.body, 1, 384) AS body, ml.smileys_enabled, mf.icon
Sorry for my English

Re: [addon] Flarum Style

Reply #31

Yes, i want it always.
I made the change, just one letter, and it works as i want.
Thank you.
Do you think it can be an option to choose in FlarumStyle parameters ?

Re: [addon] Flarum Style

Reply #32

coming soon to Github
Sorry for my English

Re: [addon] Flarum Style

Reply #33

Great.
I will update the french translation.

Re: [addon] Flarum Style

Reply #34

I made the translation on github : i don't know how it works after that.

Re: [addon] Flarum Style

Reply #35

Quote from: augras – I made the translation on github : i don't know how it works after that.
I merged your branch. Thanks for the help!
Sorry for my English

Re: [addon] Flarum Style

Reply #36

:)

Re: [addon] Flarum Style

Reply #37

Update the addon. An important security fix.
Sorry for my English

 

Re: [addon] Flarum Style

Reply #38

Thanks for the addon.
How can I show topics like flarum like the frontpage, in other places on the forum, like as in the board index, so all listing is like flarum.