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.

Mass deleting of spam discussions

Hi people, I created a forum that was going to be used to replace another existing forum on another platform, it was put on hold and I forgot about it for a while. I now need to implement and run it, however in the time that I had neglected it, several thousand spam discussions have appeared. I have now implemeted security measures to stop it happening again but my question is this: Is there a way for me to "tag" all of these spoof discussions and delete them at once or in tranches even, rather than one at a time?



  • Options
    ShadowdareShadowdare r_j MVP
    edited September 2013

    Since 2.1, there's a setting you can check on the advanced settings page to enable checkboxes to mass moderate discussions and comments.

    Here is the 2.1 development branch:

    Here is a tutorial on upgrading:

    Add Pages to Vanilla with the Basic Pages app

  • Options
    whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    I'm guessing you didn't search for 'mass delete' on here.

    Look at the BulkEdit or Cleanser addons to see if they will do what you want.

    Otherwise, assuming you have no genuine discussions, you could use phpMyAdmin to delete all the records in gdn_discussion table.

  • Options
    hgtonighthgtonight ∞ · New MVP

    You could also import the dummy content used for theming, which will replace all content with just a few discussions.

    @Shadowdare, the admin check boxes are in although there is no easy way to turn them on via the dashboard. Enabling the Split/Merge plugin will bring them out. :)

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Options

    I did it in the end by deleting categories and replacing them with similar sounding named categories but with different permissions, as only the those that match will be transferred. I couldn't do a straight delete for some reason as the mysql seemed to have a problem if I didn't replace the deleted category with another.

  • Options

    Hi there, is there a very simple way of dealing this with problem. My forum is overrun with spam and deleting over 2,000 discussions individually just isn't going to happen.

    Does Vanilla offer simple plugins that don't require any code editing etc?

    Thanks :)

  • Options

    Restriction logger, bulk edit and some other plugins, yes.

    Fill out peregrine's poll. Go to his user profile, all his addons are great and his poll will be in his discussions list

    There was an error rendering this rich post.

  • Options
    peregrineperegrine MVP
    edited September 2013

    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.