Changeset 1950867
- Timestamp:
- 10/03/2018 01:28:47 PM (8 years ago)
- Location:
- ignico/trunk
- Files:
-
- 2 deleted
- 10 edited
-
CHANGELOG.md (modified) (1 diff)
-
README.md (modified) (3 diffs)
-
css (deleted)
-
fonts (deleted)
-
ignico.php (modified) (2 diffs)
-
inc/admin/class-assets.php (modified) (2 diffs)
-
inc/core/class-init.php (modified) (3 diffs)
-
readme.txt (modified) (3 diffs)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/composer/ClassLoader.php (modified) (1 diff)
-
vendor/composer/autoload_real.php (modified) (3 diffs)
-
vendor/composer/autoload_static.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ignico/trunk/CHANGELOG.md
r1934813 r1950867 1 <a name="0.3. 0"></a>2 # [0.3.0](https://github.com/ignicoapp/ignico-wordpress/compare/0.2.0...0.3.0) (2018-09-03)1 <a name="0.3.1"></a> 2 ## [0.3.1](https://github.com/ignicoapp/ignico-wordpress/compare/0.3.0...0.3.1) (2018-10-03) 3 3 4 4 -
ignico/trunk/README.md
r1921447 r1950867 15 15 * Loads cookie to the user upon entrance and saves there Referral Code from the URL (comes from affiliate link sent before by one of the brand ambassadors), 16 16 * Sends API call with the transaction to Ignico once order in e-commerce platform (based on WooCommerce or Easy Digital Download) is paid. The transaction value equals the amount of the order. 17 18 Based on these transactions, Ignico calculates rewards for brand ambassadors based on rewarding automation rules set within motivation plans. 17 * Calculates rewards for brand ambassadors based on e-commerce transactions from the plugin and rewarding rules configured within motivation plans in Ignico admin panel 19 18 20 19 ## Use cases … … 33 32 34 33 ## Installation :package: 35 1. Visit Plugins > Add New 36 2. Search for "Ignico" 37 3. Install and activate "Ignico" 34 1. Log in to Wordpress admin panel 35 2. Visit Plugins > Add New 36 3. Search for "Ignico" 37 4. Install and activate "Ignico" 38 38 39 39 or … … 42 42 2. Upload the ignico directory to your /wp-content/plugins/ directory 43 43 3. Activate the plugin through the "Plugins" menu in WordPress 44 45 ### Configiration ### 46 47 In plugin configuration, you are asked to set: 48 49 * Workspace name in Ignico that is set during signing up for [Ignico trial](http://igni.co) 50 * Client ID and Client secret -> you generate them in Ignico admin panel -> Integrations -> OAuth 51 52 Additionally you can also configure cookie settings of the plugin in „Settings” section. 53 54 ### How to test integration? ### 55 56 * Go to Ignico admin panel -> Referrals -> Referral links and add a link to your e-commerce store 57 * Create test user account, go to Ignico admin panel -> Users -> New user 58 * Log in on user account, go to Referrals -> Referral links and go to the referral link to your store, you should be redirected to URL: http://yourstorename.com?__igrc=REFCODE 59 * Make a purchase and mare it as paid 60 * Go to Ignico admin panel -> Actions -> Actions list - you should see your order on the list 44 61 45 62 ## Contribute :hand: -
ignico/trunk/ignico.php
r1934813 r1950867 13 13 * Plugin Name: Ignico 14 14 * Description: Ignico is rewards & commission automation engine that helps businesses create their referral, loyalty, MLM, gamification or social selling program on the top of existing e-commerce platforms or CRM's. 15 * Version: 0.3. 015 * Version: 0.3.1 16 16 * Author: Ignico Sp. z o.o. 17 17 * Author URI: http://igni.co … … 27 27 } 28 28 29 if ( ! defined( 'IGNICO_VERSION' ) ) 30 define( 'IGNICO_VERSION', '0.3.1' ); 31 29 32 /** 30 33 * Load autoloader to not bother to requiring classes. -
ignico/trunk/inc/admin/class-assets.php
r1921447 r1950867 53 53 * Main plugin style 54 54 */ 55 wp_register_style( $this->plugin['id'], $this->plugin['url'] . '/css/style.css', array(), $this->plugin['version'], 'all' );55 wp_register_style( $this->plugin['id'], $this->plugin['url'] . '/css/style.css', array(), IGNICO_VERSION, 'all' ); 56 56 } 57 57 … … 71 71 * Main plugin style 72 72 */ 73 wp_register_style( $this->plugin['id'], $this->plugin['url'] . '/css/style.min.css', array(), $this->plugin['version'], 'all' );73 wp_register_style( $this->plugin['id'], $this->plugin['url'] . '/css/style.min.css', array(), IGNICO_VERSION, 'all' ); 74 74 } 75 75 -
ignico/trunk/inc/core/class-init.php
r1934813 r1950867 24 24 * public-facing site hooks. 25 25 * 26 * Also maintains the unique identifier of this plugin as well as the current 27 * version of the plugin. 26 * Also maintains the unique identifier of this plugin. 28 27 * 29 28 * @package IgnicoWordPress … … 43 42 * Define the core functionality of the plugin. 44 43 * 45 * Set the plugin name and the plugin versionthat can be used throughout the plugin.44 * Set the plugin name and the plugin id that can be used throughout the plugin. 46 45 * Load the dependencies, define the locale, and set the hooks for the admin area and 47 46 * the public-facing side of the site. … … 64 63 65 64 /** 66 * The current version of the plugin.67 *68 * @var string $version The current version of the plugin.69 */70 $this['version'] = '0.3.0';71 72 /**73 65 * The plugin path. 74 66 * -
ignico/trunk/readme.txt
r1934813 r1950867 4 4 Requires at least: 3.8 5 5 Requires PHP: 5.6 6 Tested up to: 4.9. 67 Stable tag: 0.3.06 Tested up to: 4.9.8 7 Stable tag: trunk 8 8 License: GPL-2.0-or-later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 17 17 Ignico automatically: 18 18 19 * Loads cookie to the user upon entrance and saves there Referral Code from the URL (comes from affiliate link sent before by one of the brand ambassadors), 20 * Sends API call with the transaction to Ignico once order in e-commerce platform (based on WooCommerce or Easy Digital Download) is paid. The transaction value equals the amount of the order. 21 22 Based on these transactions, Ignico calculates rewards for brand ambassadors based on rewarding automation rules set within motivation plans. 19 * Loads cookie to the user upon entrance and saves there Referral Code from the URL (comes from affiliate link sent before by one of the brand ambassadors) 20 * Sends API call with the transaction to Ignico once order in e-commerce platform (based on WooCommerce or Easy Digital Download) is paid. The transaction value equals the amount of the order 21 * Calculates rewards for brand ambassadors based on e-commerce transactions from the plugin and rewarding rules configured within motivation plans in Ignico admin panel 23 22 24 23 = Use cases = … … 38 37 == Installation == 39 38 40 1. Visit Plugins > Add New 41 2. Search for "Ignico" 42 3. Install and activate "Ignico" 39 1. Log in to Wordpress admin panel 40 2. Visit Plugins > Add New 41 3. Search for "Ignico" 42 4. Install and activate "Ignico" 43 43 44 44 or 45 45 46 1. Download plugin from wordpres.org repository or [release section](https://github.com/ignicoapp/ignico/releases/latest) .46 1. Download plugin from wordpres.org repository or [release section](https://github.com/ignicoapp/ignico/releases/latest) 47 47 2. Upload the ignico directory to your /wp-content/plugins/ directory 48 48 3. Activate the plugin through the"‘Plugins" menu in WordPress 49 50 51 = Configiration = 52 53 In plugin configuration, you are asked to set: 54 55 * Workspace name in Ignico that is set during signing up for [Ignico trial](http://igni.co) 56 * Client ID and Client secret -> you generate them in Ignico admin panel -> Integrations -> OAuth 57 58 Additionally you can also configure cookie settings of the plugin in „Settings” section. 59 60 = How to test integration? = 61 62 * Go to Ignico admin panel -> Referrals -> Referral links and add a link to your e-commerce store 63 * Create test user account, go to Ignico admin panel -> Users -> New user 64 * Log in on user account, go to Referrals -> Referral links and go to the referral link to your store, you should be redirected to URL: http://yourstorename.com?__igrc=REFCODE 65 * Make a purchase and mare it as paid 66 * Go to Ignico admin panel -> Actions -> Actions list - you should see your order on the list 49 67 50 68 == Frequently Asked Questions == 51 69 52 70 == Changelog == 71 72 = 0.3.1 = 73 74 * Update readme 53 75 54 76 = 0.3.0 = -
ignico/trunk/vendor/autoload.php
r1934813 r1950867 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 44c017de1634aff520b7c18950be8241::getLoader();7 return ComposerAutoloaderInitd9b6d67f3788720f393cdaf55399d2d2::getLoader(); -
ignico/trunk/vendor/composer/ClassLoader.php
r1890440 r1950867 378 378 while (false !== $lastPos = strrpos($subPath, '\\')) { 379 379 $subPath = substr($subPath, 0, $lastPos); 380 $search = $subPath .'\\';380 $search = $subPath . '\\'; 381 381 if (isset($this->prefixDirsPsr4[$search])) { 382 $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1); 382 383 foreach ($this->prefixDirsPsr4[$search] as $dir) { 383 $length = $this->prefixLengthsPsr4[$first][$search]; 384 if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) { 384 if (file_exists($file = $dir . $pathEnd)) { 385 385 return $file; 386 386 } -
ignico/trunk/vendor/composer/autoload_real.php
r1934813 r1950867 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 44c017de1634aff520b7c18950be82415 class ComposerAutoloaderInitd9b6d67f3788720f393cdaf55399d2d2 6 6 { 7 7 private static $loader; … … 20 20 } 21 21 22 spl_autoload_register(array('ComposerAutoloaderInit 44c017de1634aff520b7c18950be8241', 'loadClassLoader'), true, true);22 spl_autoload_register(array('ComposerAutoloaderInitd9b6d67f3788720f393cdaf55399d2d2', 'loadClassLoader'), true, true); 23 23 self::$loader = $loader = new \Composer\Autoload\ClassLoader(); 24 spl_autoload_unregister(array('ComposerAutoloaderInit 44c017de1634aff520b7c18950be8241', 'loadClassLoader'));24 spl_autoload_unregister(array('ComposerAutoloaderInitd9b6d67f3788720f393cdaf55399d2d2', 'loadClassLoader')); 25 25 26 26 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 28 28 require_once __DIR__ . '/autoload_static.php'; 29 29 30 call_user_func(\Composer\Autoload\ComposerStaticInit 44c017de1634aff520b7c18950be8241::getInitializer($loader));30 call_user_func(\Composer\Autoload\ComposerStaticInitd9b6d67f3788720f393cdaf55399d2d2::getInitializer($loader)); 31 31 } else { 32 32 $map = require __DIR__ . '/autoload_namespaces.php'; -
ignico/trunk/vendor/composer/autoload_static.php
r1934813 r1950867 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 44c017de1634aff520b7c18950be82417 class ComposerStaticInitd9b6d67f3788720f393cdaf55399d2d2 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 32 32 { 33 33 return \Closure::bind(function () use ($loader) { 34 $loader->prefixLengthsPsr4 = ComposerStaticInit 44c017de1634aff520b7c18950be8241::$prefixLengthsPsr4;35 $loader->prefixDirsPsr4 = ComposerStaticInit 44c017de1634aff520b7c18950be8241::$prefixDirsPsr4;34 $loader->prefixLengthsPsr4 = ComposerStaticInitd9b6d67f3788720f393cdaf55399d2d2::$prefixLengthsPsr4; 35 $loader->prefixDirsPsr4 = ComposerStaticInitd9b6d67f3788720f393cdaf55399d2d2::$prefixDirsPsr4; 36 36 37 37 }, null, ClassLoader::class);
Note: See TracChangeset
for help on using the changeset viewer.