Cancel User account module for Drupal 6.x
meenakshi - May 8, 2009 - 06:02
I am looking for "Cancel user account" module for drupal 6.x. Pls let me know where can I get it?
I am looking for "Cancel user account" module for drupal 6.x. Pls let me know where can I get it?
Is it that you want users to
Is it that you want users to be able to cancel their own account? AFAIK, this functionality will be in Drupal 7. For the time being, there's a module named user_delete, but a release is only available for Drupal 5. There's a patch for D6, though. I have not tried it. Also see this discussion.
Or are you looking at a functionality to cancel a user account from the admin side? That you can do without added modules; simply go to Administer -> User management -> Users (/admin/user/user), select the users you want to delete (or block), and select the appropriate action from the "Update options" drop down (and click Update, of course).
Yes, I want user to cancel
Yes, I want user to cancel their own account. I have seen user_delete module, It supports only for Drupal 5. I am newbie to drupal. Pls tell me how to install that patch for D6.x?
Do you have access to a Unix
Do you have access to a Unix command line environment? If so:
user_delete_port_6.patch.Edit the downloaded patch and remove line 15 (the one saying
\ No newline at end of file).user_delete):tar -xvzf user_delete-5.x-1.0.tar.gzcd user_deletepatch < ../user_delete_port_6.patchThis should give the following output:
patching file user_delete.infoHunk #1 succeeded at 1 with fuzz 2.
patching file user_delete.module
which tells you that the patch was applied successfully, but one of the line numbers was off by 2 or so when applying the patch to the file user_delete.info (again a consequence of the way the patch was created in the first place). You don't have to worry about this message in this particular case.
Note that step number 2 is highly unusual; in most cases, patches can be applied without fuzzing around with them. Also note that I have not tried if the patch works or provides the promised functionality; that testing you'll have to do by yourself (and ideally, report back to the issue queue if it worked or not).
Hope this helps.
Thanks marquardt for quick
Thanks marquardt for quick reply. We have Drupal on windows os. How can i do above steps using windows?
Umpf. Maybe the links in this
Umpf. Maybe the links in this discussion thread help: http://drupal.org/node/23844. Do you have access to a Mac OSX machine? That's also a Unix variant...
Hi Marquardt , I have manage
Hi Marquardt ,
I have manage to install the patch n user_delete module.Now it showing "Delete" tab in user profile. :)
Thanks for your help...!
Great;-)) !!
Great;-)) !!
Ok, I've re-rolled that
Ok, I've re-rolled that patch... download it from http://drupal.org/node/333460#comment-1566664. The sequence for patching is now
user_delete):tar -xvzf user_delete-5.x-1.0.tar.gzcd user_deletepatch < ../user_delete_port_6.patchThis should apply with the following output:
patching file user_delete.infopatching file user_delete.module
which really tells you everything went fine.
Again, I have not tested what the patch is actually doing; I just re-applied the patch so that using it is a bit more straightforward than in case of the original patch.
Good luck!