ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Quick way to delete spam members?

January 16, 2011 10:23am

Subscribe [3]
  • #1 / Jan 16, 2011 10:23am

    agregat

    26 posts

    I have the problem of having forgotten to switch off membership registration - and I find myself with over 6,000 spam members!!

    Deleting these via the EE cpanel is going to take hours. So I was wandering if you could suggest a quick way to delete these - maybe using phpAdmin and a query that, say, deletes all the members of a specific group in 1-2 operations?

    None of these spam members have published any entries so re-assigning entries won’t be necessary.

    I could just go and delete the rows from the tables in the database (with phpAdmin I could delete 500 rows at a time which would make it all a lot quicker), but I am afraid of causing damage by deleting data that may be referred to in another table.

    As far as I can tell I need to delete them from 2 tables: exp_members and exp_member_data. Is that right?

    This issue was raised in the past - but no final reply was given: http://ellislab.com/forums/viewthread/174106/

    Many thanks for your help

    Chris

    p.s. I am using EE 1.5.2

  • #2 / Jan 16, 2011 10:32am

    agregat

    26 posts

    Sorry - just realised that I could use the Data Pruning function in the cpanel (Utilities > Data Pruning > Membership Account Pruning).

    Problem resolved.

    Thanks

  • #3 / Jan 17, 2011 1:47am

    John Henry Donovan

    12339 posts

    Chris,
    Glad you found a method. Feel free to start a new thread if you have any more questions.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases