Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
in Q2A Core by
Spam members come to my site and ask ridiculous questions and thousands of members are waiting for approval. I'm tired of these, what can I do?
Q2A version: v1.4

2 Answers

+2 votes
selected by
Best answer

First and foremost you may want to update your v1.4 install to a more recent version.

Use an anti-spam plugin like pupi1985's Spam Registration Stopper or my own Registration Blocker. Require users to confirm their registration and set up an automatic cleanup process to remove accounts that haven't been confirmed within a given time frame (on my own site I set the limit to 8 hours). Use a captcha, even though they're less efficient than they used to be. Personally, I would also moderate questions from users below a certain reputation level.

If you expect some kind of silver bullet that will magically stop spammers: there is none. Setting up the above defenses is pretty straightforward, but fine-tuning the plugin settings will take some time, and you will have to keep adjusting them as spammers keep finding ways around your filters.

+1 vote

While there is no 100% foolproof way of doing away with spam completely here are a few tips that I use on my own website that have worked for me:

(Note this is generally for most spam and unintended content posted or registered on the q2a website, choose what works for you)


  1. Use the latest version of q2a.
  2. Require user registration for posting content ( I do this for all content and interactions →questions, answers, comments, votes, messages, flags, etc)
  3. Use a spam plugin as mentioned in Wiechers' answer. Both Spam Registration Stopper and Registration Blocker work well (although not 100% at stopping spam but they're a good deal).
  4. Require email confirmation for all registered users.
  5. Next, use moderation. Especially if you want to control the quality of content on your site. The best way to do this is to set the number of points a user must have in order to automatically publish posts. Posts from users with low points will need to be checked before being published.
  6. Also set who can do what by going to admin→permissions. For my case, only users that have their emails confirmed can ask or answer questions. Others can only view. You can use either "Registered users with email confirmed" or "Registered users with enough points" as the threshold for posting.
  7. Also go to admin→spam and set the rate limiting for posting questions or answers per user or IP address per hour. This way you reduce the amount of content posted by spammers.

More tips that could help:

  1. Go to Admin→users and enter usernames that you want to disallow for registration. For example disallow users to register as "admin" or "owner" or even disallow usernames that are profane. If you notice a spam user on your site, delete them and enter the username here so that they can't register again with the same username or any string of it.
  2. On admin→posting enter the minimum and maximum length for both quesion title and question body and even for answers or comments if possible, but more important is the length question title and body. I realized that most spammers (both humans and bots) do copy long texts into the question body so setting a maximum length might cut you some slack. Note that this one will not stop the spam but it will reduce the spam content (length) incase it gets published on the frontend. A 300 words content may have fewer spam links than a 3000 words content. The idea here is to cut the chances where possible.
  3. Use updated, tested or reputable themes and plugins. Also install them from official directories.
  4. Use the UserManager plugin to check, block or remove unwanted users. 

Generally speaking there's no guaranteed way to deal away with spam completely because spammers adapt to new methods everyday. The best you can do is to reduce the amount of spam or its impact and extent thereof.

You will need to perform some tweaks every now and then to see what works and what doesn't.

Moderation is a great way to start with. Always moderate.