Bravery intitle datalife engine control panel. Creating a simple module for CMS Datalife Engine (DLE). Settings for displaying enlarged images from thumbnails

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

There are a huge number of sites on the Internet, and they all run on different engines. The differences mainly lie in functionality engines and ease of use for outside users sites. The most popular engines are Joomla, WordPress, Drupal, DLE. Let’s look at the latter in more detail, since, being one of the most convenient and simple engines, it is increasingly chosen by webmasters and becomes the basis of most web resources.

The DLE engine is DataLifeEngine - the basis that was previously expected to be used for resources with news feeds and reviews. Today, a wide variety of sites dedicated to any topic run on this engine.

The DLE engine has earned its popularity thanks to its enormous functionality, all of which is written about in detail on the website dle-news.ru. The creators of this engine offer two versions of their product: paid and free. It is quite logical to assume that free version will be with more limited capabilities. But despite this, the free version of the DLE product is an excellent engine for both novice webmasters and more advanced ones. Sites not only with news, but also those dedicated to cooking, medical topics, etc. work great on it.

On which hosting can you install DLE?

Before you start installing the DLE engine, it would be a good idea to familiarize yourself with the requirements that it places on the server. First, there are several installed libraries: PHP Zlib, PHP XML, PHP GD2, PHP iconv. Besides, software must include Apache version 2.0 and higher, PHP 4.3.2+ or PHP 5.0+ and MySQL version no older than 4.0. RAM must be at least 8 megabytes in size, but this is the minimum. Nobody forbids using RAM with 16 megabytes, on which the product will work even better.

When using the DLE engine on the server, it is better to disable safe mode, which is designated as SafeMode.

Checking hosting for compliance

The description of the installation process that you will read below is based on the conclusions made after installing the engine on a test web resource. For a more visual example, screenshots of each stage of the installation process are provided.

We begin the installation by checking full list settings. To do this, add to the root of the site Text Document, give it the name phpinfo.php, and write the code in it:

Then we run the script that we managed to create. In the browser we type the following: https://my_site.ru/phpinfo.php. After this we can see the following picture on the page:

Those places circled in red are the main parameters that determine the further operation of the web resource being created. For example, in order to be able to work with graphic objects, the PHP GD2 Library needs to work properly. If it is installed incorrectly, the captcha will not be displayed on the site.

Also, in order for the created web resource to work normally, you need to install MySQL database. The system will request a login and password. In order not to forget this data, it is better to write it down somewhere. To configure the database, we use the control panel that is available on the hosting.

Detailed instructions for installing DLE

After the package with the engine is downloaded to your computer, you need to unpack and install it. But we will not install everything, but only the upload folder and the Documentation folder. If the hosting has a function for recognizing zip archives, the installation process will go faster. If this function is not supported, then files from the archive will have to be downloaded separately.

It is very convenient to work with TotalCommander when installing the DLE engine. When you copy files or folders to the server, the checkbox “Translate file names to lowercase” must be removed.

If the server allows you to recognize and unpack the archive, we place all the files that are in the upload folder into it at once.

Now we shut down TotalCommander and continue the installation using the ftp client. For correct operation site, you must very carefully enter the data of the server files and folders.

To adjust the Attributes, you need to select the desired folder. Once you change folder permissions, they are not replaced with the contents of the folders. The most convenient way to select files and folders that we will change is through TotalCommander or the keyboard shortcut Alt+A.

In the window that opens, enter what we need and click OK.

— Set the templates folder and all its subfolders to write permission (CHMOD 777)

— Set all files in the templates folder to write permission (CHMOD 666)

— Set write permissions (CHMOD 777) for the backup, uploads folders, as well as for all folders located inside them.

— Set write permissions (CHMOD 777) for the /engine/data/, /engine/cache/, /engine/cache/system/ folders.

When all adjustments have been made, enter the following entry in the browser: https://proba.regciti.ru/install.php. It means that we are going to run a file called install.php. After the file is launched, hints will appear in each window that opens. Based on these signatures, we continue the installation process. Basically, it will start automatically, and the system itself will check all those files that need to be installed and notify you when the installation is complete.

Now you can see the preliminary result of what you have been working so hard on all this time. Enter https://your site name/index.php into the browser line. A demo page will open in front of you. To log into the admin panel and start working, you need to enter the following entry in the address bar: https://your site name/admin.php. On the screen in case correct installation The following picture should appear:

We agree with the proposal that is displayed in the lower left corner and begin the installation. After clicking this button, a window will appear asking you to read the rules license agreement. You will be able to move to the next page only if you accept this agreement and check the appropriate box. Click “continue”:

After this, the process of checking all those components and files that have been installed will automatically begin. The script will automatically indicate the errors that were made and that need to be corrected in order to continue working. This picture contains a list of several items. They should be without a red outline - this will mean that the script did not detect any errors and you can continue working. If any item is outlined in red, we correct the error. In principle, the script may require you to fix errors, and you can refuse, but then expect the system to crash at some points. And it will only be your fault, not the providers or users. If the errors cannot be corrected, you can ask for advice or help from the provider who provides you with space on the server.

At the bottom of the window there is also a list of items that should be without a red outline. But these errors are not so critical and may not affect the operation of the future site. The thing is that the script has certain standard settings, and they may not always match user settings. It is better at this stage to consult with the hosting provider and clarify whether any of the settings highlighted in red may not coincide with those proposed by the system.

We continue and get a new window that opens. Here you can find out what mistakes were made when you made changes to Attributes for folders and files. The script itself will tell you where you made mistakes or missed something.

If there are still errors, it is better to correct them through an FTP client. After the adjustment, we update the page and see if there are still places where adjustments need to be made. If you did everything correctly and the system did not allocate any places with errors, congratulations! You have successfully completed one of the most difficult and critical stages of installation, and now you can safely continue!

MySQL Server:

MySQL encoding:

The following picture shows places that need to be entered very carefully and correctly.

The name of the database will be the same as we assigned it at the very beginning. In our case it is proba_regciti.

In the “User name” section, enter the login of the user on whose behalf the database was created. At that stage, we also wrote down the login and password just in case.

We indicate the address Email in the E-mail line. Click “Continue”. If there are no input errors, the following message will appear on the previous page: “Congratulations! Installation completed successfully."

In the next window that opens, we pay attention to several points.

When you installed the script, a database was automatically created with it, an admin account was created, and system operation settings were created. In order not to lose all settings and not start reinstallation, it is recommended to remove install.php.

I hope now you understand how to install DLE on your hosting. If you still have questions, ask them in the comments to this article.

Published by author

Dear friends,

The main stage of development of version 12.1 has been completed, the release is in testing and pre-release preparation, but in the meantime we invite you to familiarize yourself with the information about what awaits you with the release of the new version.

The following changes were prepared and implemented:

1. Support for categories has been added to the advertising management module. You can create categories in this module and place your advertising materials in these categories. Headings are displayed at the very top, in front of the list of added advertising materials, in the form of folders. Within the categories themselves, you can also create additional subcategories in an unlimited number. Thus, if you have a large number of advertising materials, you can place them for ease of navigation through them in various sections and subsections.

2. Added the ability to count the number of views for advertising materials added to the script control panel. Views are recorded only for real users who accessed the site using a browser. Bots crawling the site are not counted. View counting is enabled directly for each banner, so you can count views only for the advertising materials you need. You also have the opportunity to specify whether you want to count all banner views, or only count views from unique users.

3. For advertising materials in the admin panel, an option has been added Limit the display of a banner based on the number of views it has, and you can disable the banner when it reaches a specified maximum number of views.

4. Added the ability to count the number of clicks for advertising materials added to the script control panel. DataLife Engine automatically intercepts HTML tags published using tags <а href="..."> , and automatically keeps track of clicks on them. These links do not require any special design; they can lead to any addresses you need. You also have the option to specify whether you want to count all clicks on a link, or only count clicks from unique users.

5. For advertising materials in the admin panel, an option has been added Limit your banner display based on the number of times your banner is clicked, and you can turn off your banner display once it reaches a specified maximum number of clicks.

6. Added for advertising materials in the admin panel ability to clear the number of views and clicks for each advertising banner.

HTML"> 7. Added the use of canonical links in page code, for all pages of the site including navigation through sections, viewing the full news, etc. This opportunity allows you to increase SEO optimization sites, and also allows you to avoid duplicate pages if incorrect links to your site are published somewhere on the Internet, or if for some reason it is necessary to disable control of incorrect CNCs.

8. In the category settings in the control panel, the ability has been added set by default for a category whether it is allowed to publish news from this category on home page site. These settings are in effect at the time of adding or editing a publication, and if publication on the main page is prohibited for a category, then the corresponding option is removed at the time of adding or editing a publication.

9. In the category settings in the control panel, the ability has been added set by default for a category whether comments are allowed for posts from this category. These settings are in effect at the time of adding or editing a publication, and if comments are disabled for a category, then the corresponding option is removed at the time of adding or editing a publication.

10. In the category settings in the control panel, the ability has been added set by default for a category whether ratings are allowed for publications from this category. These settings are in effect at the time of adding or editing a publication, and if the use of ratings is disabled for a category, then the corresponding option is removed at the time of adding or editing a publication.

11. In the script settings in the control panel, in the security settings section, the ability has been added enabling automatic site protection from embedding into frames on third-party sites. When you enable this setting, your site will be automatically blocked if it is embedded in an iframe on someone else's site. This way you can protect your website from attacks such as clickjacking.

12. Expanded capabilities of the "Metatags" module, this module has been renamed “Headings, Descriptions, Meta Tags”. Now in this module you can set not only meta tags for pages, but also a separate title for the page and a description of the page, which you can later display anywhere in your template. For this purpose, new global tags for templates have been added: (page-title)- displays the title you specify for the page, (page-description)- displays the description you specify for the page. It is also acceptable to use BB and HTML tags. Thus, using this module, you can, for example, create and display titles and descriptions for the tag cloud for each tag personally, etc.

13. Added new global template text tags, which display the text enclosed in them if a title for the page being viewed was specified in the “Titles, Descriptions, Meta Tags” module. And also added opposite tags text which display the text enclosed in them if the title for the page being viewed has not been specified. Similar tags were also added for the description: text, which display the text enclosed in them if a description for the page being viewed was specified in the “Titles, Descriptions, Meta Tags” module, text which display the text enclosed in them if a description for the page being viewed has not been specified.

14. For the category menu template (categorymenu.tpl) text, which display the text enclosed in them if the category or news being viewed on the site does not belong to the category from the menu. This tag can only be used inside tags and is used, for example, to display some information (for example links) only for inactive categories from the menu.

15. Expanded capabilities for displaying publications based on the values ​​of additional fields in publications. When contacting the address http://yoursite/xfsearch/field name/field value/ publications will be displayed, as before, containing the specified value in this particular field, if the “use as cross-references” option is set for the field. When contacting the address http://yoursite/xfsearch/field value/ publications containing this value will be displayed for all additional fields. When contacting the address http://yoursite/xfsearch/field name/ All publications in which this specified field is filled in will be displayed.

16. Added the ability to assign a separate page to the script settings with the name 404.html at the root of your site, to display pages for which there is no content. If this setting is enabled, instead of the standard system message "Unfortunately, this page is inaccessible to you, perhaps its address has changed or it has been deleted.", you can display a separate, specially prepared in advance page, with a completely separate design. This innovation will be useful for webmasters who want to make a separate design for the 404 pages of their site.

17. Added the ability to assign an HTTP header to the script settings, from where it is necessary to obtain user IP addresses. This innovation will be useful for sites that use various external proxy servers and do not have the ability to correctly reconfigure the server for them in order to obtain the correct real IP addresses of visitors. For example, when using the cloudflare service and others to protect against DDOS attacks and using a regular hosting plan without access to server settings. Now you can, in the script settings in the admin panel, tell the script where to get the IP address of site visitors from.

18. When deleting a category in the script control panel, the ability to choose what to do with publications that are in this category has been added. You can: “Remove this category from publications”, “Replace the category with another or other categories”, and also “Delete all publications in this category”. Moreover, if a category is deleted or replaced from a publication, only the category being deleted will be removed or replaced. For example, your publication is in the categories “In the world”, “News”, “Popular”, and you, for example, delete the category “In the world”, then for publications located in this category only the category “In the world” will be deleted or replaced, all other categories in the list of these publications will remain in place.

19. A new type of additional field has been added for publications: “Pure HTML and JS”. Using of this field, DataLife Engine will not interfere with the text written in it, and will not filter the HTML code of this text, and also allows pure javascript code to be written in it. This field will be useful when you need to insert some code into the news that does not require a security check, for example, your own player, etc. Attention, given that the script will not filter the text from this field, when creating it, be sure to set restrictions on which groups are allowed to use it. Do not allow its use ordinary users, which you do not trust, otherwise it may pose a threat to the security of your site.

20. For additional fields of publications that have the option "Use as cross-references", added the ability to specify the separator for link data. You can specify either individual characters or HTML code as a delimiter. Previously, a comma was used as a list separator; now you can set your own personal separator for each field, which allows you to create a unique output design for each field in the template.

21. Added support for Yandex Turbo technology for regular RSS channels, without using the inclusion in the settings of the RSS stream type as "Yandex news", for this, support has been added for displaying the full news tag (full-story) for any type of RSS stream. The standard template /templates/rss.xml has also been updated, which demonstrates what a template with full Yandex Turbo support should look like. Similarly, the ability to customize an RSS template for Yandex Zen technology is fully supported.

22. Added the ability to reply to comments when viewing all the latest comments on the site, if support for tree comments is enabled in the script settings. Thus, you can, for example, quickly respond to comments received on the site without going into each news item, due to the fact that some heavy scripts have been transferred to delayed loading and independent of page rendering. These scripts are loaded into the browser in parallel with page rendering and are launched only after the page is completed in the browser. Which visually ensures faster page display.

24. Added an option for users who are not registered on the site, send complaints to the site administration about news and comments, just as such an opportunity existed previously only for registered users.

25. Added use of schema.org micro markup to display a rating with the "Evaluation" type. The use of this micro-markup allows for full news, when displayed in search results on Google, to also display the publication rating.

26. Added automatic orientation detection photos when uploading them to the server, based on the metainformation contained in the graphic files. If the original photo was upside down, then when it is uploaded to the server, the script will also automatically rotate it to the desired position. This eliminates the need to additionally edit pictures on a computer if the camera was rotated when taking photographs.

27. Added automatic notification feature site administration about admission new news from users under moderation (if this is enabled in the script settings), if the news was added from the script control panel. Previously, a notification was sent only if a post was added directly from the site.

28. If the user edits a publication in the control panel, which was previously published on the site, but according to the settings of his group, he is prohibited from publishing without moderation, or is not allowed to publish in all categories, then the site administration will also be sent a corresponding e-mail notification that this news is awaiting moderation.

29. Changes have been made to the operation of the Breadcrumbs module on the site. If news from a certain category is viewed, then for the category in which the user is directly located, this category will be displayed in the form of plain text and not a link. Only categories higher in the hierarchy will be displayed as a link, or a link to this category will appear if, for example, the user has gone further in navigating pages in this category. Thus, this innovation allows you to avoid cyclic links of pages to themselves.

30. For the "Cross-references" module in the control panel, added two new replacement areas for links. You can optionally specify a replacement only in static pages, and you can also select a replacement in static pages, news and comments.

31. For the "Search and Replace" module in the control panel, the ability to mass replace text in surveys for publications and in voting on the site has been added.

32. Added the ability to delete all publications, awaiting moderation from a specific user. To do this, in the user management section, click on the number of his publications and select the appropriate menu item.

33. Added the ability to delete all comments, awaiting moderation from a specific user. To do this, in the user management section, click on the number of his comments and select the appropriate menu item.

34. Added formatted script to the admin panel displaying the number of different counters (views, publications, comments). The output of these counters is carried out in formatted form, separated by a space of hundreds, thousands, millions, etc. Which gives a more visual representation and perception of these numbers.

35. For templates for displaying comments and adding comments (addcomments.tpl and comments.tpl) added support for new tags text- displays text in a tag if the news belongs to the specified categories, as well as tags: text- displays text in the tag if the news does not belong to the specified categories. Thus, you can set different formats for displaying comments and adding comments for publications from different categories.

36. Added support for word declensions for the tag displaying the number of votes that were given for the rating of publications. For example, you can use (vote-num) review||a|s. Previously, this was not available for this tag, because... it contains HTML code, not just a number.

37. If the script settings enable the use of the site only via the HTTPS protocol, then cookies will also be sent to the server by the browser only via the HTTPS protocol and will be automatically blocked if the regular HTTP protocol is used.

38. Added control of incorrect CNC for static pages, the publication text of which is divided into several pages. If an incorrect page number is specified, an automatic 301 redirect will be made to the starting address of this page.

39. For RSS import of publications, support for importing pictures from the enclosure tag has been added containing an image for publication. If short description in the RSS stream is just text, and the picture is given in it as a separate tag, then when importing the short news, the picture for this publication will also be added to the very beginning.

40. Added support for redirects to receive full news when using RSS import of publications. If the link from the RSS feed is a redirect for further transition to the full text of the news on the source site, then DataLife Engine will automatically follow this redirect and take content from the final source. Thus, receiving complete news will be of higher quality than before.

41. Changes have been made to the operation of tags and. If the use and adding of comments is prohibited for a particular publication, then these tags will also hide the content in them.

42. If comments are allowed for publication, but at the same time, according to other settings, the user or group of users was prohibited from publishing comments, then a message about this will not be displayed at the end of all comments, but in the place where in your template you define the display of the form for adding a comment with the tag (addcomments), thereby you can determine the location of this message on your site.

43. To authorize using social network"Classmates", the ability to automatically receive the user’s E-mail has been added, provided that the application itself has received the appropriate rights from Odnoklassniki. Attention, by default Odnoklassniki does not provide rights to receive E-mail, and to obtain appropriate access you must additionally contact social media. network to allow receiving e-mail. If permission is received, DLE will also automatically import the e-mail address.

44. Improved system for calculating image proportions when creating reduced copies. This creates a more correct and high-quality reduced copy.

45. Improved publication search system when the simple search type is enabled in the script settings. The new algorithm allows you to more accurately and correctly find publications.

46. ​​Improved system for controlling the appearance of duplicate pages, when viewing all the latest comments on the site.

47. Optimized processing of additional publication fields when displaying short publications, as well as when running the module for displaying popular publications.

48. Visual editors TinyMCE and Froala have been updated to the latest versions. A number of identified errors in these editors have been corrected.

49. Added insertion support for the TinyMCE editor hidden text tags using the corresponding button in the editor.

50. When using the Floara editor for comments, the ability to fast loading and inserting images into comments. You can either click on the insert picture icon and select a file to upload, or simply drag the picture file from your computer into the editor field with the mouse, after which the picture will be automatically loaded and inserted at the cursor position in the editor.

51. Small changes have been made to the layout of the script control panel, aimed at eliminating some layout errors and improving interaction with the control panel.

52. Updated to current versions a library for sending mail from a website, as well as a library for detecting mobile devices.

53. Problem fixed, in which the and tags were not processed in the post preview.

54. Problem fixed, in which meta tags for social media were formed incorrectly. video and audio networks, if the video was published in additional. fields and consisted of playlists and descriptions of video and audio files.

55. Problem fixed, in which, under certain situations and server settings, the preview of publications might not work when adding publications from the site.

56. Problem fixed, in which dynamic loading of comments did not work if this was enabled in the script settings, and the tag (jsfiles) was placed at the very bottom of the site.

57. Problem fixed, in which the display of the latest comments did not work if viewing of certain categories was prohibited for a certain group.

58. Previously discovered and reported minor errors in the script have been corrected.

It is probably common for all people to forget some information. This especially applies to passwords and logins from various sites.

You (or the person who gave you access) created strong password, but did not write it down in a secluded place and forgot. What to do in this case?

By default, DataLife Engine does not allow password recovery for the Administrators group. This is done for obvious reasons - after all, if a person has access to your mail, then he has access to your website.

But you can enable password recovery option in a standard way(via the recovery form) and for administrators. Read about how to do this in this article.

The same article is devoted to those cases when standard password recovery is not enabled, but you need to regain access to the control panel.

I will tell you about two recovery methods, they are simple. Everyone chooses the method that seemed more convenient to him.

Restoring access to the site control panel in DataLife Engine via SQL query

From the title, I think you already understand that to change the password you need to make an SQL query in your database. I described in detail how to make an SQL query in .

You need to make a request of the following type:

UPDATE `dle_users` SET `password` = "d9b1d7db4cd6e70935368a1efb10e377" WHERE `user_id` = "1";

Where " 1 " is the administrator ID (change it to yours), and " " - password " 123 » in encrypted form.

After the request has been successfully completed (if you encounter any difficulties, write about it in the comments), you can log into the site control panel using your username and password " 123 ».

Restoring access to the site control panel in DataLife Engine through an additional user

In this case you need to register new profile on your site and give it the proper rights.

For this:

1. Register a new profile (be sure to remember your login).

2. In your database, run the SQL query:

UPDATE `dle_users` SET `user_group` = "1" WHERE `name` = "login";

Where " login" – login of the new user (change to yours).

That's all, actually. Using this request, we make the specified user an admin, and with his data you can log in to the control panel of your site.

DataLife Engine (DLE)is a multi-user news engine designed for organizing your own blogs and media on the Internet. Thanks to powerful system publishing, setting up and editing news, the engine is one step ahead of its closest competitors. And thanks to the precise and thoughtful structure of the kernel, which minimizes the requirements for server resources, the engine is able to easily work with highly visited projects without creating any special load on the server. Flexibility and ease of customization and integration of your own design will allow you to deploy your own websites in the shortest possible time, without any additional material costs. Using advanced AJAX technology will reduce both your server traffic and the traffic of your visitors, not to mention the ease of use of this technology on the site. Thanks to the increased attention to the security of the script, the ease of working with it, as well as dynamic development, more than 70,000 portals have already spoken in favor of using DataLife Engine, successfully using it in their work. The engine is optimized for search engines, which will bring additional customers to your site.

Official site:http://dle-news.ru/

FAQ: http://dle-news.ru/faq.html

Please note that this software ispaid, and installation will be discussed using an exampledemo versions.

InstallationCMS DLE

    To start installing DLE, you need to go to your hosting control panel using the link and data sent to your contact e-mail when ordering the service.

    Download the CMS DLE (DataLife Engine) distribution kit, for example here http://dle-news.ru/demo.html .

    Go to the hosting control panel, select “File Manager”, then go to the www/domain_name directory. We delete the index.html file created by default when adding a domain, click the “Upload” button, select the CMS DLE archive and click OK.

    After downloading the CMS DLE (DataLife Engine) archive, click on it once so that it is highlighted and press the “Extract” button. After unpacking the archive you should end up with something like this:

    Next, we need to create a CMS DLE (DataLife Engine) database; to do this, in the hosting control panel, go to the “Databases” item and click the “Create” button. Enter the database name, username and password and click OK:

In the future, the name of the database and user is used with a prefix in the form of your login in the hosting control panel:

The "Database Type" column displays the database host db01.site.

    After completing the steps described above, access your domain name in the browser, proceed to install CMS DLE (DataLife Engine) and press the button “Start installation”:

Note! To start installing CMS DLE (DataLife Engine) when accessing a domain, the domain must already respond to records from the hosting server. If the domain has just been added to the server and information about its records has not yet been distributed over the network, you can register and save it on your computer in hosts file the following entry: server IP address domain name

83.69.23*.*** domain name

The server IP address can be viewed in the hosting control panel. Domain names- Recordings record:

domain_name.ru.

A (Internet v4 address)

    In the next step, to continue the installation, you need to read and accept the license agreement.

Check the box "I accept the terms of the agreement" and continue with the installation.

9. One of the important steps during installation is setting up the system configuration, where you need to correctly specify the connection data to the database and set the login and password of the site administrator.

Data that is required from you (using the example of our user):

Base name: vh12345_dle

DB username: vh 12345_ admin

Password: the password you specified when creating the database

MySQL Server: Database Type column in the Databases section db01.site(see point 4) or

indicate in this field mysql.your_domain

The prefix is ​​set arbitrarily.

Control panel access data- this is a creation account administrator of your site, here we indicate the desired login/password and e-mail of the administrator.

    Installation of CMS DLE (DataLife Engine) is complete.

Delete the file install.php, it is located in the directory www/your_domain

    We request a domain through a browser, log into the admin panel of the CMS DLE (DataLife Engine) and start working with the site.

You can read about all the new features of DLE 12.1 in this article.

DataLife Engine v.12.1 Press Release will tell you about the addition to the advertising module, now the module supports the category function, in this version you can keep track of the number of views of advertising materials and other additions related to advertising management.

It is good that using canonical links is added in the code for all pages of the site, including navigation through sections, viewing the full news, etc. This is a trick to improve SEO optimization of projects, it will eliminate duplicate pages if incorrect links to your site are published somewhere on the Internet, or if for some reason it is necessary to disable control of incorrect CNCs.

For security purposes, a function has been added to automatically protect the site from flooding code or inserting frames on third-party sites. When you enable this setting, display of your resource will be automatically blocked if it is embedded in an iframe on someone else's site. This way you can protect your website from attacks such as clickjacking.

Another interesting feature for SEO website optimization is the expanded capabilities of the “Metatags” module; now you can set not only meta tags for pages, but also any separate title for the page and page description, which you can later display anywhere in your template.

(Recommended)
Hosting with free SSL certificate for site, modern equipment on SSD - one of the leaders in quality and low price. In this article we read.

By the way, if you need a high-quality one with a free SSL certificate, profitable tariff plan and a protected provider, this promotional code provides a 5% discount on ordering a domain and/or hosting

A460-09C2-059C-5161

For example about free hosting(Free hosting) Without advertising and conditions running DataLife Engine 12-9.x or any other CMS - this service will help you understand within a month whether hosting is suitable for you or not.

We offer download DLE different versions on http://www.site in the section for everyone without registering (licensed versions UTF 8 and Win 1251).

The main stage of development of version 12.1 has been completed, the release is in testing and pre-release preparation, but in the meantime we invite you to familiarize yourself with the information about what awaits you with the release of the new version.

The following changes were prepared and implemented:

1. Added support for categories in the advertising management module. You can create categories in this module and place your advertising materials in these categories. Headings are displayed at the very top, in front of the list of added advertising materials, in the form of folders. Within the categories themselves, you can also create additional subcategories in an unlimited number. Thus, if you have a large number of advertising materials, you can place them for ease of navigation through them in various sections and subsections.

2. Added the ability to count the number of views for advertising materials, added to the script control panel. Views are recorded only for real users who accessed the site using a browser. Bots crawling the site are not counted. View counting is enabled directly for each banner, so you can count views only for the advertising materials you need. You also have the opportunity to specify whether you want to count all banner views, or only count views from unique users.


3. For advertising materials in the admin panel, the ability to limit banner display has been added based on the number of views it has, and you can disable the banner when it reaches a specified maximum number of views.

4. Added the ability to count the number of clicks for advertising materials added to the script control panel. DataLife Engine automatically intercepts HTML tags published using the tags and automatically records clicks on them. These links do not require any special design; they can lead to any addresses you need. You also have the option to specify whether you want to count all clicks on a link, or only count clicks from unique users.

5. For advertising materials, the admin panel has added the ability to limit banner display based on the number of clicks on your banner, and you can disable banner display when the specified maximum number of clicks on it is reached.

7. Added use of canonical links, in the page code, for all pages of the site including navigation through sections, viewing the full news, etc. This feature allows you to increase SEO optimization of sites, and also allows you to avoid duplicate pages if incorrect links to your site are published somewhere on the Internet, or if for some reason it is necessary to disable control of incorrect CNCs.

8. In the category settings in the control panel, added the ability to set by default for a category whether it is allowed to publish news from this category on the main page of the site. These settings are in effect at the time of adding or editing a publication, and if publication on the main page is prohibited for a category, then the corresponding option is removed at the time of adding or editing a publication.

9. In the category settings in the control panel, added the ability to set by default for a category whether comments are allowed for posts from this category. These settings are in effect at the time of adding or editing a publication, and if comments are disabled for a category, then the corresponding option is removed at the time of adding or editing a publication.

10. In the category settings in the control panel, added the ability to set by default for a category whether ratings are allowed for publications from this category. These settings are in effect at the time of adding or editing a publication, and if the use of ratings is disabled for a category, then the corresponding option is removed at the time of adding or editing a publication.

11. In the script settings in the control panel, in the security settings section, the ability to enable automatic site protection from embedding into frames on third-party sites has been added. When you enable this setting, your site will be automatically blocked if it is embedded in an iframe on someone else's site. This way you can protect your website from attacks such as clickjacking.


12. The capabilities of the "Metatags" module have been expanded, This module has been renamed to "Titles, Descriptions, Meta Tags". Now in this module you can set not only meta tags for pages, but also a separate title for the page and a description of the page, which you can later display anywhere in your template. For this purpose, new global tags for templates have been added: (page-title) - displays the title you specify for the page, (page-description) - displays the description you specify for the page. It is also possible to use BB and HTML tags in the page description. Thus, using this module, you can, for example, create and display titles and descriptions for the tag cloud for each tag personally, etc.

13. Added new global template text tags, which display the text enclosed in them if a title for the page being viewed was specified in the “Titles, Descriptions, Meta Tags” module. And also added opposite text tags that display the text enclosed in them if the title for the page being viewed has not been set. Similar tags were also added for the description: text , which display the text enclosed in them if a description for the page being viewed was specified in the "Titles, Descriptions, Meta Tags" module, text , which display the text enclosed in them if there was no description for the page being viewed given.

14. Support for new text tags has been added for the category menu template (categorymenu.tpl), which display the text enclosed in them if the category or news being viewed on the site does not belong to the category from the menu. This tag can only be used inside tags and is used, for example, to display some information (for example links) only for inactive categories from the menu.

15. Expanded capabilities for displaying publications based on the values ​​of additional fields in publications. When accessing the address http://yoursite/xfsearch/field name/field value/, publications will be displayed, as before, containing the specified value in this particular field, if the “use as cross-references” option is set for the field. When you access http://yoursite/xfsearch/field value/, publications containing this value for all additional fields will be displayed. When you access http://yoursite/xfsearch/field name/, all publications in which this specified field is filled in will be displayed.

16. The ability to assign a separate page named 404.html at the root of your site to display pages for which there is no content has been added to the script settings. If you enable this setting, instead of the standard system message “Unfortunately, this page is not available to you, its address may have changed or it has been deleted.”, you can display a separate, specially prepared page with a completely separate design. This innovation will be useful for webmasters who want to create a separate design for the 404 pages of their website.

17. The ability to assign an HTTP header has been added to the script settings, from where it is necessary to obtain user IP addresses. This innovation will be useful for sites that use various external proxy servers and do not have the ability to correctly reconfigure the server for them in order to obtain the correct real IP addresses of visitors. For example, when using the cloudflare service and others to protect against DDOS attacks and using a regular hosting plan without access to server settings. Now you can, in the script settings in the admin panel, tell the script where to get the IP address of site visitors from.

18. When deleting a category in the script control panel, the ability to choose what to do with publications that are in this category has been added. You can: “Remove this category from publications”, “Replace the category with another or other categories”, and also “Delete all publications in this category”. Moreover, if a category is deleted or replaced from a publication, only the category being deleted will be removed or replaced. For example, your publication is in the categories “In the world”, “News”, “Popular”, and you, for example, delete the category “In the world”, then for publications located in this category only the category “In the world” will be deleted or replaced, all other categories in the list of these publications will remain in place.

19. A new type of additional field has been added for publications: "Pure HTML and JS." When using this field, DataLife Engine will not interfere with the text written in it and will not filter the HTML code of this text, and also allows pure javascript code to be written in it. This field will be useful when you need to insert some code into the news that does not require a security check, for example, your own player, etc. Attention, given that the script will not filter the text from this field, when creating it, be sure to set restrictions on which groups are allowed to use it. Do not allow its use by ordinary users whom you do not trust, otherwise it may pose a security risk to your site.

20. For additional publication fields, which have the "Use as cross-references" option, the ability to specify a separator for link data has been added. You can specify either individual characters or HTML code as a delimiter. Previously, a comma was used as a list separator; now you can set your own personal separator for each field, which allows you to create a unique output design for each field in the template.

21. Added support for Yandex Turbo technology for regular RSS channels, without using the inclusion in the settings of the RSS stream type as "Yandex news", for this, support has been added for displaying the full news tag (full-story) for any type of RSS stream. The standard template /templates/rss.xml has also been updated, which demonstrates what a template with full Yandex Turbo support should look like. Similarly, the ability to customize an RSS template for Yandex Zen technology is fully supported.



22. Added the ability to reply to comments when viewing all the latest comments on the site,
if support for tree comments is enabled in the script settings. Thus, you can, for example, quickly respond to comments received on the site without going into each news item, due to the fact that some heavy scripts have been transferred to delayed loading and independent of page rendering. These scripts are loaded into the browser in parallel with page rendering and are launched only after the page is completed in the browser. Which visually ensures faster page display.

24. Added an option for users who are not registered on the site, send complaints to the site administration about news and comments, just as such an opportunity existed previously only for registered users.

25. Added the use of schema org micro markup to display ratings with the "Evaluation" type. The use of this micro-markup allows for full news, when displayed in search results on Google, to also display the publication rating.

26. Added automatic detection of the orientation of photos when uploading them to the server, based on meta-information contained in graphic files. If the original photo was upside down, then when it is uploaded to the server, the script will also automatically rotate it to the desired position. This eliminates the need to additionally edit pictures on a computer if the camera was rotated when taking photographs.

27. Added the ability to automatically notify the site administration about the arrival of new news from users
, which is under moderation (if this is enabled in the script settings), if the news was added from the script control panel. Previously, a notification was sent only if a post was added directly from the site.

28. If the user edits a publication in the control panel, which was previously published on the site, but according to the settings of his group, he is prohibited from publishing without moderation, or is not allowed to publish in all categories, then the site administration will also be sent a corresponding e-mail notification that this news is awaiting moderation.

29. Changes have been made to the operation of the Breadcrumbs module on the site. If news from a certain category is viewed, then for the category in which the user is directly located, this category will be displayed in the form of plain text and not a link. Only categories higher in the hierarchy will be displayed as a link, or a link to this category will appear if, for example, the user has gone further in navigating pages in this category. Thus, this innovation allows you to avoid cyclic links of pages to themselves.

30. For the "Cross-references" module in the control panel, added two new replacement areas for links. You can optionally specify a replacement only in static pages, and you can also select a replacement in static pages, news and comments.

31. For the "Search and Replace" module in the control panel, the ability to mass replace text in surveys for publications and in voting on the site has been added.


32. Added the ability to delete all publications, awaiting moderation from a specific user. To do this, in the user management section, click on the number of his publications and select the appropriate menu item.

33. Added the ability to delete all comments, awaiting moderation from a specific user. To do this, in the user management section, click on the number of his comments and select the appropriate menu item.


34. A formatted output of the number of different counters (views, publications, comments) has been added to the script's admin panel. The output of these counters is carried out in formatted form, separated by a space of hundreds, thousands, millions, etc. Which gives a more visual representation and perception of these numbers.

35. For templates for displaying comments and adding comments (addcomments.tpl and comments.tpl), support has been added for new tags text - displays text in the tag if the news belongs to the specified categories, as well as tags: text - displays text in the tag if the news does not belong the specified categories. Thus, you can set different formats for displaying comments and adding comments for publications from different categories.

36. Added support for word declinations for the tag displaying the number of votes, which were exposed for rating publications. For example, you can use (vote-num) review||a|s. Previously, this was not available for this tag, because... it contains HTML code, not just a number.

37. If the script settings enable the use of the site only via the HTTPS protocol, then cookies will also be sent to the server by the browser only via the HTTPS protocol and will be automatically blocked if the regular HTTP protocol is used.

38. Added control of incorrect CNC for static pages, the publication text of which is divided into several pages. If an incorrect page number is specified, an automatic 301 redirect will be made to the starting address of this page.

39. For RSS import of publications, support has been added for importing pictures from the enclosure tag containing the image for the publication. If the short description in the RSS stream is just text, and the picture is given in it as a separate tag, then when importing the short news, the picture for this publication will also be added to the very beginning.

40. Added support for redirects to receive full news when using RSS import of publications. If the link from the RSS feed is a redirect for further transition to the full text of the news on the source site, then DataLife Engine will automatically follow this redirect and take content from the final source. Thus, receiving complete news will be of higher quality than before.

41. Changes have been made to the operation of tags and. If the use and adding of comments is prohibited for a particular publication, then these tags will also hide the content in them.

42. If comments are allowed for publication, but at the same time, according to other settings, the user or group of users was prohibited from publishing comments, then a message about this will not be displayed at the end of all comments, but in the place where in your template you define the display of the form for adding a comment with the tag (addcomments), thereby you can determine the location of this message on your site.

43. For authorization using the Odnoklassniki social network, the ability to automatically receive the user’s E-mail has been added, provided that the application itself has received the appropriate rights from Odnoklassniki. Attention, by default Odnoklassniki does not provide rights to receive E-mail, and to obtain appropriate access you must additionally contact social media. network to allow receiving e-mail. If permission is received, DLE will also automatically import the e-mail address.

44. Improved system for calculating image proportions when creating small copies. This creates a more correct and high-quality reduced copy.

45. Improved search system for publications when enabled in the script settings, a simple search type. The new algorithm allows you to more accurately and correctly find publications.

46. ​​Improved system for controlling the appearance of duplicate pages, when viewing all the latest comments on the site.

47. Optimized processing of additional publication fields when displaying short publications, as well as during the operation of the module for displaying popular publications.

48. Visual editors TinyMCE and Froala have been updated to the latest versions. A number of identified errors in these editors have been corrected.

49. Added support for inserting hidden text tags for the TinyMCE editor, using the corresponding button in the editor.

50. When using the Floara editor for comments, added the ability to quickly download and insert images into comments. You can either click on the insert picture icon and select a file to upload, or simply drag the picture file from your computer into the editor field with the mouse, after which the picture will be automatically loaded and inserted at the cursor position in the editor.

51. Small changes have been made to the layout of the script control panel, aimed at eliminating some layout errors and improving interaction with the control panel.

52. The library for sending mail from the site has been updated to the latest versions, as well as a mobile device detection library.

53. Fixed an issue where the and tags were not processed in the post preview.

54. Fixed an issue where meta tags for social media were generated incorrectly. video and audio networks, if the video was published in additional. fields and consisted of playlists and descriptions of video and audio files.

55. Fixed a problem where, under certain situations and server settings, previewing publications might not work when adding publications from the site.

56. Fixed an issue where dynamic loading of comments did not work, if this is enabled in the script settings, and the tag (jsfiles) is placed at the very bottom of the site.

57. Fixed an issue where displaying the latest comments did not work, in case viewing of certain categories was prohibited for a certain group.

58. Previously discovered and reported minor errors in the script have been corrected.



tell friends