Pickeboe wrote: How can users delete the own account?
I can't find any menutyp to add a menuentry. Also I found no option to enable a "delete-option" in the logged in user account in the frontend.
It should be possible, to delete my own account.
Maybe the solution is in the forum... but I couldn't find. Can someone help?
greets,
Pick
Hi Pick. No there isn't a way. The plugin Krileon has directed you to is for Joomla 1.5 could really mess up your database if you try using it.
I thought since Joomlapolis have been so helpful to make my site a success with little things such as this I'd give a little back.
Install CB Auto-Actions if you haven't done so already, then install RegReminder.
First, set RegReminder to delete all unconfirmed/inactive accounts after X amount of days. I've set mine to 90.
Create a tab visible only in edit profile titled "Security".
Create a checkbox titled cb_delete and place it in Security.
Publish it all. Then go to CB Auto Actions and do as Krileon told me:
Type: Query
Triggers: onAfterUserUpdate
Access: Everybody
Conditional: [cb_delete] Equal To 1
Query:
Code:
UPDATE `#__comprofiler` SET `confirmed` = 0 WHERE `id` = '[user_id]'
Go to your FTP to the Community Builder lang file.
Find "this user has not confirmed their e-mail address" and change to "Your account is de-activated"
Now. All a user has to do is go to security, click a check box, as soon as they press update their account will be unconfirmed and they'll get the "Your account is de-activated" notice.
If they leave their account de-activated after X amount of days, RegReminder will purge & delete it.
They can re-confirm their account and keep it active by logging in again within X amount of days.
Example:
Hope this helps