EatEmAll / django-djeddit

Minimalistic Reddit clone developed as a Django reusable app
http://eatemall.pythonanywhere.com
Other
42 stars 13 forks source link

Feature request: Topic grouping like in good old forums since we have a forum approach for topics #10

Open Zerokami opened 6 years ago

Zerokami commented 6 years ago

Since Djeddit doesn't have reddit style user topic creation and is like a forum we need to have the features forums have.

The first thing we see when we enter a forum is grouping of topics. I have attached images for reference.

The links wouldn't change for topics and posts and only the home layout would change. This is the way forum software do it and we also don't want to break backlinks to the djeddit sites people are running.

For example for a webmaster forum or djeddit instance we would have:

Here Facebook, Google Plus, Twitter etc are Topics. They are grouped under Social Media Marketting which is a TopicGroup

I will try to implement this myself, but I'd like to hear your opinions on how to do it without breaking existing djeddit instances after upgrade.

I'm thinking we can have a ForeignKey or ManyToMany for topic Group depending on if we want to allow the same topic in mutliple groups or not.

The topics with Groups are displayed first and if they have no group, then they are displayed in bottom.

If no topic has a group, it'd look like djeddit looks now.

image

XDA has a good layout we can implement image

Zerokami commented 6 years ago

I checked out Phbb and they seem to be giving an option to select parent for topics(forums in Phbb) which is a category type.