Download & Extend

User delete module does not delete contents

Project:User Delete
Version:5.x-1.1
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hi !
My site has thousands of junk post which is going to take me a lot time if i try removing it manually so i was looking for the module to execute this task for me. module USER DELETE seemed to solve problem but it did not work out .

it has option for four action::

- DISABLE THE ACCOUNT AND KEEP ALL THE CONTENTS
- DISABLE THE ACCOUNT AND UNPUBLISH THE CONTNETS
- DELETE THE ACCOUNT AND MAKE THE CONTENT BELONG TO ANONYMOUS
- DELETE THE ACCOUNT AND ALL IT'S CONTENT

i set action to DELETE ACCOUNT AND ALL IT'S CONTENT and saved the configuration and I deleted user, it deleted only user not the users post. all post became anonymous after user deletion.

any idea ? how can i remove user and all it's content at one go?

Thanks

Comments

#1

I have the same problem, it seems that 'user_delete_submit' handler will not be called after submit confirms, I mean this line does not work for me:

$form['#submit'] = array('user_delete_submit' => array());

#2

Same. I notice all content is set to UID 0 instead of get deleted.

#3

Looks like the module only works for content delete only when deleting individual users, but not from
/admin/user/user

It works when you click on username > edit > delete > confirm delete

This is very time consuming, it would be nice if the /admin/user/user page - 'update option' drop down had option to 'delete user and content' right there.

#4

It should work from the admin user management. Sometimes you mihgt want to punt people out of the site for whatever reason, or say, remove testing users from a development site.

#5

Does anyone know of a way where we can hook into the form in the admin side as well?

#6