Hello,
is it possible to extend the user and role management so that other functions can also be authorized? In the concrete case it is about the function to delete a user including posts. My solution was to create a wordpress role "wpf_delete_user_dashboard" and adjust it in the Members.php.
Members.php:281: return (current_user_can('wpf_delete_user_dashboard')
But also other functions are hardcoded linked to the "administrator" role
Hi @nick81,
The User Deletion Depends on the User Role. If the User Role is set to admin and the Usergroup has the needed can's the user would be able to delete other Users.
I dont want to set a user/group to the admin role. Board-mods should delete members with posts, but at the moment only admins can do this.
Another solution could be, if the user can delete itself with (or without) its own posts. Do you have a solution for that? The wordpress plugin "delete me" only deletes the user and wordpress posts, but wpforo posts are set to anonymous