Home USE tests - 2017 in mathematics Dinner board powered by smf. Automatic forum engine detection

Dinner board powered by smf. Automatic forum engine detection

Everyone knows that I simply cannot live without Joomla, but, in my opinion, there is no good forum in components. That's why I work with forum engines. One of the new ones I just recently started using is Starting a new SMF category with hopefully useful stuff. We start small, well, as beginners very useful.

First Steps in Search Engine Optimization Simple Machines Forum: Remove Copyright and External Links

I’ll make a reservation right away that I work only with smf 2 and this article will refer specifically to this version of the free forum engine.

And so, regular readers know how much I do not like to put "10" external links to the official sites of engines, including forum ones. That is why, first of all, we remove the copyright and as many as 4, attention 4 external links of the form " SMF 2.0.2 | Simple Machines | SMF © 2011 | XHTML" ! To do this, connect to the site via FTP forum/Themes/ name of your theme/ and edit the file index.template.php. Naturally, at the very bottom is the code (about line 330), which displays external links that we don’t like so much. Therefore, we remove: "

  • ", theme_copyright(), "
  • " and "
  • ", $txt["xhtml"], "
  • ". Everything is so simple and easy. In the next publications, wait for new materials on promoting and optimizing forums on SMF /

    Long time no love for seobayers so iam writing this tutorial for you guys:

    One of the biggest mysteries about xrumer has been creating profiles and me myself being a noob , but a smart one:P, always try to find ways for creating thins easier. Recently i was doing a test and found a good way of generating profile links easily. Before we start i will post results:

    Tools- Hrefer 3.3, Xrumer 7.5, Scrapebox, Adword tool for keyword, Keyword studio pro and a linklist merger

    Linklist generated- 250k (unique domains)
    Profiles generated- 60k (unique domains) - a lot in just 20 days.

    Step 1
    Generate keywords which people actually try to rank for. This is the most crucial step in profile building. I saw a huge list being shared on another forum which had over 300k words. I say what is the use for searching keywords like "aaaaa", "abra ka dabra" etc. Who will rank for these? So i used common sense and generated keywords which people actually use for ranking.

    Usage-
    1) Note down atleast 100 keywords from google search (not adwords) which are broad and have massive competition like credit card, insurance etc.

    2) One-by-one load these keywords into keyword studio pro (i used crack version:P) and generate similar keywords. Note that these words are better than scrapebox wonderwheel scraper.

    3) Load all these keywords into scrapebox and generate keywords upto 3 levels. De-dup them etc. and save them. Then in the end make a huge list of all the keywords generated from original 100 words.

    Step 2
    Load them into hrefer but before you begin to do this:

    1) Edit additive words and just use these:

    "powered by smf"
    "powered by vbulletin"
    "powered by phpbb"
    "powered by ip.board"

    etc. etc. etc. but only forum software names. I did this so i don't know which are the most useful.

    2) Edit search engine filter and place this:

    member.php?action=
    profile.php?viewprofile=

    etc. etc. basically all those filters which have view profile in their url.

    The logic is to get the maximum of those profiles which have been made for the purpose of visible backlinks. (Iam having trouble loggin into my dedi so will post the complete list later)

    3) Start scraping and wait for it to complete.

    Step 3- Another very important step.

    Usually you all just load the links in xrumer and blast away but no you should analyze the database also to remove dead ones. So click on tools -> database analysis

    1) Type the same "powered by" stuff into the box on the left hand side.

    2) Choose your linklist and select search content and 50 threads and go. This will remove all 404 forums and blogs etc.

    Now we run xrumer with this linklist.

    1) Load the database and setup your project.

    2) Goto advanced options -> select register only, goto speed<--->success and move all the way to success and select recaptcha with 40-50 atempts.

    3) Start and let it complete.

    While the posting is done i usually move to next keyword building step.

    When all your profiles are created, load them into linklist merger and create a big file from it. Now remove dups and all and you have a good profile link package.

    So the jist is - keywords which people search - only a few additive words and filters - right settings etc.

    You will notice that from your final linklist with medium success and recpatcha off and 20-25 atempts for captcha you will get approx 30k+ profiles. I get 60k with recaptcha and half-success

    Happy profile creation....

    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 do 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 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 Machine 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

    [email protected]
    [email protected] *

    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.

    In case someone doesn't know, Simple Machines Forum - SMF for short - is, as stated on the official website, a free, professional-grade package that will allow you to organize your own online community in a few minutes. on this engine, you can see here. I myself put my forum on it (by the way, visit FreeForum.biz).

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

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

    1. Installing and configuring Stop Spammer

    In two weeks of operation, this plugin blocked 2202 fake users. Each of them would leave at least one message. Spammers are not going to slow down and every day I would spend time clearing my forum.

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

    I turn to the “Pending approval” section (these are the spammers found who are unable to leave messages until their accounts are approved by the administrator). I put a tick "Select all" and delete them with one click:

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

    It can be seen that the list has noticeably thinned, but who are the rest? Select all and send with one button for verification:

    One “red” appeared, we immediately delete it. If you have free time, you can do others. If there is no time, then do nothing with new users - most of them will "blush" on subsequent checks. If you have time, you can go to their profiles and see - if there is a link in the signature - immediately 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). Unzip the contents of the StopSpammer_v2_3_9.zip archive to some folder. Unzip the language_full.zip archive into the same folder, agree to replace the files. Now zip our folder.

    Go to the admin panel to install packages. Opposite the inscription "Download package" there is a button for selecting a file on the computer. Choose our new archive (where we replaced the language file), upload it to the forum and activate the package.

    That's it!

    Additional plugin configuration takes place in the admin panel: go to

    Users → Registration → Settings

    You can leave the default values ​​there. There is also a "Your API key" field. Without this key, you won't 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. Installing and configuring Anti-Spam Links

    Adherents of the SEO religion (you can see more about my attitude towards SEO-nists in another) have a strong 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 is not intended for anyone from they don't come to mind). There would be a sucker, but there are ways to get money from him. So, some "citizens" provide services for "running" sites on forums. They create a large number of accounts on various forums and insert backlinks in signatures and other available fields. Despite the fact that even “seo-experimenters” have already proven by experience that these links are of no use, some warn that you can get banned from search engines for this, 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 forums, have to reckon with the facts that "cool SEO-optimizers" order a "run" of their shit crafts for a thousand rubles.

    The Stop Spammer plugin will filter out a lot. But we can help him! It is possible to knock out from under the feet of spammers the very interest to post links on your forum. That's what Anti-Spam Links is for. This plugin (specific numbers can be changed in the settings) does this:

    • those who, for example, have less than five messages, cannot leave links at all
    • those who, for example, have less than 15 posts 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 receive the nofollow attribute.
    • well, those with more than 50 posts can insert the most common active links that transfer site weight to the page they link to.

    Believe me, would-be SEOs are very attentive to the form in which their link gets to the site. They will lose interest in your forum very quickly if they cannot easily post their shit links to their shit sites there.

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

    To install this plugin, go to its official page. Download anti_spam_links_v1.0.1.zip archive (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 you do not need to unpack the archive or do anything with it.

    To configure the plugin, go to the section

    Config → Configure Mods… → Configure Mods

    Optionally, put down how many messages the user should have to upgrade their capabilities.

    Conclusion

    These two plugins will VERY make life easier for you, the forum owner, and 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!

    Let's start right away with the main script code:

    #!/usr/bin/perl

    # which-forum.pl script
    # (c) 2010 Alexandr A Alexeev, http://website/

    use strict;

    # commented lines - for strictness
    # if the task is to collect engine statistics, leave it as is
    # if you make a list of forums - uncomment

    my $data ;
    $data .= $_ while (<> ) ;

    # check how many were Powered by phpBB without footer link
    print "phpbb \n"
    if ($data =~ /]+href="[^"]*http:\/\/(?:www\.)?phpbb\.com\/?"[^>]*>phpBB/i or
    # $data =~ /viewforum\.php\?[^""]*f=\d+/i or
    $data =~ /phpBB\-SEO/i or
    $data =~ /) ;
    print "ipb \n"
    if ($data =~ /]+href="[^"]*http:\/\/(?:www\.)?invision(?:board|power)\.com\/?[^"]*"[^>]*> [^<]*IP\.Board/i or
    $data =~ /]+href="[^"]*http:\/\/(?:www\.)?invisionboard\.com\/?"[^>]*>Invision Power Board/i or
    $data =~ /

    /i or
    $data =~ /index\.php\?[^""]*showforum=\d+/i) ;
    print "vbulletin \n"
    if ($data =~ /Powered by:?[^<]+vBulletin[^<]+(?:Version)?/i or
    $data =~ /) ;
    print "smf \n"
    if ($data =~ /]+href="[^"]*http:\/\/(?:www\.)?simplemachines\.org\/?"[^>]*>Powered by SMF/i or
    $data =~ /index\.php\?[^""]*board=\d+\.0/i) ;
    print "punbb \n"
    if ($data =~ /]+href="[^"]*http:\/\/(?:(?:www\.)?punbb\.org|punbb\.informer\.com)\/?"[^>]*> PunBB/i) ; #or
    # $data =~ /viewforum\.php\?[^""]*id=\d+/i);
    print "fluxbb \n"
    # if($data =~ /viewtopic\.php\?id=\d+/i or
    if ( $data =~ /]+href="http:\/\/(?:www\.)fluxbb\.org\/?"[^>]*>FluxBB/i) ;
    print "exbb \n"
    if ($data =~ /]+href="[^"]*http:\/\/(?:www\.)?exbb\.org\/?"[^>]*>ExBB/i) ; # or
    # $data =~ /forums\.php\?[^""]*forum=\d+/i);
    print "yabb \n"
    if ($data =~ /]+href="[^"]*http:\/\/(?:www\.)?yabbforum\.com\/?"[^>]*>YaBB/i or
    $data =~ /YaBB\.pl\?[^""]*num=\d+/i ) ;
    print "dleforum \n"
    if ($data =~ /\(Powered By DLE Forum\)<\/title>/i or
    $data =~ /]+href="[^"]+(?:http:\/\/(?:www\.)?dle\-files\.ru|act=copyright)[^"]*">DLE Forum<\/a>/i) ;
    print "iconboard \n"
    if ($data =~ /]+href="[^"]*http:\/\/(?:www\.)?ikonboard\.com\/?[^"]*"[^>]*>Ikonboard/i or
    $data =~ /\n"
    if ($data =~ /\n"
    # if($data =~ /forums\.php\?fid=\d+/i or
    # $data =~ /topic\.php\?fid=\d+/i or
    if ($data =~ /]+href="http:\/\/(?:www\.)?flashbb\.net\/?"[^>]*>FlashBB/i) ;
    print "stokesit \n"
    # if($data =~ /forum\.php\?f=\d+/i or
    if ($data =~ /]+href="http:\/\/(?:www\.)?stokesit\.com\.au\/?"[^>]*>[^\/]*Stokes IT/i) ;
    print "podium \n"
    # if($data =~ /topic\.php\?t=\d+/i or
    if ($data =~ /]+href=[""]?http:\/\/(?:www\.)?sopebox\.com\/?[""]?[^>]*>Podium/i) ;
    print "usebb \n"
    # if($data =~ /forum\.php\?id=\d+/i or
    if ($data =~ /]+href="http:\/\/(?:www\.)?usebb\.net\/?"[^>]*>UseBB/i) ;
    print "wrforum \n"
    # if($data =~ /index\.php\?fid=\d+/i or
    if ($data =~ /]+href="http:\/\/(?:www\.)?wr\-script\.ru\/?"[^>]*>WR\-Forum/i) ;
    print "yetanotherforumnet \n"
    if ($data =~ /Yet Another Forum\.net/i or
    $data =~ /default\.aspx\?g=posts&t=\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 forum engine signatures in it. We used a similar technique when defining WordPress and Joomla, but there are a couple of differences. Firstly, the script itself does not load the page code, but reads it from stdin or a file passed as an argument. This allows us to download the page once, for example, using wget, and then run it through several parsers, if we have more than one. Secondly, in this script, the presence of a signature is a 100% sign of the engine. Last time, the presence of the signature only gave weight to the corresponding engine and “won” the engine with the highest weight. I decided that in this case, such an approach would only unnecessarily complicate the code.

    To test the script, I did a little research. I compiled a list of several thousand forums and ran each of them through my script, thereby determining the percentage of program activations and the popularity of various engines.

    To get the list of forums, I used my Google parser. The search engine was sent queries like

    site:forum.*.ru
    site:talk.*.ru
    site:board.*.ru
    site:smf.*.ru
    site:phpbb.*.ru
    ....

    and so on. You can find the complete query generator code in the file gen-forumsearch-urls.pl. In addition to the .ru zone, .su .ua .kz and .by were also used. It was difficult to conduct such a study last time, since WordPress and Joomla sites do not have such signatures in the URL. Catalogs like cmsmagazine.ru/catalogue/ do not provide a sufficient sample size. What is 600 sites on Drupal?

    I must admit that the results of the experiment disappointed me. Of the 12,590 sites studied, only 7,083 engines were successfully identified, that is, only in 56% of cases. Maybe I did not take into account some engine? Did Bitrix stand on half of the forums? Or should I have spent more time looking for signatures? In general, more research is needed here.

    Among the 56% of engines successfully identified, IPB (31%), phpBB (26.6%) and vBulletin (26.5%) were the most popular, as expected.

    They are closely followed by SMF (5.8%) and DLEForum (5.3%). My favorite punBB was only in 6th place (1.64%). I would not advise strongly trusting these figures (they say that every third forum in Runet works on IPB), but certain conclusions can, of course, be drawn.

    For example, if you intend to make a site on a forum engine and plan to modify the forum, say, pay users 0.01$ for each message with automatic withdrawal of funds once a week, then you should choose one of the three most popular engines. The more popular the forum, the more likely it is to find a programmer who is well versed in it.

    If no significant changes are expected in the engine, then it may make sense to choose a less popular engine, such as SMF or punBB. By doing this, you will reduce the number of hacker attacks on your forum and the amount of spam automatically sent to it.

    Scripts for finding/defining forums can also find more than one practical use. The first thing that came to my mind personally was to sort the identified forums by TCI and place posts with links to one of their sites in the first hundred. However, a hundred forum dofollow links did not affect the TCI in any way (2 updates have passed), so it's better not to waste time here unless you are interested in transitions.

    It is clear that the named use of scripts is far from the only one. I think you can easily figure out how else you can use them.