25-Mar-2023, 11:57 PM
This is coming from another post of mine, where I would find it extremely useful to limit a user to only one top-level post per user per page.
Reasoning - I have a site where people can leave a review of an item, and I don't want them to be able to leave more than one review. I'm happy for them to reply to other top-level posts. The way I envision this feature is that if they haven't commented on the page, they can. Once they have commented though, unless they're replying to someone else, they get a popup like "You have already commented/reviewed on this"
I've worked through a few hacky solutions where I remove the form through javascript - but this prevents replying to a post, and I have also looked into deleting multiple posts by the same user for the same page from the database... but this isn't ideal. I'd rather have a prevention than an after-the-fact fix.
Reasoning - I have a site where people can leave a review of an item, and I don't want them to be able to leave more than one review. I'm happy for them to reply to other top-level posts. The way I envision this feature is that if they haven't commented on the page, they can. Once they have commented though, unless they're replying to someone else, they get a popup like "You have already commented/reviewed on this"
I've worked through a few hacky solutions where I remove the form through javascript - but this prevents replying to a post, and I have also looked into deleting multiple posts by the same user for the same page from the database... but this isn't ideal. I'd rather have a prevention than an after-the-fact fix.