flarum-blog icon indicating copy to clipboard operation
flarum-blog copied to clipboard

Separate table for blog

Open s1-ranjan opened this issue 4 years ago • 3 comments

As of now, the blog plugin is using the discussions table to render blog post, it would be nice if blogs are been moved to a separate table

s1-ranjan avatar Apr 20 '21 02:04 s1-ranjan

Thank you for your feedback.

Due to the fact we use discussions as 'blog' posts, we can use the advantages of the following extensions: Tags, Subscriptions, Lock, Flags, Likes, Mentions and of course the comment sections of discussions.

It also makes the Blog extension very extensable as it can automatically implement features that were meant for discussions.

Would there be any reason why a seperate table would be prefered? Please let me know :)

jaspervriends avatar May 29 '21 22:05 jaspervriends

While looking at the profiles page it's treated blogs and discussion as a discussion so it's would be good to go with a separate table, with this separate table this issue can be removed by making a separate subtab in the profile page for the blog, well regarding the extensions that are been meant for the discussion they can be extended too for the blog too.

s1-ranjan avatar Jun 19 '21 09:06 s1-ranjan

I don't think you need a separate table to do that, I am sure if the feature were desired they could ad a tab and show blog posts there, filtered separated from discussions. Like Jasper said, if it is a separate table this means they can't leverage existing extensions that use discussions. By moving to a separate table I imagine you are going to lose all this functionality.

Tags, Subscriptions, Lock, Flags, Likes, Mentions and of course the comment sections of discussions.

I like your idea, but I don't think it is related to separating DB tables. Perhaps you can submit a separate feature request for it.

ctml91 avatar Jun 19 '21 15:06 ctml91