Download monitor как работать

Русский Download Monitor и его описание

Плагин Download Monitor для WordPress — средство статистики загрузок на вашем блоге. Теперь к этому плагину есть и русский перевод. Скачать перевод плагина Download Monitor можно всегда на этой странице моего блога. Что такое плагин Download Monitor, его функции, проблемы и как с ним работать? Ответы на эти вопросы вы найдете в этой статье.

Описание плагина Download Monitor для WordPress:

Что такое плагин Download Monitor?

Как я писал выше, плагин Download Monitor, по сути Монитор Загрузок и предназначен для ведения статистики загрузок на вашем блоге. Кроме того, очень хорошо формирует вывод ссылки на загрузку. Указав несколько шаблонов можно забыть о внешнем виде ссылок, плагин все сделает сам. Также плагин скрывает реальный путь к файлу с применением ЧПУ (человеко понятного урл). Еще одной важной функцией плагина является загрузка файла только для зарегистрированных пользователей.

Сайт плагина: Перейти на сайт плагина
Автор плагина:
Перейти на сайт автора плагина
Скачать сам плагин можно в репозитарии WordPress:
Перейти на сайт загрузки плагина

Версия: 3.1.4, размер: 19.53 KB, скачали: 6091 раз.

Установка плагина Download Monitor:

  1. Скачайте плагин и его русификатор по ссылкам выше
  2. Распакуйте содержимое архива плагина с сохранением структуры в каталог плагинов WordPress: wp-content/plugins/
  3. Распакуйте русификатор плагина wp-download_monitor-ru_RU.mo в каталог плагина: wp-content/plugins/download-monitor/
  4. Зайдите в панель администратора WordPress в раздел Плагины и найдите там в самом низу плагин WordPress Download Monitor, нажмите рядом с ним Активировать
  5. Проверьте, каталог загрузок wp-content/uploads должен иметь права доступа 777
  6. Все установка завершена

Настройка плагина Download Monitor:

  1. Зайдите в панель администратора WordPress в раздел Инструменты, там появится в меню пункт Загрузки, нажимаем на него
  2. Перед вами интерфейс настроек плагина WordPress
  3. На всякий случай сразу заходим в вкладку Пересоздание базы данных и нажимаем на кнопку Пересоздание базы данных
  4. Открываем вкладку Настройки плагина, кликнув по ней мышью
  5. В строке расширений файла, добавляем необходимые вам расширения файлов которые вы собираетесь загружать в блог, остальные будут запрещены
  6. Далее настраиваем ссылки перенаправления в случае битой ссылки или не авторизированного доступа к закрытому файлу.
  7. В строке Путь к картинке указываем путь к картинке ссылке которая будет у вас вместо ссылки.
  8. Формат можно не трогать, его пока у вас все равно нет
  9. Нажимаем Сохранить
  10. Заходим в вкладку Произвольный шаблон отображения ссылки загрузки, где указываем слово с косой чертой в конце, к примеру (download/), это необходимо для включения ЧПУ ссылки.
  11. Нажимаем сохранить, и теперь Внимание, внимательно читаем то что появится сверху. Важно выполнить именно так как там пишется
  12. Заходим в вкладку Распределение загрузок по рубрикам и создаем свои рубрики, английскими буквами, сохраняем
  13. Заходим в вкладку Собственный формат отображения статистики, здесь присутствует конструктор для создания формата вывода ссылки и информации статистики на вашей странице.
    Создаем свой шаблон:
    В строке Имя: английскими буквами вводим любое название шаблона
    В строке Формат: набираем формат, к примеру так:

Что в последствии в публикации станет:
Скачать: title Версия: 1.1, размер: 10 KB, скачали: 5 раз.

  • Заголовок — можно имя файла
  • Версию файла
  • Пишите описание, что это за файл такой
  • Устанавливаете счетчик , с какого числа начнется отсчет
  • Выбираете файл для загрузки
  • Если это уже не первая версия файла и файл с таким именем уже существует, можно поставить с заменой, тогда старый файл будет удален и загружен новый
  • Выбираете рубрику для файла из ранее созданных
  • Выбираете будут ли все загружать данный файл или только зарегистрированные пользователи
  • В Загрузке с зеркал указываем ссылки на зеркала — альтернативные ссылки для загрузки этого же файла, по 1 ссылке в строке

Возможные проблемы с плагином Download Monitor:

На самом деле в основном возникают в начале только две проблемы:

  1. Проблема с ошибкой сохранения в базе данных, но в пункте 3 описания настроек я описал что нужно сделать чтобы эта проблема исчезла.
  2. Вторая проблема сложнее, она появляется в виде выброса на 404 страницу ошибки при нажатии на ссылку загрузки, типа такой страницы или файла не существует! Эта проблема имеет место только в том случае, если в плагине включена альтернативная, короткая ссылка ЧПУ в вкладке Произвольный шаблон отображения ссылки загрузки.
    Если вы сделали все что я описал в п. 10-11 внимательно, то ошибки быть не должно. Если все-таки она присутствует, опишу возможные варианты решения:

    Открываем ваш главный .htaccess, и смотрим как там располагаются блоки, должна быть очередность, что-то типа этого:

Поправьте ваш .htaccess по такой структуре и пересохраните на сервере.

Чего нет, в плагине Download Monitor и что хотелось бы:

  1. Скрытия загрузки от незарегистрированных пользователей, с выводом взамен сообщения о регистрации или логине.
  2. Защиты прямого скачивания файлов.
  3. Сообщения по email или в статистике о битой ссылке на загрузку.

Надеюсь, что данные функции появятся в следующих версиях плагина, или если это будет настолько важно, придется доделывать самому.

Буду рад, если мое описание плагина Download Monitor помогло вам! Задавайте вопросы в комментариях, с удовольствием отвечу.

Download Monitor

Download Monitor provides an interface for uploading and managing downloadable files (including support for multiple versions), inserting download links into posts, logging downloads and selling downloads!

Особенности
  • Add, edit and remove downloads from a familiar WP interface; Your downloads are just like posts.
  • Sell your downloads from within your WordPress website!
  • 100% Gutenberg compatible, including a new Download Monitor Download Block. Type /download to use it!
  • Quick-add panel for adding downloads / files whilst editing posts.
  • Add multiple file versions to your downloads each with their own data like download count and file links.
  • Define alternative links (mirrors) per download version.
  • Categorize, tag, or add other meta to your downloads.
  • Display download links on the frontend using shortcodes.
  • Change the way download links get displayed via template files.
  • Track downloads counts and log user download attempts.
  • Member only downloads, requires users to be logged in to download your files.
  • Customisable endpoints for showing pretty download links.

Download Monitor has been featured on the websites of some of the most popular and leading businesses in the WordPress ecosystem, such as WPBeginner, Pagely, Jilt, WP Fusion & Kinsta.

Download Monitor Extensions

Extend the core Download Monitor plugin with it’s powerful extensions.

Some of our popular extensions include:
— Gravity Forms Gated Content — easily create a download gate with Gravity Forms. Require users to fill-in a form before accessing a PDF any other type of download.
— Page Addon
— MailChimp Download After Sign up — Allow access to file downloads only for people who already belong to a MailChimp mailing list. This extensions facilitates the download after sign up in a MailChimp list.
— Email Lock

Документация

We have a large Knowledge Base on our Download Monitor website that contains documentation about how to how to setup and use Download Monitor.

Are you a new Download Monitor user? Read these articles on how to get your files ready for download with Download Monitor:

More advanced topics that a lot of people find interesting:

Contributing and reporting bugs

You can contribute code to this plugin via GitHub: https://github.com/WPChill/download-monitor

Поддержка

Use the WordPress.org forums for community support. If you spot a bug, you can of course log it on Github instead where we can act upon it more efficiently.

Скриншоты

Блоки

Этот плагин предоставляет 1 блок.

  • Download Button

Установка

Автоматическая установка

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t even need to leave your web browser. To do an automatic install, log in to your WordPress admin panel, navigate to the Plugins menu and click Add New.

In the search field type «Download Monitor» and click Search Plugins. Once you’ve found the plugin you can view details about it such as the the point release, rating and description. Most importantly of course, you can install it by clicking Install Now.

Ручная установка

The manual installation method involves downloading the plugin and uploading it to your webserver via your favourite FTP application.

  • Download the plugin file to your computer and unzip it
  • Using an FTP program, or your hosting control panel, upload the unzipped plugin folder to your WordPress installation’s wp-content/plugins/ directory.
  • Activate the plugin from the Plugins menu within the WordPress admin.

Часто задаваемые вопросы

Can I upload .xxx filetype using the uploader?

Download Monitor uses the WordPress uploader for uploading files. By default these formats are supported:

  • Images — .jpg, .jpeg, .png, .gif
  • Documents — .pdf, .doc, .docx, .ppt, .pptx, .pps, .ppsx, .odt, .xls, .xlsx
  • Music — .mp3, .m4a, .ogg, .wav
  • Video — .mp4, .m4v, .mov, .wmv, .avi, .mpg, .ogv, .3gp, .3g2

To add more you can use a plugin, or filters. This post is a good resource for doing it with filters: Change WordPress Upload Mime Types.

Can I link to external downloads?

Yes, you can use both local paths and external URLs.

My Download links 404

Download links are powered by endpoints. If you find them 404’ing, go to Settings > Permalinks and save. This will flush the permalinks and allow our endpoints to be added.

Download counts are not increasing when I download something

Admin hits are not counted, log out and try!

More documentation can be found in our Knowledge Base.

Отзывы

Awesome

Good for download only website

Its what i need

Default plugin

Bon plugin

Участники и разработчики

«Download Monitor» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

  • WP Chill
  • Silkalns
  • Barry Kooij
  • Mike Jolley (a11n)

«Download Monitor» переведён на 15 языков. Благодарим переводчиков за их работу.

Заинтересованы в разработке?

Журнал изменений

4.6.3 — 03.10.2022

Fixed: Double sized downloads ( #1059 )
Fixed: Failsafe logging for unsuccessful database upgrade ( #1060 )
Fixed: Password protected Downloads could not be opened ( #1055 )

4.6.2 — 29.09.2022

Fixed: WP VIP servers bug ( #1052 ) thanks to @jesusfreak3
Fixed: Progress loader for external sources ( #1051 )
Fixed: Reports Page Most downloaded Download not shown correctly ( #1048 )

4.6.1 — 26.09.2022

Fixed: User reports user fetching and displaying was broken ( #1040 ).
Fixed: Versions did not add the meta to the count ( #1041 ).
Fixed: Increase meta count if user wants ( #1042 )
Fixed: Add ordering to tables ( #1044 )
Fixed: XHR loader animation and visibility ( #1045 )

4.6.0 — 20.09.2022

Fixed: Flush permalinks on install/update to prevent 404s ( #1036 )
Changed: Don’t display DLM Uploads in Media Library ( #1014 )
Changed: Downloading a file is now beeing handled by XHR ( #1013, #832, #781 )
Fixed: Stop creating image sub-sizes for images uploaded to DLM ( #1012 )
Fixed: Order complete download button templates missing attributes ( #1010 )
Changed: Change checking from IP to new column added UUID ( #987 )
Changed: Beautify Download Monitor’s settings and UI ( #971 )
Changed: Reports page and functionalities ( #968 )
Changed: Update datepicker library ( #736 )
Fixed: Double escaping on form attributes ( #1032 )
Fixed: open_basedir warnings & errors for trying to open relative path ( #981, #890 )

4.5.99 — 12.09.2022

Fixed: Restricted schemes ( #1035)

4.5.98 — 08.09.2022

Fixed: Un-approved file download bug/security issue ( #1021 )

4.5.97 — 23.08.2022

Fixed: Class naming error

4.5.96 — 16.08.2022

Changed: Show error on upload if file not OK ( #995 )
Added: New settings field types ( #1005 )
Fixed: Download link on SiteGround with CDN not working ( #994 )
Fixed: Add parameter to filter for 3rd party payment gateway ( #992 )

4.5.95 — 25.07.2022

Fixed: Warning Undefined array key «icon», «icon-color», «icon-text» if transients are not set. ( #979 )
Fixed: On Pantheon hosted environments redirect to file doesn’t work. ( #914 )
Changed: Remove double usage of parse_file_path();. ( #983 )
Changed: Remove all non-related actions from admin_notices on Download Monitor’s pages. ( #910 )
Changed: Move all Download Monitor’s admin_notices actions to prio 8 ( #984 )
Changed: Enhanced Download Monitor’s disable survey ( #881 )
Fix: Uninstall process not targeting the components correctly ( #992 )

4.5.94 — 31.05.2022

Changed: Remove Duplicator Upsells ( #959 )
Fixed: Download url not working while permalinks are set to plain ( #964 )
Fixed: User IPs now showing in logs/download notification emails ( #965 )

4.5.93 — 25.05.2022

Fixed: Robots.txt check on all pages ( #937 )
Added: «No file provided» notification in download admin listing for «empty» downloads ( #887 )
Added: Product ID in admin DLM products listing ( #885 )
Fixed: Downloads hanging at 99% in multi-threaded mode ( #816 )
Fixed: Critical error on quick-editing a Download/Product ( #906 )
Changed: Onboarding page ( #820 )
Changed: Partition the Download Monitor’s menu into groups ( #776 )
Fixed: the_title filter too few arguments ( #908 )
Added: Notice for BETA testers ( #951 )

4.5.92 — 11.04.2022

Fixed: Missing Files/Access denied for users with out of root wp-content ( #888 )
Added: New setting for out of root/uploads directory for files to be downloaded

4.5.91 — 05.04.2022

Fixed: Error when checking for robots.txt file ( #883 )

4.5.9 — 05.04.2022

Fixed: Security issues regarding file downloads and download titles
Added: Option to not count admin downloads. ( #854 )
Added: No-index/no-follow header for redirect to file option ( #879 )
Added: Welcome banner on activation ( #874 )
Added: Robots.txt generation/protection setting ( #878 )
Added: Metabox and shortcode column for products ( #866 )
Fixed: Error downloading files if the files have been modified directly using a File Manager and the Download has not been updated ( #860 )
Fixed: Polyfill DateTimeImmutable __set_state array initialization

4.5.8 — 28.03.2022

Fixed: Upgrade to PRO now disappears when all extensions installed ( #875 )

4.5.7 — 21.03.2022

Changed: Removed Download Duplicator from LITE vs PRO page ( #872 )
Changed: Versions from Gutenberg block now mention n/a #id as title if they are non-versioned ( #873 )
Added: Upgrade to pro link in plugins page ( #870 )
Added: do_action in shortcodes so we can add scripts only if shortcode is present ( #868 )
Change: members_only column to locked_downloads in admin listing table and added filters so we can override from extensions ( #867 )

4.5.6 — 14.03.2022

Fixed: Endpoint changing value notice and flushing permalinks on endpoint change ( #801 )
Fixed: Place back the categories column in admin list view and change the copy shortcode functionality ( #821 )
Changed: Removed thumb column from Admin list table
Fixed: PolyLang compatibility ( #733 )
Changed: Uploader enhancement ( #869 )

4.5.5 — 08.03.2022
  • Fixed: Uninstall now completely removes everything based on selection ( #761 )
  • Added: New option to display featured downloads for the [downloads] shortcode ( #624 )
  • Added: Shortcode visible on all downloads page ( #821 )
  • Fixed: Set our own orderby param on Admin Dashboard ( #809 )
  • Fixed: PayPal — new API ( #861, #796, #665, #636 )
  • Fixed: Direct upload button ( #863 )
  • Fixed: Escaping on shop e-mail templates
  • Fixed: Issue preventing a product to be added to cart. ( #865 )
4.5.4 — 28.02.2022

Added: Included DLM Download Duplicator as core Download Monitor function ( #848 )
Fixed: Insert downloads button ( #811 )
Fixed: File/Version date error ( #812 )
Fixed: Download Monitor endpoint already in use by a page/post ( #826 )
Added: Secure attribute on wp_dlm_downloading cookie ( #592 )
Fixed: DLM_Admin_Fields esc_attr insead of esc_attr ( #656 )
Fixed: Dismissable warnings ( #680 )
Fixed: Browse for file should use WordPress Media Manager ( #670 )
Added: Shop enabled — create a new tab ( #858 )
Added: Lite vs Pro button in upsells ( #857 )
Fixed: Orders submenu entry under the Shop Menu entry ( #859 )

4.5.3 — 21.02.2022

Added: LITE vs PRO page — ( #851 )
Changed: Extensions UI/texts update ( #846, #849, #838 )
Fixed: Escaping the excerpt ( #790 )
Fixed: Error in logs select user filter if user was deleted ( #828 )
Added: Setting to disable file browser ( #469 )
Fixed: Translation & escaping fixes

4.5.2 — 16.02.2022

Fixed: Reports date selection bug — ( https://github.com/WPChill/download-monitor/issues/823 )
Fixed: Extensions page view on Safari

4.5.1 — 31.01.2022

Removed: Removed plugin updater from lite.

4.5.0 — 26.01.2022

Fixed: Style missing in [downloads] shortcode — ( https://wordpress.org/support/topic/box-template-styling-stopped-displaying/ )
Fixed: Downloads not being filtered by categories ( #815 )
Fixed: Missing admin.css file for Download Monitor admin header in category edit page ( #817 )
Changed: Category link in Downloads view table will now work similar to Posts and keep already set filters ( #818 )
Changed: Minor sanitization and escaping fix
Changed: Redo public taxonomies ( #775 )

4.4.14 — 12.01.2022

Added: Filter ‘dlm_filemanager_get_file_name’ to filter the displayed file name.
Fixed: Check if there are pages/posts/cpt with the same slug as the endpoint ( #774 )
Added: Filter ‘dlm_completed_order_download’ to filter download button in checkout page.
Added: DLM Rest Routes for dlm_download, dlm_download_category & dlm_download_tag
Fixed: Changed the escaping method to allow some html tags to be inserted in the title ( #783 )
Changed: The «View» category button in Downloads > Categories should not exist ( #775 )
Added: Upsells in admin download page options metabox ( #780 )
Fixed: Fixed a typo in settings. ( #663 )
Added: Quick copy button in download page. ( #717 )
Fixed: Wrong post_type in url. Coud not see order details. ( #788 )
Changed: The plugin’s css will only load when the shortcode is present. ( #782 )

4.4.13 — 16.11.2021

Fixed: Fatal error because an extra semicolon

4.4.12 — 16.11.2021

Fixed: Dependencies in widgets screen cc @HardeepAsrani
Removed: Custom webpack build and replaced with @wordpress/scripts cc @HardeepAsrani
Fixed: Optimized block with React Hooks for readibility purposes cc @HardeepAsrani
Fixed: Product not saving in downloads select ( #770 )
Fixed: Typo in file URLs
Fixed: Widget options update — ( #768 )
Fixed: Downloads not working with shop enabled ( #769 )

4.4.11 — 03.11.2021

Fixed: Reports date changing ( #755 )
Fixed: Log page — Status Column width ( #756 )
Fixed: Password protection form, password field not being displayed ( #757 )
Fixed: Escaping problem in the No-Access page ( #758 )

4.4.10 — 02.11.2021

Fixed: Escaping in admin «All Downloads» page. ( #753 )
Added: Review request in dashboard.

4.4.9 — 01.11.2021

Fixed: Escaping in admin column, displaying HTLM instead of correct form
Added: Clear transients button.

4.4.8 — 29.10.2021

Fixed: Insert Download/Quick Download Button

4.4.7 — 29.10.2021

Fixed: Sanitization & Escaping

4.4.6 — 20.10.2021

Fixed: Checking for modifications to the upload folder

4.4.5 — 20.10.2021

Fixed: PHP 8 bug — slow query ( #685 )
Fixed: Deprecated PHP 8 notice ( #682 thanks to @ashleyfae )
Fixed: PHP templates errors ( #691 )
Fixed: Single shop download error ( #690 )
Fixed: Permalink errors — retrieved permalinks on archives didn’t show the correct URL ( #689 )
Fixed : [downloads] shortcode now displays both featured and not featured downloads when left as is ( thanks to @kadimi #526 )
Added : Size filter in the placeholder image ( thanks to @jamesgol #507 )
Fixed : Sha256 support added when new files are added ( thanks to @jamesgol #633 )
Added: Upsells
Fixed: Fix download from CDN where uploads folder is replaced ( #698 )
Fixed: Fatal error on URL with version param ( #709 )
Changed: Notice display
Changed: Tab reconstruction and settings structure
Changed: TinyMCE interface for short description ( #708 )
Fixed : Added layer of security against certain SQL Injections

Как раздавать файлы в WordPress и считать закачки

Если вы даёте своим посетителям возможность скачивать файлы, то вам будет интересна эта статья. Мы расскажем вам о том, как правильно можно организовать раздачу файлов WordPress. Разрешать скачивать можно будет, что угодно – архивы, программы, музыку, фильмы, изображения и любые другие файлы. Самое главное, что метод, о котором пойдёт речь, очень прост в реализации, позволяет вести статистику скачиваний, отображать её и имеет ещё множество достоинств.

Сказать честно, раздавать файлы WordPress можно и без специальный плагинов. Для этого только нужно разместить этот файл где-то на хостинге и в нужном месте сайта указать ссылку на него. Можно даже украсить её каким-то изображением, вроде кнопки «Скачать». Но это всё очень долго, рутинно и не организованно.

Мы знаем способы по интересней.

Файлы WordPress через Simple Download Monitor

Simple Download Monitor – это небольшой, но функциональный плагин, который можно использовать для того, чтобы позволять пользователям удобно и организованно скачивать файлы WordPress. Перед началом работы скачиваем, устанавливаем и активируем его.

Плагин создаёт целую ветку в консоли, в которой и организуется скачивание файлов WordPress. Она находится в пункте «Загрузки».

Downloading Page

The Downloading Page extension for Download Monitor forces your downloads to be served from a separate page.

Installation

  • Unzip and upload the plugin’s folder to your /wp-content/plugins/ directory
  • Activate the extension through the ‘Plugins’ menu in WordPress

For more information on installing and managing plugins see here

Usage

After installing and activating the extension, you need to create the Downloading Page and set it in your Download Monitor settings.

Creating the Downloading Page

The Downloading Page is a default WordPress page. This is great because this allows you to use many other WordPress plugins to enrich your Downloading Page. A great example are the many banner plugins available, now allowing you to display an ad on every download request.

Create a new WordPress page, set any title you like and insert the [dlm_downloading_page] shortcode.

Create a new WordPress page, set any title you like and insert the [dlm_downloading_page] shortcode.

After creating a new page, give it any title you like. Most themes display the page title on the frontend as well so a title like Download in progress… is recommend.

If you want the extension to automatically generate a manually download message, enter the [dlm_downloading_page] somewhere on your page. The message outputted by the shortcode is: Your download should start automatically in a few seconds… If it doesn’t, please click here to start it manually.

The shortcode is not required but highly recommended to make sure people can always download your files. You can enter any content including images and other shortcode on the page.

Setting the Downloading Page

After you’ve created the Downloading Page, you need to set it in your Download Monitor settings. The extension comes with a new settings Downloading Page. The settings can be found under Download Monitor in your WordPress admin > then go to Advanced > Page Setup > scroll down.

On the Downloading Page tab you select the page you just created in the Creating the Downloading Page section. After you did so, hit Save Changes and you’re all done. The extension will now redirect all download requests via your Downloading Page!

Customer Usage

If you’ve followed the steps in the Usage section, your users will now be redirected to your Downloading Page when they click any of your download links.

The shortcode you’ve entered on the Downloading Page will automatically change into an explanatory text. This text also includes a (dynamic) manual download URL.

How much delay is there between the Downloading Page loading and the download starting?

The default time between the page being fully loaded and the download starting is 3 seconds.

Can I change the delay between the Downloading Page loading and the download starting?

You can change the delay using the dlm_dp_automated_start_seconds filter.
An example of how to change the delay to 5 seconds:

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *