These modules will no longer be needed as of Drupal 7 thanks to sun's amazing efforts: http://drupal.org/node/8
However for Drupal 5 and 6, the following two modules are duplicated:
http://drupal.org/project/user_delete
http://drupal.org/project/user_cancellation
I'm not great with PHP yet, but my impression of the code is that User Delete is the one that does things the more "Drupal way" (it looks like it is just calling up Drupal's own user deletion hook rather than re-recreating the process itself). Perhaps we can discuss any features (if any) from User Cancellation that are desired in User Delete, and get User Cancellation deprecated after version 5, and the Drupal 6 patch for User Delete committed. Both modules are very small (UD is only 106 lines, UC is 253 lines).
Comments
Actually, I already
Actually, I already considered to port the new code for D7 straight back into a D6 module, and (also) come up with new account cancellation methods. I do not think that any of the mentioned modules can be used for this approach, since the new user account cancellation methods in D7 are using a special approach that only works in D7.
All I need to find out is a proper module name for this. Suggestions are welcome.
Daniel F. Kudwien
unleashed mind
Daniel F. Kudwien
netzstrategen
Awesome
Hi Daniel, that's terrific :)
Here are a few name ideas to get the ball rolling (ok some are a bit goofy... though in any case I'm trying to still correctly describe the function of the module):
User Axe (as in, giving users the axe haha - in honor of ax, who started node/8)
User Zapper
User Scrub
User Sweeper
User Selfdestruct
User Selfdelete
User Nullify
User BeGone!
Usercide
Account Selfcontrol
Or we could call it (in some cases) the "I posted lots of questionable/annoying things online when I was younger and now don't want my boss to find out" module :D
David
Staying with the spirit of
Staying with the spirit of this group, how about talking to the owners of user_delete and user_cancellation and see if they're interested in rolling a new version of their module.
Yeah might be good to ask
Yeah might be good to ask the maintainer of one of the existing modules to have their module taken over by sun and fully converted to his code, and therefore there would be one less "extra" module. There'd be no upgrade path, but then again there's really nothing in the tiny modules that would need to be kept (besides I think User Cancellation might have some custom message options, which the user could be informed to back up themselves before upgrading, if it were the module taken over). The other module would ideally be deprecated and link people to the correct module.
Namespace
The reason for why I was thinking of a new module is the module's namespace. Just like in D7, the module will invoke hook_user_cancel() in all modules. Drupal's coding-standards enforce that each module should only declare and invoke hooks that are in its own namespace.
So I'm thinking of either "user_cancel" or simply "cancel", but tend to the former.
Daniel F. Kudwien
unleashed mind
Daniel F. Kudwien
netzstrategen
To me user_cancel looks
To me user_cancel looks better.
Was this module ever created
Was this module ever created for D6?
http://www.ariscommunity.com/
Cancel/Inactive
I would like to see an account get inactive when a user selects to cancel it, then have an action that after 1 month removes the account; this way a user could reopen his/her account during the first month of cancellation.
/Chris
Regards,
Chris W
Drupal 6....user cancel
I was looking for a module that allows for a user to cancel thier account. I am suprised that such a simple function does not exist w/ such an elaborate community. ---Hollywoodstarrs
It may be a simple function
It may be a simple function but offering users the ability to delete their accounts is illegal in some areas and some cases (compliance with Sarbanes-Oxley, for example). At the same time, not allowing users to delete their own accounts is illegal in others (COPPA compliance, for example). So it's more complicated than that.
Sarbanes-Oxley does not apply
Sarbanes-Oxley does not apply to privately held companies, so for the vast majority of us it's a non-issue issue. And at any rate it should be up the the site owner/maintainer to determine how they handle restrictions like that. I maintain several drupal and wordpress based sites, and wrote out the 40 line module to handle this issue myself about a year ago because it's much easier than dealing with every dingbat that is unhappy with some part of your service and starts incessantly posting messages or using the comment form to whine about their inability to "deregister", "unsignup", or "erase" their account.
Not that simply having the option there saves your inbox from every one of them, I recently got one threatening to "report me to the FEDs" after she registered and found out that one of our services wasn't free... I love this job;)
Found it!!
Well I spoke to soon....i found user delete....I hope it works