We just had a user today who chose to click the "delete account" button from their profile, which resulted in their entire account being deleted. They now regret doing it, and it seems there's nothing I can do since their entire account was deleted without my knowledge as Admin. I honestly had no idea that this was even turned on by default for users. I think this shouldn't be turned on by default for users, for this very reason. I can't seem to find anything in the settings to disable this. What's the best way to do this?
Hello,
You can use the CSS code below:
#wpforo #wpforo-wrap .wpforo-profile .wpforo-user-tools span.wpf-ab-delete {display:none}
Insert the code in the Custom CSS code textarea located in the following tab:
For the Single Board Forum:
- Dashboard > wpForo > Settings > Colors & Styles
Multi-Boards Forum:
- Dashboard > [Your Board Name] > Settings > Colors & Styles tab
- Dashboard > [Your Board Name] > Settings > Colors & Styles tab
For example:
- Dashboard > EN Forum > Settings > Colors & Styles tab
- Dashboard > FR Forum > Settings > Colors & Styles tab
Hi @novedddd,
You can also disable the Delete Own Account button using this hook code in Code Snippets plugin or directly in your child theme's functions.php file:
add_filter('wpforo_can_user_self_delete', '__return_false' );