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.

Need to do massive membership purge

June 08, 2012 9:39pm

Subscribe [3]
  • #1 / Jun 08, 2012 9:39pm

    vodkafish

    122 posts

    I let my guard down and probably have 100k spam registrations I need to get rid of.

    I think a series of searches can help a lot, but at 20 results per page, there’s no way I can do that and still catch the 2020 Olympics.

    Is there any way to increase the number of member search results?  Or is there some other method to delete many users all at once (properly - as I was tempted to dive into the DB, but saw how messy it might be).

    Maybe there’s an add-on I can’t find that’ll help with this?

    EE 2.5.1

  • #2 / Jun 09, 2012 2:59am

    Manoj Thomas

    185 posts

    Same thing happened to me on a EE 1.67 site (yikes!)

    Go into the DB and run the following query and it’ll delete all the members from the specified group (5, in this example):

    delete from exp_members where group_id = 5

    Make a backup beforehand, just in case!

  • #3 / Jun 09, 2012 7:42am

    vodkafish

    122 posts

    If I did that I’d wipe out all my members 😊

    They’re not all in one group.  Some may be pending, but many are confirmed.  I need to do searches on them, and while I can add a “WHERE” statement to the SQL, I don’t want to orphan any related data in other tables, which there seems to be.

  • #4 / Jun 09, 2012 12:07pm

    Manoj Thomas

    185 posts

    Ah, gotcha 😊

    If you’d like to increase the member results per page in the CP, you can override the setting in your config.php (defaults to 50).

    /system/expressionengine/config/config.php

    $config['memberlist_row_limit'] = 300;
  • #5 / Jun 09, 2012 12:46pm

    vodkafish

    122 posts

    Nice.  I should have looked for something like that, thanks 😊

    I was only getting 20 as a default.

    Either way, my sweet spot right now seems to be 600.  It’s enough to start making a little dent.

  • #6 / Oct 09, 2012 1:41pm

    pab514

    181 posts

    I tried adding this to a client’s site and nothing changed, stayed at the default 50

    $conf['memberlist_row_limit'] = "300";

    EE 1.7.3

  • #7 / Oct 09, 2012 4:52pm

    Manoj Thomas

    185 posts

    Oops looks like you used “conf” instead of “config”.

  • #8 / Oct 09, 2012 4:57pm

    pab514

    181 posts

    as per the wiki “conf” is what’s used http://expressionengine.com/wiki/Config_Overrides

  • #9 / Oct 09, 2012 5:04pm

    Manoj Thomas

    185 posts

    Did you try “config” anyway?

  • #10 / Oct 09, 2012 6:00pm

    pab514

    181 posts

    yup, still nothing. thanks for taking the time to reply.

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

ExpressionEngine News!

#eecms, #events, #releases