XenForo Tutorials

Block spam COMPLETELY with no addons

Submitted by Bi0S, , Thread ID: 38079

Thread Closed

RE: Block spam COMPLETELY with no addons

#2
23-06-2017, 01:38 AM
Bi0S Wrote:
Block spam COMPLETELY with no addons

This is the easiest way to block 100% of spam without any addon.

SETTING UP THE SPAM BLOCKER
First, in the admin panel go to Options > Spam Management.
Set Maximum Messages to Check for Spam to 2
Set Spam Phrases to block [url*


[Image: proxy.php?image=https%3A%2F%2Fgfxf.net%2...bb719b66ac]

You may also choose to add these to spam phrases to block smarter, human spammers.

Code:
investment
fullz
credit card
forex
mortgage
pharmacy
casino
viagra
outlet
prada
marketing
seo
vn
maletestosterone
supplements

Keep an eye out for extra words, it will differ per forum.

Done, spam will never been seen again! However, it will be useful to notify new members of this restriction.

NOTIFYING USERS WITH LIST NOTICES
In the admin panel, select List Notices and create a new notice.
Under user criteria, set the following:

- User is logged in
- User has posted no more than X messages: 2

Then add a message for members to see, this is mine:

[Image: proxy.php?image=https%3A%2F%2Fgfxf.net%2...b5d61996b2]

So you are telling users that posting links in messages, signatures, and about me sections will be rejected until they reach 3 posts, at which point the message will be removed.

NOTIFYING USERS WITH MESSAGE ABOVE QUICK REPLY
You can add a notice above the quick reply in addition to notice at the top of each page, or you can use this exclusively. It will save space.

Edit the template quick_reply and find:

Code:
<xen:require js="js/xenforo/discussion.js" />

add after:

Code:
<xen:if is="{$visitor.message_count} < 3"><h2 style="color:white;background:#f72600;border-radius:2px;padding:2px;text-align:center;">You need 3 posts to add links to your posts! This is used to prevent spam.</h2></xen:if>

This will show a notice to users with less than 3 posts. Here is mine:

[Image: proxy.php?image=https%3A%2F%2Fgfxf.net%2...b5a049a705]

How effective is it?

I've been using this method for about a month, and have not seen a single spam message or any spam links in profiles.
This allows you to remove all the annoying captcha on registration and just allow "spammers" to register, after finding out they can't, they will leave.
You'll have to manually delete spammers yourself (easy using batch update tool), but it's a worthy trade off for 100% less spam and easier/quick registration.

So would this block anyone who is trying to link to a website??

Users browsing this thread: 1 Guest(s)