- Known spammers' IP addresses
- Known spammers' email addresses
- Custom anti-spam questions
- Removing spam accounts and posts
- Hindering (profile) spam
- Hiding profile spam
- Mass cleaning up profile spam accounts
- Recommended settings
Known spammers' IP addresses
Databases such as Stop Forum Spam keep a list of known spammers, their IP addresses, user names and email addresses. UseBB can use some of this data to automatically check and block forum access for these spammers.
IP addresses in the Stop Forum Spam database can be blocked using "DNSBL bans" (available since 1.0 RC1, May 2006). This is generally fast and without query limit.
- In the ACP, enter General Configuration and click Security.
- Tick "Enable IP address banning" and "Enable DNSBL powered banning".
- Save the form.
- Enter the DNSBL Bans pane.
- In the server list, add
dnsbl.tornevall.org
. Other settings can remain as-is. - Save the form.
With every attempt to register or post, the IP address will be checked and eventually blocked.
Known spammers' email addresses
Email addresses from the Stop Forum Spam database can be used as well, but this can not be done using DNSBL bans. Instead, since UseBB 1.0.13 it is possible to use Stop Forum Spam's API to check the email address upon registration or profile changes.
- In the ACP, enter General Configuration and click Anti-spam.
- Tick "Stop Forum Spam: check email addresses".
- Eventually, change the "minimum frequency" and "maximum last seen" settings.
- Tick "Stop Forum Spam: save blocks in forum's ban table" to save the blocked addresses in the forum's bans.
- Save the form.
Custom anti-spam questions
Custom anti-spam questions can be used to somewhat block automatic bots from the forum, given that the answers to the questions can not be easily calculated or derived, and the questions are changed regularly.
- In the ACP, enter General Configuration and click Anti-spam.
- Change the setting "Anti-spam question mode" to "Randomly chosen custom question".
- Enter questions in the form of
question|answer
in the field "Custom anti-spam questions". - Save the form.
Please note that this does not block human spammers, or bots that have been updated with the correct answers.
Removing spam accounts and posts
It is easy to remove all traces of a spam account.
- Enter the account's profile page and click the Delete link (when logged in as administrator).
- Tick "Permanently delete the user's posts".
- Optionally choose to also ban the given email address and last used IP address (only if IP banning is enabled).
- If a Stop Forum Spam API key is set*, you can choose to submit the user information to the database.
- Click Delete.
* To set an API key, register and request one at stopforumspam.com, enter the ACP at General Configuration » Anti-spam and enter the key in the field "Stop Forum Spam: API key".
Hindering (profile) spam
You can hinder spam by using the "potential spammer" status and avoiding the forum to render URLs in the spammer's profile and/or signature. Spamming will be useless.
- In the ACP, enter General Configuration and click Anti-spam.
- Tick "Potential spammer: disable profile links" and/or "Potential spammer: disable post links".
- Set a number of posts in the field "Potential spammer: maximum post count". You can leave this at 0 to only manually approve accounts.
- Save the form.
When a user registers or activates, the account will have the status of a potential spammer. The restrictions enabled above will be in effect until the special status is lost, either when the post count is exceeded or when the account was edited manually by the administrator.
Hiding profile spam
Profile spam are links added to the profile's website field or signature. When these are invisible to guests, the spam attempt has basically failed.
- In the ACP, enter General Configuration and click User rights.
- Untick "Guests can view member profiles".
- Save the form.
Mass cleaning up profile spam accounts
You can prune all profile spam accounts using member pruning.
- In the ACP, enter Prune Members.
- Select "Profile spam accounts" and enter a number of days in the field below.
- You can see a preview using the "Preview Members" button.
- Tick "I understand this action is irreversible" and click "Start Pruning".
Selected accounts are those with URLs added to the signature but with a post count of zero. Please be advised to choose a number of days big enough to avoid deleting accounts registered very recently.
Recommended settings
Forums that are not publicly accessible, or can not be posted in by guests and have disabled public registrations, do not require any spam protection.
For other forums it would be advised to enable DNSBL bans in order to check IP addresses, enable Stop Forum Spam email address checking and disable displaying URLs in profiles of new members.
It is also encouraged to obtain a Stop Forum Spam API key so that eventual spam accounts can be reported upon deletion.