Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 31)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Delete user account after 2 years if no active sub

2 weeks 6 hours ago #339809 by wintercorn
Can I do this with Auto Actions and if so, how?

Rules:

Expired subscription more than 2 years ago.
Remove user account completely.

Thanks

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48634
  • Thanks: 8307
  • Karma: 1446
2 weeks 2 hours ago #339812 by krileon
Yes, it's possible to automatically delete user, but I don't recommend automating deletions as there's a risk you could delete someone that shouldn't be deleted. The easiest way to do what you're wanting is simply filter CB > User Management every now and again and delete them manually. Doing this once a year is probably more than enough.

If you still want to automate this then the best way is to use the Batch feature to run an auto action against a large amount of users. You can then schedule that batch to run via CRON regularly to entirely automate the process. This however may not be necessary depending on how many users you expect to delete. Do you have a rough idea of how many would need to be deleted like this?


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.

2 weeks 1 hour ago #339818 by wintercorn
Probably no more than a handful of users (out of 150 currently) will need deleting. Ideally none.

I like the manual deletion idea as it has less propensity to go wrong.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48634
  • Thanks: 8307
  • Karma: 1446
2 weeks 1 hour ago #339819 by krileon
Ok, in that case I'd personally just manually delete them every year or so. If you still want this automated in the future simply let us know and can provide CB Auto Actions instructions on how to do this as there's a few ways.


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