this addon is your home page will look similar as https://discuss.flarum.org/
Download (https://github.com/interlab/elk-flarum-style/archive/master.zip) | Github (https://github.com/interlab/elk-flarum-style) | MIT License@ahrasis
go here ;D How to Use in ElkArte 1.1:
Home -> Administration Center -> Features and Options -> Layout
Select the action to show on the front page: Flarumstyle addon
I'm here already. :D
, awesome share. :thumbsup:
Any chance that someone can use a Font Awesome icon instead of plain square on listing ?
Take a screenshot, I do not understand.
"Load More" button is still not done, but I had already done in other modules, so the difficulty will not be.
I can see that this is now version v0.2.1 at your github. Great!
I haven't tried it yet and will do soon.
Anyway, have you fixed its look in mobile view yet?
No, mobile version does not work as the original.
From what I can see, they (flarum) simply hide the list of boards into a button [All Discussions] in mobile view and that when it is clicked, it listed all of them. I think that can be achieved using css or jquery + css.
For the menu, as far as I knew, they are using bootstrap to create that hamburger menu which if clicked, will slide the main menu. I am not so sure if we can do that using what we have now (from our ElkArte default).
Anyway, none of these are necessary to me. What you have done so far is already great. Thank you for the addon.
Hadn't seen this before, great stuff.
Please i need help my boards list are not functioning, instead to take me to board's topics (Link-4414)
Which version are you using for the addon?
in the console there are errors? I need to see them
You need to use the latest version of this add-on.
Sorry for the late reply, I am using version 0.2.3
Search engine friendly URLs must be Off. I will try to fix it.
Fixed in v0.3.0
May I have your board theme.
It's awesome and really great with full width and simple, clear and easy reading layout.
[theme] Mostly Blue (http://www.elkarte.net/community/index.php?topic=3682.0)
It's version 0.4.2 now. This is growing very fast behind my radar. Congratulations!
Now is version 5.0 and supporting 1.1? Great job.
How do I show posts only from selected topics? Now the main page of the forum shows posts from all topics. There is no option to display topics in the settings.
do you want to show topics by topic IDs or by forum / forums ID?
You can do this yourself by tweaking the sql code a little
do you need to show a list of names or titles with the message text? look towards the simple portal - https://www.elkarte.net/community/index.php?topic=1399.0
The problem is that on my forum, the list of recent responses shows posts from the "forum Administration" section. But this does not need to be shown on the main page of the forum.(Link-6564)
The SMF engine has a mod Hiding posts from recent posts
. There you can specify which topics to display the latest messages on the main page of the forum. Can you add the same selection of themes to the addon Flarum Style?(Link-6562)
The addon is interesting. But to make it look like a modern Flarum Style and meet the requirements of Google for mobile devices, the addon needs a small update.
I just try it and i like : thank you.
Is there a simple way to translate the addon ?
I got it !
The files for the french translation
i have a lot of errors, 184 pages, always the same errors :
Mercredi 20 Janvier 2021, 10:14:39
Type d'erreur: Non défini
Notice: Undefined index: assist
Mercredi 20 Janvier 2021, 10:14:39
Type d'erreur: Générale
Notice: Trying to access array offset on value of type null
fixed for ElkArte 1.1
Thank you : you have made it very fast !
And it works fine.
i have a different problem now, with icons and the links Categories and All discussions doesn't work.
I need to connect with an account, not neccessary an admin, and everything works, a time, even when i'm disonnected.
Press F12 -> Console, and take a screenshot. And show it here.
it seems that it's only on http : https seems always ok.
On http fontawesome icons can't be access.
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 :
Do you think it is possible to display the icon choosen by the author of the topic like in Categories ?
you need to redirect from http to https
do you want to always display the icon of the first post of the topic?FILE:/(...)/sources/subs/FlarumStyle.subs.phpFIND:
IFNULL(lt.id_msg, IFNULL(lmr.id_msg, -1)) + 1 AS new_from') . ', SUBSTRING(ml.body, 1, 384) AS body, ml.smileys_enabled, ml.iconREPLACE:
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
Yes, i want it always.
I made the change, just one letter, and it works as i want.
Do you think it can be an option to choose in FlarumStyle parameters ?
coming soon to Github
I will update the french translation.
I made the translation on github : i don't know how it works after that.
I merged your branch. Thanks for the help!
Update the addon. An important security fix.