ellmetha / django-machina

A Django forum engine for building powerful community driven websites.
https://django-machina.readthedocs.org
BSD 3-Clause "New" or "Revised" License
592 stars 126 forks source link

Is it possible to create multiple forums for multiple objects dinamically with this? #154

Open goromachine opened 5 years ago

goromachine commented 5 years ago

A little of explanation about what I need to do:

A user will create a product, and with that product I want to create a forum to talk about it. This forum will require multiple threads (with permission system applied), and then on those threads people will be able to create posts and then make replies (If possible with a "@username" mentioning system, if not I'll implement it).

And having that, my application will be creating a forum for each product. This forums are separated, so if you enter one product, you'll only see that forum and the related threads and posts.

What I can't do is have one forum for the whole page.

Please, could anyone tell me what can I implement about my needs by using this package?

Thank you very much.

ellmetha commented 5 years ago

👋

In theory what you want to do could be possible if you're ready to dig into the codebase of django-machina and to override multiple parts of the module. But there is no "built-in" way to do what you are looking for: django-machina only provides a generic way to implement a "standard" forum-like application in a Django app.

goromachine commented 5 years ago

Okay, thank you for your response. It would be a good feature for django-machina. I don't think it would be too much, just give the developer the way of linking a forum to a model. (something like a forumField() with a fk/O2O/M2M relation)

Doing that you'll have the way of seeing all the forums together (like now) or filter them by the model you linked.

I'm very busy on my actual project so I did by myself a very simple forum system using what I said and works great. But I would like to use Django-machina because all of it's features. What do you think about adding this feature?

ellmetha commented 5 years ago

I won't have time to work on such feature and I don't plan to add so much new features to the module itself actually. Of course I'm open to review any PR for this kind of features. 😉