Is there a way to delete users en masse?

elric
@elric
9 years ago
81 posts
SO many spam accounts, deleting one at a time is a drag!!
updated by @elric: 08/08/15 12:17:04PM
michael
@michael
9 years ago
7,746 posts
Possibly the Batch editor delete function.

"Batch Item Editor"
https://www.jamroom.net/the-jamroom-network/networkmarket/236/batch-item-editor

ACP -> PROFILES -> USER PROFILES -> TOOLS -> BATCH ITEM EDITOR

Select the fields your interested in, probably profile_name then run it. Check the checkbox and delete.

I haven't tested it with profiles and my concern would be that the data would not be removed. Could always use that to change the profile_active to not active for safety.
elric
@elric
9 years ago
81 posts
Yeah, I just tried that module. Doesn't really seem to change anything in any way....
michael
@michael
9 years ago
7,746 posts
Try it now batch edit 1.0.7.

Profile and User modules have a datastore but dont return an _item_id so they weren't working well with Batch Edit. Should work now.

If you delete the profile, might want to delete the user account too.
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Michael- if one deletes the user account, will all that user's profiles get deleted along with it? And if so, does it make sense then to simply delete a user instead of a profile?
Sorry, im still a bit confused on this particular point.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
michael
@michael
9 years ago
7,746 posts
Yeah batch edit isn't the best way to go about it. The normal delete system will fire off all of the normal triggers to allow any other modules to fire off the processes that they want to.

Batch edit will only delete the item. The other stuff should get cleaned up by maintenance processes for orphaned stuff, but normal module delete process is better.

Profiles can exist without a user because admin can always edit them. You could always create a user later on and associate a profile with the new user if you wanted to give it to someone.

Tags