ElkArte Community

General => Chit Chat => Topic started by: Jorin on August 08, 2016, 06:02:51 am

Title: Flarum
Post by: Jorin on August 08, 2016, 06:02:51 am
The admin of a board I am registered thinks about leaving SMF and using Flarum (http://flarum.org/) in the future. Flarum looks really nice though! What do you think about it? It seems to be totally different to board software I know like SMF or ElkArte.  :o

I will surely test it, the admin installed a test board for us.  :)
Title: Re: Flarum
Post by: radu81 on August 08, 2016, 09:09:00 am
take this into consideration:

There are a few things that you will need to have set up in order to run Flarum:
  • A web server: Apache (with mod_rewrite), Nginx, or Lighttpd
  • PHP 5.5+ with the following extensions: mbstring, pdo_mysql, openssl, json, gd, dom, fileinfo
  • MySQL 5.5+
  • SSH (command-line) access
Title: Re: Flarum
Post by: ahrasis on August 08, 2016, 09:54:35 am
I already have some sort of that idea and I think a good coder can do that via addon. It similar to recent post or recent topic or recent replies only they are put on the front page, ajaxify, simple css etc.
Title: Re: Flarum
Post by: meetdilip on August 08, 2016, 09:58:43 am
Sorry to be a spoil sport. Isn't it bad to discuss another ( competing ) product on a forum's official community ?
Title: Re: Flarum
Post by: emanuele on August 08, 2016, 11:09:36 am
Quote from: meetdilip – Sorry to be a spoil sport. Isn't it bad to discuss another ( competing ) product on a forum's official community ?
Why should it be?
Are we (the community as a whole) afraid that people will jump the ship just because they read "Flarum" here? To me they are free to change, I'm not here to tie anyone to ElkArte.
I'm even available to discuss the use of OpenImporter to migrate from and to Flarum.

It really boils down to what the admin is looking for.
Of course Flarum is indeed more similar to nodebb and discourse than the "classic" PHP-based solution.
Based on the feedback I got so far I've always been cautious adding such kind of features to Elk, because reading at sm.org before and here after, I always got mixed feelings about things like infinite scrolling and board-less forums (i.e. categories posts based on explicit or "automatic" tags).
But, if people reached the point where things like that are nice to have, I wouldn't be against. :D
Title: Re: Flarum
Post by: inter on August 08, 2016, 11:21:05 am
smf, flarum, phpbb, ... - all have their pros and cons




Title: Re: Flarum
Post by: radu81 on August 08, 2016, 01:53:53 pm
Agree with inter 
Title: Re: Flarum
Post by: kucing on August 08, 2016, 07:31:12 pm
before i'm using elkarte i already considered flarum, but it still alpha then. but i chose elkarte. :D

*unrelated, but i have a xenforo license and still prefer elkarte for its simplicity. last time i used it the addon system is strange, need to edit file directly. the xenforo default theme is very good though.
Title: Re: Flarum
Post by: ahrasis on August 08, 2016, 09:47:13 pm
By the way, what do you all really like in flarum? And why? That, I think are more important inputs.
Title: Re: Flarum
Post by: kucing on August 08, 2016, 11:21:33 pm
it may seem silly, the presentation is very modern for me. i'm judging only by the look of it and liking it. and if you need a discourse like forum but in php then flarum is the only way. vanilla is focusing on the hosted service.

the layout (flarum, vanilla, discourse) is very inviting for joining discussion, you know what is the latest topic just by opening the homepage. so it's very good for a forum with a narrow niche so the categories are not many or still very related. like LowEndTalk, i prefer it better because it easier to follow what's new than vpsboard with the classic layout.

this is a personal opinion. :)
Title: Re: Flarum
Post by: badmonkey on August 09, 2016, 01:47:20 pm
Admittedly the navigation is way cool!  Perhaps an Elk theme could operate in a similar fashion....hhhmmm......
Title: Re: Flarum
Post by: inter on August 12, 2016, 10:28:50 am
Can make the module "Flarum style" for ElkArte  ;D



Like? bored, something is missing
Title: Re: Flarum
Post by: emanuele on August 13, 2016, 02:45:45 pm
Nice job!
Title: Re: Flarum
Post by: meetdilip on August 13, 2016, 02:49:53 pm
Nice work @inter . Are you planning to make it available ?
Title: Re: Flarum
Post by: ahrasis on August 13, 2016, 11:52:50 pm
From my reading flarum uses mithril.js (http://mithril.js.org/benchmarks.html) which is claimed the fastest js. Are we going to use this in the future?
Title: Re: Flarum
Post by: inter on August 14, 2016, 07:46:57 am
@meetdilip don't know how it will turn out, the module is not ready yet
Title: Re: Flarum
Post by: badmonkey on August 14, 2016, 07:59:21 am
Nice work!
Title: Re: Flarum
Post by: radu81 on August 14, 2016, 08:27:28 am
nice work ;)
Title: Re: Flarum
Post by: meetdilip on August 14, 2016, 09:02:28 am
Quote from: inter – @meetdilip don't know how it will turn out, the module is not ready yet

Looks super cool
Title: Re: Flarum
Post by: Bloc on August 18, 2016, 02:58:18 pm
Quote from: inter – Can make the module "Flarum style" for ElkArte  ;D



Like? bored, something is missing

Decent attempt at mimicking Flarums look..but the small details are oh so vital in getting the perfect style.

Those who designed Flarum's look put effort into just the right paddings, decent type of icons and the impotance of text colors and even typefaces. Thats why Discourse looks unfinished(to be nice), while NodeBB(to some degree) and Flarum look "perfect".  :)

Title: Re: Flarum
Post by: meetdilip on August 18, 2016, 03:01:03 pm
Hello @Bloc . Where were you ? :P
Title: Re: Flarum
Post by: Bloc on August 18, 2016, 03:20:22 pm
Tired of getting verbal abuse lol. Not here of course! :) SMF place as usual. Someone said "get off your booty and show us"..well, I forked SMF 2.1 and plan to do that.

Elkarte is doing well I see, good progress and useful additions. I am still not too keen on its look..but thats just personal preference. I am beginning to wonder if I should rather focus on theme ideas for Elkarte, rather than SMF 2.1.
Title: Re: Flarum
Post by: meetdilip on August 18, 2016, 03:45:05 pm
Quote from: Bloc – I am beginning to wonder if I should rather focus on theme ideas for Elkarte, rather than SMF 2.1.

Why make themes for SMF ? It's a dead script :P
Title: Re: Flarum
Post by: ahrasis on August 18, 2016, 09:51:29 pm
You should focus here @Bloc especially when you come into this topic. Which means you are thinking creating something like this for us or better. :D

In anyway, it seems like flarum is loading everything via its mithrill.JS but we are mostly loading using jquery.JS (which is far slower they said).

In the meantime, I am searching on how to show avatar on recent posts / topics since we can already move them to top. Any clue or tips on this is highly appreciated.

I think I should hack into Recent.subs.php and add some avatar in there somewhere but I am not so sure about it yet. Then we can somehow call $post['poster']['avatar"] so that we can show avatar in recent posts / topics inside board index.

We can also create a tab button and put it inside the tab instead of on top so that we can display it by tab. A setting is also good so that we can decide which tab to show by default, category or recent posts / topics.

More advance depends on your imagination or you can have this flarum or other media social software as a guide. :P
Title: Re: Flarum
Post by: niloc on August 18, 2016, 10:32:02 pm
I had this same dilemma two months ago too, before I switched from SMF to Elkarte.

Imagine yourself having a giant bungalow to host your giant group of friends and future friends.

(http://www.homebunch.com/wp-content/uploads/1390.jpg)

Elkarte / SMF / Traditional Forums ↑↑↑
You welcome them to your home, showing them every room in the bungalow, all meant for different topics of discussions. Everything is way more organised, looks neater, feels cleaner. I guess to a certain extend you can call this conservative? You know, people who opt for traditional homes (which may or may not look modern)...

(http://modernhometours.com/media/2013/10/1148fisher1.jpg)

Discourse / Flarum / NodeBB / Conversation-Focused-Forums ↑↑↑
You welcome them to your home and bam they are greeted immediately with the latest few topics being discussed, upon entering. As they go deeper in your home, they get to see more and more topics. If they'd like, they can opt to proceed straight to a room simply to view certain topics of interest (tags). It's messier (relatively). But it focuses on the most important thing, the conversation at hand. And I guess you can call this progressive? You know, people who opt for innovative homes, like a fully glass-constructed home or a home where there's a giant lawn in the center, and every room is a building by its own, linked by underground tunnels (or any other similar cool concepts like that lol)...

(http://i26.tinypic.com/2lk8y01.jpg)

Facebook Groups / Etc ↑↑↑
Similar with Discourse etc, but way more to the other end of the spectrum. It's all focused on conversation, but without tools to help you organise your community, aside from a Search function which works like crap. You know, like a really messy home. :P (Just joking guys, hope no one gets offended... and hope Mark Zuck isn't here haha)



So yeah, I do want an organized home, but at the same time, I do see the benefits of progressive forums (i.e. focusing on the conversations). And Elkarte serves both purposes, because of its "Unread", "Unread All", "Unread Replies" function. SO it does cater to both the normal users and power users.  :D

But it depends on what kind of users you are having or targeting. It depends on your community as well. A school club might want a more organised traditional place, while a developer's conference might want a Facebook-logged-in, let's-get-down-to-matters-right-now kinda place. SO what kind of place do you want?

As for me, I used Elkarte in the end, and I did add on a bonus "Recent Topics" sidebar to my own forum, so it's like Discourse and Elkarte merged into one.  :D

@emanuele T.T and that's probably one of the reasons I had to hardcode the source files - not sure how to do packages / hooks / etc yet.

Lastly, regarding looks, its mostly all about theming only. You can theme a traditional forum to look super modern, and you can theme a progressive forum to look super traditional. Its the function which separates them both, so in case you are looking at Flarum because it looks cooler, then keep in mind that those are just cosmetics. Elkarte can easily look like that if you want it to. :)

And if @Bloc was here, we will have many more cool looking themes to use. hints hahahaha. :P
Title: Re: Flarum
Post by: ahrasis on August 19, 2016, 12:13:47 am
Quote from: niloc – And if @Bloc was here, we will have many more cool looking themes to use. hints hahahaha. :P

Hahaha... We all hope to see him coming sooner or later...
Title: Re: Flarum
Post by: inter on August 19, 2016, 12:43:28 am
Meanwhile on my computer



QuoteIn the meantime, I am searching on how to show avatar on recent posts / topics since we can already move them to top. Any clue or tips on this is highly appreciated.

Spoiler (click to show/hide)
Title: Re: Flarum
Post by: live627 on August 19, 2016, 04:52:45 am
Not gonna lie, that looks very clean.

Is it on Github so I can take a look?
Title: Re: Flarum
Post by: inter on August 19, 2016, 05:55:10 am
Installer is not ready yet.

GitHub (https://github.com/interlab/elk-flarum-style)
Title: Re: Flarum
Post by: ahrasis on August 19, 2016, 05:08:36 pm
Great job so far. Keep it up.
Title: Re: Flarum
Post by: ahrasis on September 06, 2016, 08:47:00 pm
@inter, I tested the addon and except for the missing tagging feature in creating new post / discussion, which I think needs its own code / template, it is working good. To note more, currently, I get no thumbnail avatar for other latest posts.

I would suggest, if possible, to add:
1. Sorting based on buddy's post i.e. if there is a buddy in a particular post, list it, otherwise, simply say, no buddy's post exists.

By the way, could you open a new topic on this addon as I think it would be proper to give feedback there than in here.  Or may be, can this topic be split to Flarum Style Addon?
Title: Re: Flarum
Post by: inter on September 07, 2016, 03:13:20 am
The button to create a new theme now works.

You want to sort by groups of users?
You want to sort your messages only?

I have avatars working.

Yes, this topic should be split.

p.s. difficulties with translation I don't understand  :(

Title: Re: Flarum
Post by: ahrasis on September 07, 2016, 05:13:36 am
1. I mean other than latest posts, i.e. top, newest etc, I see no avatar.

2. I mean ability to list buddy's posts.

3. Ability to list membergroup's posts is nice to have too.
Title: Re: Flarum
Post by: inter on September 07, 2016, 05:19:17 am
you are using an older version.
latest version here: https://github.com/interlab/elk-flarum-style
Title: Re: Flarum
Post by: ahrasis on September 07, 2016, 06:46:50 am
Thank for the update. I will test it soon.
Title: Re: Flarum
Post by: Spuds on September 07, 2016, 08:32:53 am
Nice work @inter !!
Title: Re: Flarum
Post by: ahrasis on September 15, 2016, 09:38:49 pm
Ok @inter. I tested the addon again and this time it works smoothly. Thank you very much. :D

I have some idea if you wanna implement regarding the start discussion button. I'd suggest that in the all discussions (main) page, if the button is clicked, user will be ask to choose the board to post to. But my guess is you may already work on that now.  ;)

Now I am thinking whether a private post feature or addon will go nicely with this. What I am thinking is, the post should not be listed nor viewable if it is restricted to a group or buddy; or may be listed but not viewable.

Or may be I should get involve in this. Hurrmmm...
Title: Re: Flarum
Post by: inter on September 16, 2016, 04:04:27 am
Click on any forum on the home page and then the "Start a Discussion" button.
The theme will be created in the selected forum.

Title: Re: Flarum
Post by: ahrasis on September 16, 2016, 11:09:17 am
Thanks for the tip as it works good.

I noted that if a board is selected, then we go back to all discussions, starting new discussion will automatically directed to that board. Is it possible to copy flarum style where we have to choose our board during the posting itself?
Title: Re: Flarum
Post by: inter on September 16, 2016, 12:03:28 pm
Can make a window with a choice of forum
Title: Re: Flarum
Post by: emanuele on September 16, 2016, 02:49:34 pm
If you need, the default posting page has already the option to show a dropdown with the list of boards of the forum, have a look in Post.controller.php to see what is needed, just after:
Code: [Select]
$context['show_boards_dropdown'] = true;
Title: Re: Flarum
Post by: Jorin on September 17, 2016, 01:40:05 am
Maybe we should split this into a topic about Flarum and one about the Flarum style ElkArte theme?
Title: Re: Flarum
Post by: ahrasis on September 17, 2016, 02:11:08 am
Quote from: emanuele –
Code: [Select]
$context['show_boards_dropdown'] = true;
Good tip. May be @inter can integrate that in his addon.

Quote from: Jorin – Maybe we should split this into a topic about Flarum and one about the Flarum style ElkArte theme?
Yup. Agreed. Suggested that already.