The portal about the repair of the bathroom. Useful advice

Mission Profile Powered by SMF. How to protect your forum on Simple Machines (SMF) from spam

If someone does not know, Simple Machines Forum - for brevity SMF is, as it is stated on the official website, a free, professional level package, which will allow you to organize your own online community in a few minutes. On this engine, you can see here. I myself set my forum on it (by the way, come in freeforum.biz).

No matter, a lot or little spam appears on your forum. It is important that you spend your precious time to moderation. Setting the 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 be collaborated from those minutes that you would spend on erasing messages and delete users.

I note that I tried to fight my own spammers - blocked IP access and even at subnets. It really worked, sifled a lot of garbage, but, nevertheless, once in one or two days someone made his way. And quite a long time went on replenishing the base of the banned IP. I thought that there should be a more convenient way, and he really found!

1. Installing and configuring STOP SPAMMER

For two weeks of work, this plugin blocked 2202 fake users. Each of them would leave, for a minimum, one post. Spammers are not going to slow down turnover and every day I would spend time on clearing your forum.

Instead, once a few days I go to the user management page, I see there something like this:

I turn to the section "Expect approval" (this is the found spammers that are deprived of the opportunity to leave messages before approving their accounts by the administrator). I put a tick "to allocate all" and remove them with one click:

That's all, all spam accounts are sent to unprecedented. Return to our list of users:

It can be seen that the list was noticeable, but who is the rest? We highlight all and send one button to check:

One "red" appeared, I immediately delete it. If you have free time, you can do others. If there is no time, do not do anything with new users - most of them are "blushing" with subsequent checks. If you have time, you can go to their profiles and see if there is a link in the signature - immediately in the ban, these are fake spammers that will never leave a single useful message.

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

Download two files: language_full.zip (this is a language package for translation plugin) and StopSPAMMER_V2_3_9.zip (the number may be different, since the versions are updated). Unpack the contents of the archive stopspammer_v2_3_9.zip in some folder. In the same folder, unpack the Language_full.zip archive, agree to replace the files. Now pack our folder to the zip archive.

In the admin step, go to the installation of packages. Opposite the "Download Package" inscription there is a button to select a file on a computer. Choose our new archive (where we replaced the language file), unload it to the forum and activate the package.

That's all ready!

Additional setting of the plugin occurs in the admin: Go to

Users → Registration → Setup

You can leave the default values \u200b\u200bthere. Even there there is the "Your API key" field. Without this key, you will not be able to report new spammers (but the plugin will work and filter well-known spammers). If you want to get your own API key, go to the website www.stopforumspam.com for registration, and then specify the key here. If you have not received the key, leave the field empty. Then the default key will be used.

2. Installing and configuring Anti-Spam Links

At the Adepts of the Seo Religion (more about my attitude to Seo-Nists can see in another) there is a solid conviction that increasing the number of references to your site, they "promote it" (for some reason the idea of \u200b\u200bcreating interesting and high-quality content to anyone from They do not occur). There would be a sucker, and ways to pull out money from it will be found. So, some "citizens" provide services on the "run" sites on the forums. They create a large number of accounts on different forums and insert back links in the signatures and in other available fields. Despite the fact that even "CEO experimenters" has proven to be experienced, the lot from these links is zero, some warn that it is possible to get a ban from search engines, Yandex, for example, just ignores links to all forums and sites where any can Leave links. Google also has similar algorithms - ignoring references in comments, etc. But the law is not written, the law is not written ... Therefore, we, owners of forums, have to be reckoned with those facts that "steep seed optimizers" for a thousand rubles are ordered by "run" of their befickers.

A lot of Stop Spammer plugin. But we can help him! You can knock out from under the legs of spammers, it is of interest to post links on your forum. It is for this that you need Anti-Spam Links. This plugin (specific numbers can be changed in the settings) does so:

  • those who, for example, less than five posts, can not leave links at all
  • those who, for example, less than 15 messages, can not leave active links, is removed from the link http: // and generally these links become Nubolinki (newbielink)
  • those who, for example, less than 50 messages can leave active links, but all links receive the Nofollow attribute.
  • well, those who have more than 50 messages can insert the most common active references that transmit the weight of the site page to which they refer.

Believe me, the grief-optimizers are very closely related to what form their link hits the site. They will quickly lose interest to your forum, if you can not easily leave your shit and links there to your shit sites there.

Yes, by the way, the rules above work in these fields as a signature.

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. Scroll to install packages (how it was done with the previous package) and install it. There is no language file for this package, so you do not need to unpack the archive or something with it.

To configure the plugin, go to the section

Configuration → Modov Setup ... → Setting up modifications

At your own desire, it is necessary to stand up how many messages must have a user to upgrade its capabilities.

Conclusion

These two plugins greatly facilitate you, the owner of the forum, life and save a lot of time. However, from time to time spammers break through and, at least once a week, you need to "rush" users and delete spam messages. So do not throw your web resources!

Well, let's start giving small tips on optimizing and promoting sites (forums) on PHPBB. In this case, we will spend a small hack that will help get rid of the external links of the species " Powered by phpbb ©... ". In this publication, we will look at 2 ways with which you can do this - reception for pHPBB 3.x.x..

Remove the external link Powered by phpbb © 2000, 2002, 2005, 2007 PhpBB Group and Russian PHPBB support

The first way to remove external links with the inscription Powered by phpbb © 2000, 2002, 2005, 2007 phpBB Group. And so, the easiest way is to delete using the admin panel. We go into the administrative panel, go to the "Styles" menu item, we see the panel where the block is located in the menu, we are interested in the "Style components" block, and in it "patterns". According to the standard in the proposed window, we will see the following: Prosilver and Subsilver2, although Muga is different if you installed them. In general, do not essence. From the closed kit, select the default used. Click on the "Edit" button next to the template. Next, a window appears with the "Select the template file". Next, select the "template file" - "overall_footer.html". The HTML editor appears below. Find the following code: " Powered by PhpBB 2000, 2002, 2005, 2007 PHPBB GROUP"And just delete, although you can install your link and inscription."
(Translation_info)
"(Which is below, can also be deleted) - This code is responsible for localization for example an external link with the inscription" Russian PHPBB support ".

The second way to remove an external link with the inscription Powered by phpbb © 2000, 2002, 2005, 2007 PHPBB GROUP. This method is similar, but we connect to the site of Pratacolau FTP. Go to the next STYES path / OVERAL_FOOTER.html_footer. And edit the same code that we edited above. If you change the code, do not forget to set UTF encoding - so on the place of the ankors may appear "Crakrooms" (squares, and other incomprehensible characters).

Let's start immediately from the main script code:

#! / usr / bin / perl

# Which-Forum.pl script
# (C) 2010 Alexandr A Alexeev, http: // Site /

use Strict;

# Commented lines - for rigor
# If the task is to collect the statistics of the engines, leave as it is
# If you make a list of forums - Rassate

mY $ DATA;
$ Data. \u003d $ _ While (<> ) ;

# Check how much it was powered by phpbb without reference in the basement
print "phpbb. \\ n "
if ($ Data \u003d ~ /] + href \u003d "[^"] * http: \\ / \\ / (?: www \\.)? phpbb \\ .com \\ /? "[^\u003e] *\u003e PHPBB / I Or.
# $ Data \u003d ~ /ViewForum\\.php\\?[ ^""**F\u003d\\D+/i OR
$ Data \u003d ~ / PHPBB \\ -SEO / I OR
$ Data \u003d ~ /) ;
print "IPB \\ n "
if ($ Data \u003d ~ /] + href \u003d "[^"] * http: \\ / / / (?: www \\.)? INVISION (?: Board | Power) \\. Com \\ /? [^ "] *" [^\u003e] *\u003e [^.<]*IP\.Board/i Or.
$ Data \u003d ~ /] + href \u003d "[^"] * http: \\ / \\ / (?: www \\.)? INVISIONBOARD \\ .com \\ /? "[^\u003e] *\u003e INVISION POWER BOARD / I Or.
$ Data \u003d ~ /

/ I. Or.
$ Data \u003d ~ /INDEX /.php\\?[^""**ShowForum\u003d\\D+/I.) ;
print "vbulletin. \\ n "
if ($ Data \u003d ~ / Powered by :? [^<]+vBulletin[^<]+(?:Version)?/i Or.
$ Data \u003d ~ /) ;
print "SMF. \\ n "
if ($ Data \u003d ~ /] + href \u003d "[^"] * http: \\ / \\ / (?: www \\.)? Simplemachines \\ .org \\ /? "[^\u003e] *\u003e Powered by SMF / I Or.
$ Data \u003d ~ /INDEX\\.php\\?[^"""*board\u003d\\D+\\.0/i.) ;
print "Punbb. \\ n "
if ($ Data \u003d ~ /] + HREF \u003d "[^"] * http: \\ / / / (? :(?: www \\.)? Punbb \\ .org | Punbb \\ .informer \\ .com) \\ /? "[^\u003e] *\u003e PUNBB / I.); #Or.
# $ Data \u003d ~ /ViewForum\\.php\\?[^"""*id\u003d\\D+/i);
print "Fluxbb. \\ n "
# if ($ Data \u003d ~ /ViewTopic\\.php\\?id\u003d\\D+/i OR
if ($ Data \u003d ~ /] + href \u003d "http: \\ / / (?: www \\.) Fluxbb \\ .org \\ /?" [^\u003e] *\u003e FluxBB / I) ;
print "EXBB. \\ n "
if ($ Data \u003d ~ /] + href \u003d "[^"] * http: \\ / / / (?: www \\.)? Exbb \\ .org \\ /? "[^\u003e] *\u003e EXBB / I); # OR
# $ Data \u003d ~ /Forums\\.php\\?[^""**_Forum\u003d\\D+/i);
print "Yabb. \\ n "
if ($ Data \u003d ~ /] + href \u003d "[^"] * http: \\ / \\ / (?: www \\.)? yabbforum \\ .com \\ /? "[^\u003e] *\u003e Yabb / i Or.
$ data \u003d ~ /yabb\\.pl ~ / )""*_num\u003d\\d+/i);
print "Dleforum. \\ n "
if ($ Data \u003d ~ / \\ (Powered by Dle Forum \\)<\/title>/ I. Or.
$ Data \u003d ~ /] + href \u003d "[^"] + (?: http: \\ / \\ / (?: www \\.)? DLE \\ -Files \\ .ru | ACT \u003d Copyright) [^ "] *"\u003e DLE Forum<\/a>/ I.) ;
print "Ikonboard. \\ n "
if ($ Data \u003d ~ /] + href \u003d "[^"] * http: \\ / / / (?: www \\.)? Ikonboard \\ .com \\ /? [^ "] *" [^\u003e] *\u003e ikonboard / i Or.
$ Data \u003d ~ /\\ n "
if ($ Data \u003d ~ /\\ n "
# if ($ Data \u003d ~ /Forums\\.php\\?fid\u003d\\D+/i or
# $ data \u003d ~ /topic \\.php\\?fid\u003d\\D+/i or
if ($ Data \u003d ~ /] + href \u003d "http: \\ / / / (?: www \\.)? Flashbb \\ .net \\ /?" [^\u003e] *\u003e FlashBB / I) ;
print "stokesit. \\ n "
# if ($ Data \u003d ~ /Forum\\.php\\?f\u003d\\D+/i or
if ($ Data \u003d ~ /] + href \u003d "http: \\ / / / (?: www \\.)? stokesit \\ .com \\ .au \\ /?" [^\u003e] *\u003e [^ \\ /] * Stokes IT / I) ;
print "Podium. \\ n "
# if ($ Data \u003d ~ /topic ~Fp\\?t\u003d\\D+/i or
if ($ Data \u003d ~ /] + href \u003d [""]? http: \\ / / / (?: www \\.)? SOPEBOX \\ .com \\ /? [""]? [^\u003e] *\u003e Podium / I) ;
print "USEBB. \\ n "
# if ($ Data \u003d ~ /Forum\\.php\\?id\u003d\\D+/i or
if ($ Data \u003d ~ /] + href \u003d "http: \\ / \\ / (?: www \\.)? USBB \\ .net \\ /?" [^\u003e] *\u003e USEBB / I) ;
print "Wrforum. \\ n "
# if ($ data \u003d ~ /index ~Fp\\?Fid\u003d\\D+/i or
if ($ Data \u003d ~ /] + href \u003d "http: \\ / \\ / (?: www \\.)? WR \\ -Script \\ .ru \\ /?" [^\u003e] *\u003e WR \\ -Forum / I) ;
print "YetanotherForumnet \\ n "
if ($ Data \u003d ~ / Yet Another Forum \\ .net / I OR
$ Data \u003d ~ /Default\\.aspx\\?g\u003dposts&t\u003d\\D+/i.) ;

This and other scripts mentioned in the post can be found in this archive.

Script which-Forum.pl. Examines the HTML page code for the presence of a forum engine signature in it. We used similar reception when determining WordPress and Joomla, but there is a couple of differences. First, the script itself does not upload the page code, and reads it from STDin or a file transmitted as an argument. This allows you to upload a page once, for example, using WGET, and then drive it through several analyzers if we are not alone. Secondly, in this script, the presence of signature is a 100% sign of the engine. Last time the presence of signature only gave the weight to the corresponding engine and "won" the engine with the greatest weight. I decided that in this case this approach only will complicate the code.

To test the work of the script, I spent a slight study. I am a list of several thousand forums and drove each of them through my script, thereby determining the percentage of the program's triggings and the popularity of various engines.

To get a list of forums, I took advantage of Google Parser. Search engine sent types of type

site: Forum. *. ru
Site: Talk. *. RU
Site: Board. *. RU
SITE: SMF. *. RU
Site: phpbb. *. ru
....

and so on. Full code generator code you will find in the file gen-forumSearch-URLS.PL. In addition to zone.ru were also used.su .ua .kz I.BY. Last time, this study was difficult, since sites on Wordpress and Joomla do not have similar signatures in the URL. Catalogs like cmsmagazine.ru/catalogue/ do not provide sufficient sampling. What is 600 sites on Drupal?

I must admit, the results of the experiment were upset of me. Of the 12590 studied sites, only 7083 engines were determined successfully, that is, only in 56% of cases. Maybe I did not take into account any engine? Is it really bitrix at half to see? Or did I stand more time to pay the search for signatures? In general, additional research is required here.

Among the 56% of successfully identified engines most popular, as expected, turned out to be IPB (31%), PHPBB (26.6%) and VBulletin (26.5%)

For them with a large lag behind SMF (5.8%) and Dleforum (5.3%). My favorite PunbB was only 6th place (1.64%). I would not advise to greatly trust these numbers (they say, every third forum in RuNet works on IPB), but certain conclusions do, of course, you can.

For example, if you intend to make a website on the forum engine and plan to modify the forum, say, pay users of 0.01 $ for each message with automatic output of funds once a week, then you should choose one of the three most popular engines. The more popular the forum, the greater the chances of finding a programmer who disassembled well in it.

If significant changes in the engine is not expected, it may make sense to choose not the most popular engine, for example SMF or PUNBB. By this, you will reduce the number of hacker attacks on your forum and the number of spam automatically sent on it.

Scripts for search / definition of forums can also be found not one practical application. The first thing that came into my head personally is to sort the identified forums on the Titz and place the posts with links to one of their sites on the first hundred. However, hundreds of forum dofolllow links did not affect TIC (2 updates passed), so it's better not to spend time here, unless you are interested in transitions.

It is clear that the name of the scripts is far from the only one. I think you will easily come up with how else you can use them.

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 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 Chices The User May Vote For, Howl Long The Poll Should Run, Whether Users Chan Change Their Votes and What Conditions Must Be Displayed 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 foot POST EVENT. From the Calendar Screen. What you see now is a Start New Topic SCREEN WITH SUPPLEMENTARY 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 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 OL CLICK THE Reply Button Followed By. Insert Quote. From the relavant post in the "Topic Summary" Below, But Note That:

  • Both The Original Post Showing The Name of the Poster and The Date and Time of the POSTER AND THE DATE AND TIME OF THE POSTER AND THE DATE AND TIME OF THE POSTE, 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 channes. 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 Hapaps.

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 Relvent File (s) on Your Computer Before Clicking POST.. You can Delete Your Attachment (s) Or Add Serd by, But Please Note That:

  • The Permitted File Types and Sizes Are Set by The Forum Administrator (S).
  • Although Most Forums Are Likely 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 Recpectively.
move. Move. Not Valid Xthml, But Can Also Be Used for Images!
Simple
Machines.
Forum
Simple Machines Forum Preserve 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: //someesite/somefile.swf.
http: //someesite/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

[Email Protected]
[Email Protected] *

fTP: // Somete / SomeFile
fTP: // Somete / 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.