How to protect your Simple Machines (SMF) forum from spam. Automatic detection of the forum engine Careful powered by smf

💖 Do you like it? Share the link with your friends

If anyone doesn't know, Simple Machines Forum- for short, SMF is, as stated on the official website, a free, professional-level package that will allow you to organize your own online community in a few minutes. on this engine, you can look here. I myself set up my own forum on it (by the way, go to FreeForum.biz).

It doesn't matter how much or little spam appears on your forum. The important thing is that you spend your valuable time on moderation. Setting up a plugin that will do all the work for you takes a few minutes, and it will save you, in total, days and months, which will add up to those minutes that you would spend on erasing messages and deleting users.

I will note that I tried to fight spammers on my own - I blocked access via IP and even subnets. It really worked, it filtered out a lot of garbage, but nevertheless, once every one or two days someone made it through. And it took quite a lot of time to replenish the database of banned IPs. I thought I should be more convenient way, and he really was found!

1. Installation and configuration of Stop Spammer

In two weeks of operation, this plugin blocked 2202 fake users. Each of them would leave at least one message. The spammers show no signs of slowing down and I would spend time cleaning up my forum every day.

Instead, every few days I go to the user management page and see something like this:

I move on to the “Awaiting approval” section (these are the spammers found who are deprived of the opportunity to leave messages until they are approved accounts administrator). I check the “Select all” checkbox and delete them with one click:

That's it, all spam accounts go into oblivion. Let's return to our list of users:

It can be seen that the list has thinned out noticeably, but who are the rest? We select everyone and send them for verification with one button:

One “red” one appears, we immediately delete it. If you have free time, you can do others. If you don’t have time, then don’t do anything with new users - most of them will “blush” during subsequent checks. If you have time, you can go to their profiles and look - if there is a link in the signature, they will immediately be banned, these are fake accounts of spammers who will never leave a single useful message.

I told you how to use this magical plugin, now I will tell you how to install it.

Download two files: language_full.zip (this is the language pack for translating the plugin) and StopSpammer_v2_3_9.zip (the number may be different, as versions are updated). Unpack the contents of the StopSpammer_v2_3_9.zip archive into some folder. Unpack the language_full.zip archive into the same folder and agree to replace the files. Now pack our folder into a zip archive.

In the admin panel, proceed to install packages. Opposite the “Download package” inscription there is a button for selecting a file on your computer. Select our new archive (where we replaced the language file), upload it to the forum and activate the package.

That's it!

Additional configuration of the plugin occurs in the admin panel: go to

Users → Registration → Settings

You can leave the default values ​​there. There is also a field “Your API key”. Without this key, you will not be able to report new spammers (but the plugin will work and filter known spammers). If you want to get your own API key, go to www.stopforumspam.com to register, and then enter the key here. If you have not received the key yet, leave the field blank. Then the default key will be used.

2. Installation and configuration of Anti-Spam Links

Adherents of the SEO religion (you can read more about my attitude towards SEO-nists in another) have a firm conviction that by increasing the number of links to their site, they “promote” it (for some reason the idea of ​​​​creating interesting and high-quality content does not appeal to anyone doesn't come to mind). He would be a sucker, but there would be ways to extract money from him. So, some “citizens” provide services for “running” sites through forums. They create a large number of accounts on different forums and insert backlinks there in signatures and other available fields. Despite the fact that even “SEO experimenters” have already experimentally proven that these links are of zero use, some warn that for this you can get a ban from search engines, Yandex, for example, simply ignores links on ALL forums and sites where anyone can leave links. Google also has similar algorithms - ignoring links in comments, etc. But the law is not written for suckers... Therefore, we, the owners of the forums, have to reckon with the facts that “cool SEO optimizers” order a “run” of their shitty creations for a thousand rubles.

The Stop Spammer plugin will filter out a lot. But we can help him! You can take the very interest of posting links on your forum out from under spammers. This is exactly what Anti-Spam Links are for. This plugin (specific numbers can be changed in the settings) does the following:

  • those who, for example, have less than five messages, cannot leave links at all
  • those who, for example, have less than 15 messages, cannot leave active links, http:// is removed from links and in general these links become nubolinks (newbielink)
  • those with, for example, less than 50 posts can leave active links, but all links are given a nofollow attribute.
  • Well, those who have more than 50 posts can insert the most common active links, which transfer the weight of the site to the page being linked to.

Believe me, would-be SEOs are very careful about the form in which their link ends up on the site. They'll quickly lose interest in your forum if they can't easily post their shitty links to their shitty sites there.

Yes, by the way, the above rules also work in fields such as signatures.

To install this plugin, go to its official page. Download the anti_spam_links_v1.0.1.zip archive (the number may be different). Again in the forum admin, go to install packages (as you did with the previous package) and install it. There is no language file for this package, so there is no need to unpack the archive or do anything with it.

To configure the plugin, go to the section

Configuration → Setting up mods… → Setting up modifications

If you wish, specify how many messages the user must have to upgrade his capabilities.

Conclusion

These two plugins will make your life, the forum owner, VERY much easier and will save a lot of time. However, from time to time spammers break through and, at least once a week, you need to “thin out” users and delete spam messages. Therefore, do not abandon your web resources!

Starting a New Topic

Browse to the board where you wish to post and click the New Topic button (positioned by default at both the top and the bottom of the board, as shown in the ), which should take you to the Start new topic screen. While this presents a number of options, the two most important are the Subject field and main Message field (not labeled as such, but obvious by its size). So enter your subject and start to type (or paste) your message into the main text area, noting that a message missing either a subject or a body will not be accepted for posting until it has both. If you"re happy with your plain text message, you can then post it by clicking the Post button and/or preview it first by clicking the Preview button, but there are many further available to make things that little bit more interesting.

  • Some forums show the navigation tree at the top in a space-saving horizontal mode.
  • Some forums may be configured to offer an additional Spell Check button alongside the Post and Preview options.

Starting a New Poll

A poll is basically a topic with an added question and voting options, started by clicking New Poll instead of New Topic. To post a poll it is necessary to fill out the Question field and at least two of the Option fields in addition to the Subject and Message fields required by a standard topic. Further options to configure how many choices the user may vote for, how long the poll should run, whether users can change their votes and what conditions must be fulfilled for the results to be displayed should be self-explanatory.

To offer more than five choices in a poll, simply click Add Option as many times as necessary.

Note that it may also be possible for some users in some forums to add a poll to an existing topic.

Posting an Event to the Calendar

Where this option has been configured (it"s not standard "out of the box"), you can post an event by selecting Calendar from the followed by Post Event from the calendar screen. What you see now is a Start new topic screen with additional fields for the event title, date and target board, which simply add your event to the calendar and create a link back to your post in that board.

Replying to a Topic or Poll

Replying to a topic or poll is basically the same as , but it"s not necessary to enter anything in the Subject field unless you wish to change what"s already there. To vote in a poll, you simply have to select your chosen option(s) and click Submit Vote.

If "Quick Reply" has been enabled, a simple reply field will also appear after the post(s) on a page, but you"ll have to type your and manually if you choose to use it.

Quoting a Post

To reply to a post by quoting it, you can either click the Quote button for the relevant post and add your own message to the quoted text or click the Reply button followed by Insert Quote from the relevant post in the "Topic Summary" below, but note that:

  • Both these options add a link to the original post showing the name of the poster and the date and time of the post, whereas the quote tag simply quotes the relevant post without this additional information.
  • You can also retain or add the "author" attribute independently of the full Quote function, as demonstrated in the below.

Modifying or Deleting a Post

To modify a post, click the Modify button and make your changes. Note that most forums are likely to be configured to show the date and time of the last edit, but the administrator(s) may also allow a short period to elapse before this happens.

To delete a post, click the Delete button followed by OK from the Remove this message? box that appears. Some forums may also allow you to remove topics or polls that you start, but the buttons for these are usually at the bottom of the page.

Standard Posting Options

Notify me of replies

Check this to subscribe to email notification for the topic.

Return to this topic

Check this to return to the topic (instead of the message index) after posting (NB you can also set this behavior as a preference in your profile).

Don't use smileys

Check this to prevent certain in your post from being parsed and rendered as smileys.

Attachments

If enabled, this feature allows you to attach files to your posts in much the same way as most email clients, so you simply have to browse to the relevant file(s) on your computer before clicking Post. You can delete your attachment(s) or add more by , but please note that:

  • The permitted file types and sizes are set by the forum administrator(s).
  • Although most forums are likely to be configured to display attached images as part of the post, it"s not possible to preview attachments so you should always browse to and attach your files just before you finally post your message.

References

SMF Bulletin Board Code

The buttons shown belong to the SMF default theme and may differ from forum to forum.

Tag Name Button Code Output Comments
Bold [b]bold bold *
*
*
*
Glow glow The three attributes (eg red, 2, 50) in the "glow" tag are color, strength and width respectively.
The two attributes (eg red, left) in the "shadow" tag are color and direction respectively.
move move Not valid XHTML, but can also be used for images!
Simple
Machines
Forum
Simple Machines Forum Preserves critical text formatting, rendered in a monospace font.
left align *
centered *
right align *
Right-to-Left * right to left! Typical usage would be to post Arabic or Hebrew in an English document.
Left-to-Right * left to right! Typical usage would be to post English in an Arabic or Hebrew document.
*
font size *
font face Only fonts installed on the user's computer will be displayed, so use with caution!
Font Color Change Color Black Red Yellow Pink Green Orange Purple Blue Beige Brown Teal Navy Maroon Lime Green red red Select the color from the drop-down.

http://somesite/somefile.swf
http://somesite/somefile.swf Please note that, if embedded Flash has been disabled by the forum administrator(s), the Flash file will appear as a straight hyperlink as shown here. The two attributes in the "flash" tag (where relevant) are width and height respectively.

http://somesite/image.gif
Type the width and height attributes to resize the image.

http://somesite/image.gif
http://somesite/ http://somesite/ NB the "url" tag opens in a new window, but you can type "iurl" tags to open in the same window.

descriptive link
descriptive link

someone@somesite
someone@somesite *

ftp://somesite/somefile
ftp://somesite/somefile *

descriptive link
descriptive link
* No meaningful output from the "table" tags alone.
* No meaningful output from the "table" and "tr" tags alone.

content
content
Note the correct nesting of the tags, so the "table" tags contain the "tr" tags, which each contain an equal number of "td" tags!
SMF
Bulletin
Board
Code
SMF Bulletin
Board Code
superscript *
subscript *
teletype Monospace font.
Tell friends