Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

User list post count filters?

I'm trying to deal with a massive amount of spam on my forums and I can't find an easy way to remove it al. Roughly 75,000 threads were made in the past day. There are no legitimate users with more than 1000 posts on my forums, so if I could filter users with more than 1000 posts and then delete/delete user content, it would clean up most of it but I see no way to filters users by post count.

I checked for aplugin that could do this but I was unable to find one.

Comments

  • Options

    Backup your database first and try this.

    do you want to delete the user as well?

    if so you could use the cleanser plugin, and select members,

    and modify class.cleansermodel.php

    from
    
      ->Join('User u', 'ur.UserID = u.UserID')
                    ->Where('ur.RoleId', $therole);
    
    to
    
      ->Join('User u', 'ur.UserID = u.UserID')
                    ->Where('u.CountComments >', 999)
                    ->Where('ur.RoleId', $therole);
    
    
    
    
    if its discussions created
    
    
    from
    
      ->Join('User u', 'ur.UserID = u.UserID')
                    ->Where('ur.RoleId', $therole);
    
    to
    
      ->Join('User u', 'ur.UserID = u.UserID')
                    ->Where('u.CountDiscussions >', 999)
                    ->Where('ur.RoleId', $therole);
    

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    peregrineperegrine MVP
    edited October 2014

    I would upgrade to vanilla 2.1 also. since you seem to be using vanilla 2.0, based on your posting in the vanilla 2.0 help category.

    not sure if you solved your issue... since this discussion is posted later than the other one

    http://vanillaforums.org/discussion/comment/216864/#Comment_216864

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.