Allow users to delete their own posts?
Quote from Asgaros on September 2, 2018, 10:25 pmHello @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)
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)
Quote from gaissa on September 3, 2018, 9:42 amAllright. 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.
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.
Quote from Asgaros on September 3, 2018, 10:56 amHello @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.
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.
Quote from gaissa on September 3, 2018, 10:59 amQuote from Asgaros on September 3, 2018, 10:56 amHello @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 🙂
Quote from Asgaros on September 3, 2018, 10:56 amHello @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 🙂