Vatomi

plugin banner

Envato oAuth registration. Support Envato customers users with AwesomeSupport plugin.

Author:nK (profile at wordpress.org)
WordPress version required:4.8.0
WordPress version tested:5.3.3
Plugin version:1.0.3
Added to WordPress repository:22-07-2018
Last updated:02-11-2019
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:889
plugin download
Click to start download

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:

    • 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}
    

ChangeLog