Results 1 to 10 of 14

Thread: how to delete inactive users

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2008
    Location
    Greece
    Posts
    235

    Default how to delete inactive users

    dose someone know how to delete inactive users??

  2. #2

    Default

    You can delete the Inactive Users through admin area

    User Admin = > Inactive Users = > Delete

  3. #3
    Join Date
    Feb 2008
    Location
    Greece
    Posts
    235

    Default

    yes you can do that there deleting on by one but if someone have more than 7000 inactive users :(

  4. #4

    Default

    Save as user_delete.php, run once in browser. Set cron to run this once a year

    Code:
    include ('include/config.php');
    
    $sql = mysql_query("DELETE FROM signup WHERE account_status='inactive'") or die(mysql_error());

  5. #5
    Join Date
    Feb 2008
    Location
    Greece
    Posts
    235

    Default

    i used this for 2.7

    PHP Code:
    DELETE FROM users WHERE user_account_status='inactive' 

  6. #6

    Cool

    this should be a default option in admin control , i just checked my site there were 6000+ inactive users :(

  7. #7
    Join Date
    Jul 2009
    Location
    Canada
    Posts
    4

    Default

    Is there something that will work with 2.8.1? I've tried all of the above

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •