Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

How Can I Allow Members to Delete ONLY THEIR OWN Posts? (V2.1)

Hi. Is there a way in Vanilla 2.1 to allow community members to fully Delete ONLY THEIR OWN posts?

I've seen some discussion about this in the forums here but most of the discussions were fairly old, and focused on suggestions to make it work through Vanilla 2.0.18, with indications that the ability to set this through Roles & Permissions would be available through 2.1. However, when I allowed members the ability to delete, it allowed them to delete all posts (Not just theirs) which is obviously not what I want.

I know they can just Edit their existing posts and comments by default, and I'm fine with comments remaining Edit-only, but with the type of community I'm trying to establish, it would be a lot better and easier for all parties (managers, moderators and members) if members can outright delete any posts they made, and then post new, so any advice would be appreciated. Thanks.

Comments

  • peregrineperegrine MVP
    edited June 2014

    members can self delete their own comments within the editing period with this little know config statement.

    $Configuration['Vanilla']['Comments']['AllowSelfDelete'] = TRUE;

    I don't know if there is anything built in that allow self-deletion of a Discussion, since it would need to see if there are other comments by other people.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.