Please or Register to create posts and topics.

Allow users to delete their own posts?

Allow users to delete their own posts or topics? Is this possible?

gaissa has reacted to this post.
gaissa

Hello @gaissa

Maybe I add this one day in combination with advanced permission settings, but it will be not in the near future. But anyway: I dont think its a good idea that normal users can delete their own topics. This is something a moderator should do in order to prevent abusing this functionality and to prove certain behavior.

  • An user could create hundreds of spam topics, delete them after a while so it looks like nothing happened
  • With notifications enabled this can be used for creating mass of mails while the author can remove the created topic immediately after it (hidden spam)
If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Allright. For smaller and closed forums it could be a workable feature 🙂 Up to admin to use it. Could I create it myself without too much fuzz? I am familiar with WordPress programming, but had a little brake.

Hello @gaissa

You can check the file includes/forum.php. In the functions remove_post/delete_topic you have to remove the AsgarosForumPermissions::isModerator check.

In the functions show_post_menu/showTopicMenu you have to put the delete-logic from the AsgarosForumPermissions::isModerator check as well.

If you have a little bit knowledge in PHP it should be very easy. 🙂 But keep in mind that you have to apply those changes again after an update (there will be one in the next 24 hours). When I have time to implement an advanced permissions configuration, those changes will be manageable from the admin-interface.

gaissa has reacted to this post.
gaissa
If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!
Quote from Asgaros on September 3, 2018, 10:56 am

Hello @gaissa

You can check the file includes/forum.php. In the functions remove_post/delete_topic you have to remove the AsgarosForumPermissions::isModerator check.

In the functions show_post_menu/showTopicMenu you have to put the delete-logic from the AsgarosForumPermissions::isModerator check as well.

If you have a little bit knowledge in PHP it should be very easy. 🙂 But keep in mind that you have to apply those changes again after an update (there will be one in the next 24 hours). When I have time to implement an advanced permissions configuration, those changes will be manageable from the admin-interface.

Thanks a lot 🙂

Asgaros has reacted to this post.
Asgaros