Skip to Content Skip to Menu

GDPR - Delete account after 5 years without valid subscription

6 years 2 months ago #307107 by association.aamoi
Hi,

All is in the title.
Can we do that ? If yes how and with which module ?
Thanks

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • OFFLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
6 years 2 months ago #307108 by krileon
There is no automated user deletion. That'd be far too easy to make a mistake and suddenly wipe out your database of users. Users can delete themselves using CB Privacy and its Delete Me field. As far as deleting them after 5 years of no subscription you can simply filter CB > User Management now and again and delete them manually.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

6 years 2 months ago #307109 by association.aamoi
Yes but we searching a automatic solution :(

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • OFFLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
6 years 2 months ago #307110 by krileon
There is no automated solution. It's too dangerous. You could probably force something using CB Auto Actions and CRON, but I strongly advise against it. One mistake and you've purged your entire database of users. We'll likely never implement something like that. It's the same reason CB Auto Actions does not provide an auto action type to delete users even though it's a simple function call. It's too easy for one mistake to cause a significant amount of damage. We've an obligation to protect our users; including from themselves, sorry.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: nant

Please Log in or Create an account to join the conversation.

6 years 2 months ago - 6 years 2 months ago #307118 by association.aamoi
ok i understand.
So is it possible in this case, to clear (empty) some user fields (personal infos) with CB autoaction or other ?
With CB AA, is it possible to use code to find all users without subscription since 5 years and empty some users field ? and launch this via Cron ?

Do you have some example of this type of code ?

Thanks
Last edit: 6 years 2 months ago by association.aamoi.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • OFFLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
6 years 2 months ago #307134 by krileon
CB Auto Actions performs actions on a trigger that something has fired and there is no trigger fired simply because a users has been inactive for X years. The only way to do what you're wanting is to use Internal Users trigger then setup CRON to execute the Internal Users URL regularly, but this will loop the action through every user of your site and is extremely heavy to do (it has no pre-filtering functionality or batching at this time).

Alternatively you can set Triggers to None then use CRON to execute the action directly (URL to do this under Global tab of your auto action). You'll need to then use a Code action and set Method to PHP. Next you'll need to code your entire implementation of finding users who have been inactive for 5 years then delete them or I suppose modify their profile data.

We do not have functionality for this out of the box (e.g. 1-2 clicks) for either of the above cases and likely never will simply because it's too dangerous of a feature to provide. Joomla may provide something like this in their privacy component planned for Joomla 3.9 and if so we'll integrate with it, but my guess is that feature again won't exist due to how dangerous it'd be.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum