akeeba / engage

Akeeba Engage - Comments for Joomla!™ articles made easy
GNU General Public License v3.0
16 stars 10 forks source link

Rate the Comment/Article #139

Closed Jumbo125 closed 2 years ago

Jumbo125 commented 2 years ago

Is it possible to rate the comment or the article? maybe a integer or a star icon or something else. thank you

Jumbo125 commented 2 years ago

i can create a rate-button by myself. But i don't know in which file the html tag (formular) is written and where the code part is, who detect the input

nikosdion commented 2 years ago

Rating the articles is a built–in Joomla feature — at least in Joomla 3, I have not had the chance to explore whether it's still there in Joomla 4. Do note, however, that it's a very simple system which allows for abuse and doesn't allow for moderation of the votes.

Rating comments is not possible and I am really not interested in implementing it. While it's trivial keeping a running tally of upvotes / downvotes or number of 1, 2, ... 5 star ratings and display them as–is or as an aggregate form (like Joomla does for articles) it fosters abuse. Fighting abuse requires moderations which necessitates storing at the very least the date / time, IP, user agent and user ID of each vote. This adds a massive overhead to the database data, requires building an entire moderation experience and increases the workload of human moderators.

By the time you add these features it's no longer a simple core content commenting extension, it's trying to become a community management extension like EasySocial, Community Builder, JomSocial and so on. I am not here to reinvent the wheel or lose myself in scope creep. I am here to close the gap between no comments at all and very complex solutions with a lot of overhead. Ideally, Akeeba Engage shouldn't exist at all; it should be a core feature. It's something we've talked about for over a decade now. I wrote Akeeba Engage to prove it's possible without a multitude of core hacks, hoping that at some point I might be able to contribute it as a core feature.

So, no, comments rating isn't going to be implemented as long as this is called Akeeba Engage. If it ever becomes a core feature this decision will no longer be up to me and I see no reason why a misguided developer couldn't implemented in the same naïve way article rating is already implemented in Joomla.

Jumbo125 commented 2 years ago

okay. thank you for your detailed answer! I'm study if i really should implement the rating feature, since i had read your answer.