Notifications
Clear all

Suggestion Members who deletes their account (e-mail for administrator ou webmaster)

4 Posts
2 Users
0 Reactions
104 Views
Posts: 7
Topic starter
(@reitonas)
Active Member
Joined: 11 months ago

Hello,

Is there a way to be notified by email (administrator ou webmaster) or otherwise when a member delete its account?

Β 

We had nicknames: anonymous and messages that disappeared in foro.

Β 

Apparently he deleted its account (it took a long search to find it) in one click.

Β 

Thank you very much.

3 Replies
Sofy
Posts: 4802
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi

You can setΒ [Hard delete]Β option to let users delete all their data as well:

Β 

The doc:Β  https://wpforo.com/docs/wpforo-v2/settings/login-registration/#user-delete-method

If you want to remove the option for users to delete their accounts, use the hook code below:

add_filter( 'wpforo_can_user_self_delete', '__return_false' );

Here’s a helpful article on safely adding custom code in WordPress:Β Β  https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/

Reply
2 Replies
(@reitonas)
Joined: 11 months ago

Active Member
Posts: 7

@sofy THANKS . Administrator or webmaster are not notified when members deletes their account.

It was a suggestion. The forum is very good overall. Super forum

Β 

Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 7 years ago

Support Team
Posts: 4802

@reitonasΒ 

I've already asked the developers to add this feature to our to-do list. It will be implemented in a future version of wpForo (no ETA at this time).

Reply