the Internet Windows Android

Units Index PHP Topic Powered by SMF. First steps in SIMPLE MACHINES FORUM search engine optimization: We delete copywrites and external links

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 Requests of type were sent

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

etc. 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 reduce the number hacker attack 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 use. 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.

Everyone knows that I just can not live without Jumla, but, in my opinion, there is no good forum in the components. Therefore, I work with forum engines. One of the new ones I just recently began to use is starting a new category SMF, I hope with useful material. We start with small, well, and as newcomers are very useful.

First steps in the search engine optimization Simple Machines Forum: We delete copyright and external links

Immediately make a reservation that I only work SMF 2 and this article will relate to this version of the free forum engine.

And so, permanent readers know how much I do not like to put on "10" external references to the official sites of the engines, including forum. That is why the first thing I delete copywrites and whole 4, attention 4 external references of the species " SMF 2.0.2 | SIMPLE MACHINES | SMF © 2011 | Xhtml "! To do this, connect to the site for FTP Forum / Themes / name of your topic/ and edit the file index.template.php.. Naturally, at the bottom there is a code (about 330 lines), which is taking out that not believable to us external links. Therefore, we delete: "

  • ", theme_copyright (),"
  • "And"
  • ", $ TXT [" XHTML "],"
  • ". That's so simple and leggo. In the nearest publications, wait for new materials on promoting and optimizing forums on SMF /

    Hello, dear blog readers Website. So, we continue the theme of the forum engine settings called SMF, started in the post about it. There we have not yet made the Russian Forum, in terms of translation from the English interface. At the moment it looks not very presentable, but after Russification (if it has not yet been produced) and the creation of the relevant sections, its view will significantly improve.

    Today we will consider the topic of registration and make it Russian, as well as put the Jfusion component, which can work with both engines (and Juma, and CMF), which will allow you to have a common database of users for two and only one form of their registration and entry.

    Themes and installation of the Russian Language Package

    The Simple Machines Forum engine supports the possibility of changing topics, and they can be changed, both for the entire forum the whole and for individual sections in particular. Personally, I used the default design theme, but at the same time it made quite a few changes to it manually. In particular, I changed the background, the color solutions of some elements, added o'clock on the flash, radio and much more, what I will tell in the subsequent posts of this category.

    Why did I not use any of the additional decorations when creating a forum? Well, here, probably, the whole thing in my laziness. No, I was not too lazy to search and download new topics, the benefits of places where it can be done, many. My laziness lies in the other.

    The fact is that all the variety of mods for this engine designed to expand its capabilities, oriented precisely on a default topic. I explain. If the topic of registration you have default, then adding a mod or other in SMF takes place in seconds and, as a rule, does not require manual correction code.

    In the case of installing the Fashion on the topic of design, different from the default, it will be necessary, as they say, all untreated parts are treated with a file. In other words, you will have to use FileZilla (download and configure it can access the FTP site and open the files of your forum engine to edit the files in which this mod contributes.

    Then search for the desired location in the code and produce the necessary actions: either the replacement of the code, or delete, or add a portion of the code before or after the fragment. If we consider that the files in which you want to make changes can be around the top ten, then you can imagine how trouble will do it. At the same time, you need to be very attentive and not mistaken, because otherwise the forum may not open at all.

    If all the problems listed above are not afraid of using you, you can download them from here. Themes there are sorted by sections (minimalism close to classical, modern, etc.) and for each of them you can see its screenshot on full Screen. How to install these very topics I will tell a little later.

    If you have not Russified the forum at the stage of filling the drive of the hosting engine, as described in the first part of this opus (see the link at the very beginning of the article), then you can do it now. Previously downloaded from this page language package With the desired one, you need to unpack, and then copy the themes folder to the root folder where the directory is already present with the same name.

    At the end of the copy, you need to go to the forum under the login and password of the administrator. Select the "Admin" item in the top menu, and then in the left column, click on the Server Settings item.

    In the window that opens, find the "Default Forum Language" item and select the Russian language from the drop-down list, and then press the "Save" button at the bottom of the page.

    Everything, now your conference is already completely in Russian.

    Solving problems when installing do not support Russian mods

    Please note that in the future, when adding modes on SMF, not having a Russian translation, you can sometimes have a problem with displaying modogue settings in admin. Actually, these most settings in the admin will simply not see, because There will be no Russification files for them. Therefore, you will have two options for solving this problem.

    The first way is to transition to English for the entire forum. How can this be done, you can see several paragraphs above. Accordingly, after you produce the necessary actions with these settings, you will need to return to Russian again.

    The second way is more complicated, but it will allow us to see the settings of the installed mods in the administrator, and not only when activated of English language. I stay in this way at this moment, because the question is that someone installed the mod and cannot find its settings in the administrator of his conference, is very common.

    So, the second way is to add a translation lines to Russification files for just added mods. How to determine which Russification files need to make changes and where to take them, I will tell later. In the meantime, temporarily, you can use the first way.

    Jfusion Installation for Site Integration and Forum

    First you need to download JFusion and its Russification. Entering the Jumlé administration, we select "Expansion" from the top menu, select "Install / Delete" - "Download Package File" - "Overview" button - find the file with the JFusion_Package.zip component - click on the button " Download File & Install\u003e.

    After that, a window appears that reports that the component is set successfully. If there are problems, then you can familiarize yourself with the options for solving some of them according to the slightly above link.

    Now the queue is for Russification, which is added in the same way as the component itself. Those. We repeat the sequence of actions: "Extensions" - "Install / Delete" - "Download Package File" - "Overview" button - find the Jfusion Rusification file on your computer - click on the "Download File & Install" button. Now we can go to the settings along the path "components" - "jfusion" and make sure that Russification was successfully added and works.

    Good luck to you! To ambiguous meetings on the blog pages Website

    You may be interested

    Jfusion Setup for For Combining forum SMF. and jumla site
    Jfusion modules to display messages from the forum on the site, as well as creating a button in SMF to return to Jumlu
    Creating a menu item in Joomla to enter the forum and transferring user registration from SMF to the site
    Installing the SMF Forum - integration of Joomla 1.5 and Simple Machines Forum using component JFusion
    Extensions for Joomla - what it is and where to download components, modules and plugins for Jumla, how to install them and delete
    K2 component for creating blogs, catalogs and portals on Joomla - Opportunities, Installation and Rusification Photo Gallery for Joomla - Part 3 - Creating gallery in Joomla 1.5 using the PhoCa Gallery component - add categories and download images to the photo gallery
    Artio Joomsef - Setting up CNC (SEF) links and Title in Joomla, as well as creating a 404 error page with this expansion
    Akeba Backup (former Joomlapack) - creating a site backup on Joomla and recovery from backup Two clicks