Title: Vatomi
Author: nK
Published: <strong>22.07.2018</strong>
Last modified: 02.11.2019

---

Поиск плагинов

![](https://ps.w.org/vatomi/assets/banner-772x250.png?rev=2185064)

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

![](https://ps.w.org/vatomi/assets/icon-256x256.png?rev=2185064)

# Vatomi

 Автор: [nK](https://profiles.wordpress.org/nko/)

[Скачать](https://downloads.wordpress.org/plugin/vatomi.1.0.3.zip)

 * [Детали](https://ru.wordpress.org/plugins/vatomi/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/vatomi/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/vatomi/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/vatomi/#developers)

 [Поддержка](https://wordpress.org/support/plugin/vatomi/)

## Описание

### Features

 * Envato oAuth button in registration form
 * AwesomeSupport integration for Envato products
 * Activation API for themes and plugins developers

### Activation themes/plugins for developers

 1. Fill settings in **wp_admin > Vatomi > Settings > Envato Settings**
 2. Create Licenses page in **wp_admin > Vatomi > Settings > Licenses**
 3. Use these links to let users activate your theme/plugin:
 4.  * Activate
     *     ```
           <a href="<?php echo esc_attr( 'https://{YOUR_SITE}/licenses/?vatomi_item_id={ITEM_ID}&vatomi_action=activate&vatomi_site=' . urlencode( home_url( '/' ) ) . '&vatomi_redirect=' . urlencode( admin_url( 'admin.php?page={YOUR_THEME_PAGE}' ) ) ); ?>" class="button button-primary">Activate</a>
           ```
       
     * After button clicked, user will be redirected back to their site on the page`
       admin_url( 'admin.php?page={YOUR_THEME_PAGE}' )` with available GET variables,
       that you can use:
        - **vatomi_action** (activate, deactivate)
        - **vatomi_item_id** (item ID)
        - **vatomi_license_code** (Envato purchase code)
     * Deactivate
     *     ```
           <a href="<?php echo esc_attr( 'https://{YOUR_SITE}/licenses/?vatomi_item_id={ITEM_ID}&vatomi_action=deactivate&vatomi_license={PURCHASE_CODE}&vatomi_redirect=' . urlencode( admin_url( 'admin.php?page={YOUR_THEME_PAGE}' ) ) ); ?>" class="button button-primary">Deactivate</a>
           ```
       
     * After button clicked, user will be redirected back to their site on the page`
       admin_url( 'admin.php?page={YOUR_THEME_PAGE}' )` with available GET variables,
       that you can use:
        - vatomi_action (activate, deactivate)
        - vatomi_item_id (item ID)
        - vatomi_license_code (Envato purchase code)

After theme/plugin activated, you will be able to use Vatomi API:

 * Get URL to ZIP file:
 *     ```
       https://{YOUR_SITE}/wp-json/vatomi/v1/envato/item_wp_url/{ITEM_ID}?license={PURCHASE_CODE}&site={ACTIVATED_SITE_ADDRESS}
       ```
   
 * Get item current version number:
 *     ```
       https://{YOUR_SITE}/wp-json/vatomi/v1/envato/item_version/{ITEM_ID}
       ```
   
 * Check valid purchase code (if user purchased item from you):
 *     ```
       https://{YOUR_SITE}/wp-json/vatomi/v1/envato/check_license/{PURCHASE_CODE}
       ```
   

## Установка

#### Automatic installation

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

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

#### Manual installation

The manual installation method involves downloading our Vatomi plugin and uploading
it to your webserver via your favourite FTP application. The WordPress codex contains
[instructions on how to do this here](https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation).

## Отзывы

Нет отзывов об этом плагине.

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

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

Участники

 *   [ nK ](https://profiles.wordpress.org/nko/)

[Перевести «Vatomi» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/vatomi)

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

[Посмотрите код](https://plugins.trac.wordpress.org/browser/vatomi/), проверьте 
[SVN репозиторий](https://plugins.svn.wordpress.org/vatomi/), или подпишитесь на
[журнал разработки](https://plugins.trac.wordpress.org/log/vatomi/) по [RSS](https://plugins.trac.wordpress.org/log/vatomi/?limit=100&mode=stop_on_copy&format=rss).

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

#### 1.0.3

 * improved user search code
 * changed logs prune to transient instead of cron
 * removed permission callback from rest endpoints because called twice
 * fixed license deactivation redirection when not enough data (always redirect 
   if we have redirection url and item id)

#### 1.0.2

 * added transient to Envato products api method
 * updated buttons on licenses page
 * fixed redirect urls while license activation

#### 1.0.1

 * fixed ajax purchase verification
 * added plugin version in enqueued assets

#### 1.0.0

 * Initial Release

## Мета

 *  Версия **1.0.3**
 *  Обновление: **7 лет назад**
 *  Активных установок: **10+**
 *  Версия WordPress ** 4.8.0 или выше **
 *  Совместим вплоть до: **5.3.21**
 *  Версия PHP ** 5.4 или выше **
 *  Язык
 * [English (US)](https://wordpress.org/plugins/vatomi/)
 * Метки:
 * [activation](https://ru.wordpress.org/plugins/tags/activation/)[envato](https://ru.wordpress.org/plugins/tags/envato/)
   [license](https://ru.wordpress.org/plugins/tags/license/)[oauth](https://ru.wordpress.org/plugins/tags/oauth/)
   [support](https://ru.wordpress.org/plugins/tags/support/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/vatomi/advanced/)

## Оценки

Пока что нет ни одного отзыва.

[Your review](https://wordpress.org/support/plugin/vatomi/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/vatomi/reviews/)

## Участники

 *   [ nK ](https://profiles.wordpress.org/nko/)

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/vatomi/)