Difference between revisions of "Deleting Profile"

(Enabling the option)
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==Overwiew==
 
As a site admin, you can allow users to ''delete'' their user account. This action however, requires Administrator action, because in Joomla environment, only the site admin can delete user completely. Joomla! dont have the Front end facilities to allow such action, therefore when user ''delete'' account, it is actually only blocked, waiting for admin to complete the deletion process.
 
  
===Enabling the option===
+
==Overview==
Navigate to the site backend and from '''Components''' dropdown menu select '''JomSocial''' then '''Configuration'''<br/>
+
As a site Admin, you can allow users to '''delete''' their user accounts data. from Jomsocial 4.5.4  to add profile date deletion option for GDPR, we changed the Delete profile button action.
Under '''Site''' pane, you will see the settings regarding registration. and in it, '''Allow Profile Deletion''' option, which is enabled by default
+
Joomla Profile Delete action, however, requires Administrator action because, in the Joomla environment, only the site Admin can delete a user completely. Joomla doesn't have the Frontend capabilities to allow such actions; therefore, when a user '" delete" an account, it is actually only removed his community profile data, and the profile remains active in Joomla because Jomsocial cannot delete the 3rd party extension data.
 +
To Get More control you can JA GDPR Extension from JoomlArt.
 +
===Enabling the Option===
  
[[File:Deleteprofileoption.png]]
+
# Navigate to the site Backend.
 +
# From the '''Components''' dropdown menu, select '''JomSocial''', then '''Configuration'''
 +
# Under the '''Regsitration''' pane, you will see the settings regarding registration and in it, the '''Allow Users To Delete Their Profile Data''' option, which is enabled by default.
  
This will allow the users to have additional option in the edit profile field, to delete their user account.
+
::: [[File:delete-profile-admin-option.jpeg]]<br/><br/>
  
[[File:Deleteprofilefrontend.png]]
+
This will allow the users to have the additional option in the edit profile field to delete their user account.
===Deleting Account===
+
The action must be initiated and confirmed by user itself by clicking on the option displayed in above picture, and then confirming the deletion by clicking on the '''Yes delete my profile'''
+
  
[[File:Deletefinish.png]]
+
::: [[File:edit-profile.jpeg]]
  
After clicking on the '''Yes, delete my profile''' the user will be automatically blocked (not deleted) and logged out from site with no ability to login back again.<br/>
+
===Deleting a Profile===
The email will be sent to site admin, notifying them about user request to delete profile.
+
 
 +
This action must be initiated and confirmed by the user only, by clicking on the option displayed in above the picture, and then confirm the deletion by clicking '''Yes, delete my profile'''.<br/>
 +
 
 +
::: [[File:delete-profile.jpeg]]<br/><br/>
 +
 
 +
After clicking '''Yes, delete my profile''', the user will automatically Logged out (not deleted) from site with the ability to log back in again.<br/>
 +
The email will be sent to the site Admin, notifying the Admin about the user's request to delete his/her profile.
 +
 
 +
 
 +
NOTE: From JomSocial 4.5.4 this option is changed, Now User can delete his community profile data like a stream, message, photos, video etc and his account will not be unpublished.
 +
 
 +
===Automatic Profile Deletion===
 +
This is not possible in the Joomla environment. As mentioned at the beginning of this tutorial, Joomla does not have any Frontend facilities to accommodate such an action. Since JomSocial relies on the Joomla User Object, it is impossible for us to delete the user account from the Frontend of the site.
 +
 
 +
One of the other issues that also prevents us from implementing this feature include: [http://docs.joomla.org/Plugin/Events/User#onUserBeforeDelete hooks that are triggered when user is deleted.] These hooks are only triggered in the Backend and are used in the [[JomSocialUser|JomSocial User Plugin]] to delete all the associated data from the deleted user.

Latest revision as of 04:52, 20 June 2018

Overview

As a site Admin, you can allow users to delete their user accounts data. from Jomsocial 4.5.4 to add profile date deletion option for GDPR, we changed the Delete profile button action. Joomla Profile Delete action, however, requires Administrator action because, in the Joomla environment, only the site Admin can delete a user completely. Joomla doesn't have the Frontend capabilities to allow such actions; therefore, when a user '" delete" an account, it is actually only removed his community profile data, and the profile remains active in Joomla because Jomsocial cannot delete the 3rd party extension data. To Get More control you can JA GDPR Extension from JoomlArt.

Enabling the Option

  1. Navigate to the site Backend.
  2. From the Components dropdown menu, select JomSocial, then Configuration
  3. Under the Regsitration pane, you will see the settings regarding registration and in it, the Allow Users To Delete Their Profile Data option, which is enabled by default.
Delete-profile-admin-option.jpeg

This will allow the users to have the additional option in the edit profile field to delete their user account.

Edit-profile.jpeg

Deleting a Profile

This action must be initiated and confirmed by the user only, by clicking on the option displayed in above the picture, and then confirm the deletion by clicking Yes, delete my profile.

Delete-profile.jpeg

After clicking Yes, delete my profile, the user will automatically Logged out (not deleted) from site with the ability to log back in again.
The email will be sent to the site Admin, notifying the Admin about the user's request to delete his/her profile.


NOTE: From JomSocial 4.5.4 this option is changed, Now User can delete his community profile data like a stream, message, photos, video etc and his account will not be unpublished.

Automatic Profile Deletion

This is not possible in the Joomla environment. As mentioned at the beginning of this tutorial, Joomla does not have any Frontend facilities to accommodate such an action. Since JomSocial relies on the Joomla User Object, it is impossible for us to delete the user account from the Frontend of the site.

One of the other issues that also prevents us from implementing this feature include: hooks that are triggered when user is deleted. These hooks are only triggered in the Backend and are used in the JomSocial User Plugin to delete all the associated data from the deleted user.