Changeset 2573888
- Timestamp:
- 07/28/2021 11:25:51 AM (5 years ago)
- Location:
- fomo
- Files:
-
- 4 edited
- 1 copied
-
tags/2.0.11 (copied) (copied from fomo/trunk)
-
tags/2.0.11/readme.txt (modified) (2 diffs)
-
tags/2.0.11/woocommerce-plugin-fomo-v2.php (modified) (6 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/woocommerce-plugin-fomo-v2.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fomo/tags/2.0.11/readme.txt
r2274314 r2573888 5 5 Tags: social proof, notifications, orders, woocommerce, fomo 6 6 Requires at least: 4.4 7 Tested up to: 5. 2.28 Stable tag: 2.0.1 07 Tested up to: 5.8 8 Stable tag: 2.0.11 9 9 License: proprietary 10 10 … … 102 102 == Changelog == 103 103 104 = 2.0.11 = 105 * Testing for latest Wordpress version 106 104 107 = 2.0.10 = 105 108 * Update trial length -
fomo/tags/2.0.11/woocommerce-plugin-fomo-v2.php
r2274314 r2573888 4 4 Plugin URI: https://fomo.com 5 5 Description: Fomo displays recent orders on your WooCommerce storefront 6 Version: 2.0.1 06 Version: 2.0.11 7 7 Author: fomo 8 8 Author URI: https://fomo.com … … 16 16 17 17 global $fomofwc_version; 18 $fomofwc_version = '2.0.1 0';18 $fomofwc_version = '2.0.11'; 19 19 20 20 function fomofwc_enqueue_script() … … 92 92 $args = array( 'headers' => array( 'Content-Type' => 'application/json' ), 'body' => fomofwc_params(), 'timeout' => 30 ); 93 93 $response = fomofwc_remote_post($fomofwc_domain .'/api/partners/woo_commerce/auth', $args); 94 95 if ($response['errors']) { 96 print_r($response); exit; 97 } 98 99 94 100 if ($response['client_id']){ 95 101 ?> … … 124 130 $args = array( 'headers' => array( 'Content-Type' => 'application/json' ), 'body' => fomofwc_params(), 'timeout' => 30 ); 125 131 $response = fomofwc_remote_post($fomofwc_domain .'/api/partners/woo_commerce/user_check', $args); 132 126 133 if ($response['message'] == 'found'){ 127 134 return true; … … 168 175 } 169 176 } 170 171 177 function fomofwc_plugin_options() 172 178 { … … 181 187 <h3 style='margin-bottom: 30px;'> 182 188 <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 268.2" height="40px" width="150px" enable-background="new 0 0 1000 268.2" xml:space="preserve"> 183 <g>184 <path fill="#EBA06D" d="M234.8,26.5L209.5,1.2c-1.6-1.6-4.2-1.6-5.8-0.1c-10.2,9.7-20.5,15.5-51,15.5v0H55.1185 c-2.3,0-4.2,1.9-4.2,4.2V118c0,2.3-1.9,4.2-4.2,4.2H4.2c-2.3,0-4.2,1.9-4.2,4.2v38c0,2.3,1.9,4.2,4.2,4.2h42.6186 c2.3,0,4.2,1.9,4.2,4.2v83.7c0,2.3,1.9,4.2,4.2,4.2h38c2.3,0,4.2-1.9,4.2-4.2v-83.7c0-2.3,1.9-4.2,4.2-4.2h71.2187 c2.3,0,4.2-1.9,4.2-4.2v-38c0-2.3-1.9-4.2-4.2-4.2h-71.2c-2.3,0-4.2-1.9-4.2-4.2V67.1c0-2.3,1.9-4.2,4.2-4.2h61.7188 c32.1,0,50.8-11.3,71.5-30.5C236.4,30.9,236.4,28.1,234.8,26.5z"></path>189 <path fill="#EBA06D" d="M888.5,8.3L888.5,8.3c0,0-0.1,0-0.1,0c0,0-0.1,0-0.1,0v0c-19.5,0-36.4,3.8-50.6,10.7190 c-8.1-5.6-18.9-10.7-31.6-10.7c-32.5,0-63,15.4-81,53.9V16.9c0-4.8-3.9-8.7-8.7-8.7h-14.7c-32.5,0-60.9,18.5-74.9,54.2V11191 c0-1.5-1.2-2.7-2.7-2.7h-20.6c-32.7,0-62.5,20.3-75.2,54.9V11.4c0-1.8-1.5-3.2-3.3-3.1h0.1l-20.9,0c-31.5,0-71.3,16.8-86.9,63.3192 c-16.7-38-49.6-63.2-98.7-63.2v0c0,0-0.1,0-0.1,0c0,0-0.1,0-0.1,0v0c-76.2,0-111.5,57.8-111.5,129.9c0,83.5,35.8,129.9,111.5,129.9193 v0c0,0,0.1,0,0.1,0c0,0,0.1,0,0.1,0v0c73.9,0,111.5-46.4,111.5-129.9c0-53.3,30.6-78.5,49.9-79.6c0.8,0,1.4,0.5,1.4,1.3v196.5194 c0,2.3,1.9,4.2,4.2,4.2h38.3c2.3,0,4.2-1.9,4.2-4.2v-53.2C528.3,84.1,569.5,62,578.4,59c0.8-0.3,1.7,0.4,1.7,1.2l0,196.1195 c0,2.3,1.9,4.2,4.2,4.2h38.3c2.3,0,4.2-1.9,4.2-4.2v-53.2c0-119.9,39.7-141.6,49.9-144.2c0.8-0.2,1.6,0.4,1.6,1.3v196.1196 c0,2.3,1.9,4.2,4.2,4.2h38.3c2.3,0,4.2-1.9,4.2-4.2v-53.2c0-120.4,39.5-144.6,57.6-144.6c4.1,0,8,1.1,11.5,2.7197 c-11.7,21.5-17.4,48.1-17.4,77c0,83.5,35.8,129.9,111.5,129.9v0c0,0,0.1,0,0.1,0c0,0,0.1,0,0.1,0v0c73.9,0,111.5-46.4,111.5-129.9198 C1000,66.1,962.7,8.3,888.5,8.3z M318.6,221.5c-44.5-0.1-61.7-37.4-61.7-83.2S273.7,55,318.6,55c44.9,0.1,61.7,37.4,61.7,83.2199 S363.2,221.4,318.6,221.5z M888.4,221.5c-44.5-0.1-61.7-37.4-61.7-83.2S843.5,55,888.4,55c44.9,0.1,61.7,37.4,61.7,83.2200 S932.9,221.4,888.4,221.5z"></path>201 </g>202 </svg>203 <span style='margin-left:6px; display: block;'>For WooCommerce</span>204 </h3>205 206 <?php if(!get_option('fomofwc_fomo_client_id')): ?>207 <div class='fomo-warning'>If you already have a Fomo account, don't use this plugin. This plugin is only for new users to easily create a Fomo account.</div>208 <?php endif; ?>209 210 <p>After you connect to Fomo. You can select one of our <a href='https://fomo.com/pricing' target='_blank'>subscription plans</a>. Your subscription plan will be managed on fomo.com</p>189 <g> 190 <path fill="#EBA06D" d="M234.8,26.5L209.5,1.2c-1.6-1.6-4.2-1.6-5.8-0.1c-10.2,9.7-20.5,15.5-51,15.5v0H55.1 191 c-2.3,0-4.2,1.9-4.2,4.2V118c0,2.3-1.9,4.2-4.2,4.2H4.2c-2.3,0-4.2,1.9-4.2,4.2v38c0,2.3,1.9,4.2,4.2,4.2h42.6 192 c2.3,0,4.2,1.9,4.2,4.2v83.7c0,2.3,1.9,4.2,4.2,4.2h38c2.3,0,4.2-1.9,4.2-4.2v-83.7c0-2.3,1.9-4.2,4.2-4.2h71.2 193 c2.3,0,4.2-1.9,4.2-4.2v-38c0-2.3-1.9-4.2-4.2-4.2h-71.2c-2.3,0-4.2-1.9-4.2-4.2V67.1c0-2.3,1.9-4.2,4.2-4.2h61.7 194 c32.1,0,50.8-11.3,71.5-30.5C236.4,30.9,236.4,28.1,234.8,26.5z"></path> 195 <path fill="#EBA06D" d="M888.5,8.3L888.5,8.3c0,0-0.1,0-0.1,0c0,0-0.1,0-0.1,0v0c-19.5,0-36.4,3.8-50.6,10.7 196 c-8.1-5.6-18.9-10.7-31.6-10.7c-32.5,0-63,15.4-81,53.9V16.9c0-4.8-3.9-8.7-8.7-8.7h-14.7c-32.5,0-60.9,18.5-74.9,54.2V11 197 c0-1.5-1.2-2.7-2.7-2.7h-20.6c-32.7,0-62.5,20.3-75.2,54.9V11.4c0-1.8-1.5-3.2-3.3-3.1h0.1l-20.9,0c-31.5,0-71.3,16.8-86.9,63.3 198 c-16.7-38-49.6-63.2-98.7-63.2v0c0,0-0.1,0-0.1,0c0,0-0.1,0-0.1,0v0c-76.2,0-111.5,57.8-111.5,129.9c0,83.5,35.8,129.9,111.5,129.9 199 v0c0,0,0.1,0,0.1,0c0,0,0.1,0,0.1,0v0c73.9,0,111.5-46.4,111.5-129.9c0-53.3,30.6-78.5,49.9-79.6c0.8,0,1.4,0.5,1.4,1.3v196.5 200 c0,2.3,1.9,4.2,4.2,4.2h38.3c2.3,0,4.2-1.9,4.2-4.2v-53.2C528.3,84.1,569.5,62,578.4,59c0.8-0.3,1.7,0.4,1.7,1.2l0,196.1 201 c0,2.3,1.9,4.2,4.2,4.2h38.3c2.3,0,4.2-1.9,4.2-4.2v-53.2c0-119.9,39.7-141.6,49.9-144.2c0.8-0.2,1.6,0.4,1.6,1.3v196.1 202 c0,2.3,1.9,4.2,4.2,4.2h38.3c2.3,0,4.2-1.9,4.2-4.2v-53.2c0-120.4,39.5-144.6,57.6-144.6c4.1,0,8,1.1,11.5,2.7 203 c-11.7,21.5-17.4,48.1-17.4,77c0,83.5,35.8,129.9,111.5,129.9v0c0,0,0.1,0,0.1,0c0,0,0.1,0,0.1,0v0c73.9,0,111.5-46.4,111.5-129.9 204 C1000,66.1,962.7,8.3,888.5,8.3z M318.6,221.5c-44.5-0.1-61.7-37.4-61.7-83.2S273.7,55,318.6,55c44.9,0.1,61.7,37.4,61.7,83.2 205 S363.2,221.4,318.6,221.5z M888.4,221.5c-44.5-0.1-61.7-37.4-61.7-83.2S843.5,55,888.4,55c44.9,0.1,61.7,37.4,61.7,83.2 206 S932.9,221.4,888.4,221.5z"></path> 207 </g> 208 </svg> 209 <span style='margin-left:6px; display: block;'>For WooCommerce</span> 210 </h3> 211 212 <?php if(!get_option('fomofwc_fomo_client_id')): ?> 213 <div class='fomo-warning'>If you already have a Fomo account, don't use this plugin. This plugin is only for new users to easily create a Fomo account.</div> 214 <?php endif; ?> 215 216 <p>After you connect to Fomo. You can select one of our <a href='https://fomo.com/pricing' target='_blank'>subscription plans</a>. Your subscription plan will be managed on fomo.com</p> 211 217 212 218 <div class='fomo-col fomo-col-200'> -
fomo/trunk/readme.txt
r2274314 r2573888 5 5 Tags: social proof, notifications, orders, woocommerce, fomo 6 6 Requires at least: 4.4 7 Tested up to: 5. 2.28 Stable tag: 2.0.1 07 Tested up to: 5.8 8 Stable tag: 2.0.11 9 9 License: proprietary 10 10 … … 102 102 == Changelog == 103 103 104 = 2.0.11 = 105 * Testing for latest Wordpress version 106 104 107 = 2.0.10 = 105 108 * Update trial length -
fomo/trunk/woocommerce-plugin-fomo-v2.php
r2274314 r2573888 4 4 Plugin URI: https://fomo.com 5 5 Description: Fomo displays recent orders on your WooCommerce storefront 6 Version: 2.0.1 06 Version: 2.0.11 7 7 Author: fomo 8 8 Author URI: https://fomo.com … … 16 16 17 17 global $fomofwc_version; 18 $fomofwc_version = '2.0.1 0';18 $fomofwc_version = '2.0.11'; 19 19 20 20 function fomofwc_enqueue_script() … … 92 92 $args = array( 'headers' => array( 'Content-Type' => 'application/json' ), 'body' => fomofwc_params(), 'timeout' => 30 ); 93 93 $response = fomofwc_remote_post($fomofwc_domain .'/api/partners/woo_commerce/auth', $args); 94 95 if ($response['errors']) { 96 print_r($response); exit; 97 } 98 99 94 100 if ($response['client_id']){ 95 101 ?> … … 124 130 $args = array( 'headers' => array( 'Content-Type' => 'application/json' ), 'body' => fomofwc_params(), 'timeout' => 30 ); 125 131 $response = fomofwc_remote_post($fomofwc_domain .'/api/partners/woo_commerce/user_check', $args); 132 126 133 if ($response['message'] == 'found'){ 127 134 return true; … … 168 175 } 169 176 } 170 171 177 function fomofwc_plugin_options() 172 178 { … … 181 187 <h3 style='margin-bottom: 30px;'> 182 188 <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 268.2" height="40px" width="150px" enable-background="new 0 0 1000 268.2" xml:space="preserve"> 183 <g>184 <path fill="#EBA06D" d="M234.8,26.5L209.5,1.2c-1.6-1.6-4.2-1.6-5.8-0.1c-10.2,9.7-20.5,15.5-51,15.5v0H55.1185 c-2.3,0-4.2,1.9-4.2,4.2V118c0,2.3-1.9,4.2-4.2,4.2H4.2c-2.3,0-4.2,1.9-4.2,4.2v38c0,2.3,1.9,4.2,4.2,4.2h42.6186 c2.3,0,4.2,1.9,4.2,4.2v83.7c0,2.3,1.9,4.2,4.2,4.2h38c2.3,0,4.2-1.9,4.2-4.2v-83.7c0-2.3,1.9-4.2,4.2-4.2h71.2187 c2.3,0,4.2-1.9,4.2-4.2v-38c0-2.3-1.9-4.2-4.2-4.2h-71.2c-2.3,0-4.2-1.9-4.2-4.2V67.1c0-2.3,1.9-4.2,4.2-4.2h61.7188 c32.1,0,50.8-11.3,71.5-30.5C236.4,30.9,236.4,28.1,234.8,26.5z"></path>189 <path fill="#EBA06D" d="M888.5,8.3L888.5,8.3c0,0-0.1,0-0.1,0c0,0-0.1,0-0.1,0v0c-19.5,0-36.4,3.8-50.6,10.7190 c-8.1-5.6-18.9-10.7-31.6-10.7c-32.5,0-63,15.4-81,53.9V16.9c0-4.8-3.9-8.7-8.7-8.7h-14.7c-32.5,0-60.9,18.5-74.9,54.2V11191 c0-1.5-1.2-2.7-2.7-2.7h-20.6c-32.7,0-62.5,20.3-75.2,54.9V11.4c0-1.8-1.5-3.2-3.3-3.1h0.1l-20.9,0c-31.5,0-71.3,16.8-86.9,63.3192 c-16.7-38-49.6-63.2-98.7-63.2v0c0,0-0.1,0-0.1,0c0,0-0.1,0-0.1,0v0c-76.2,0-111.5,57.8-111.5,129.9c0,83.5,35.8,129.9,111.5,129.9193 v0c0,0,0.1,0,0.1,0c0,0,0.1,0,0.1,0v0c73.9,0,111.5-46.4,111.5-129.9c0-53.3,30.6-78.5,49.9-79.6c0.8,0,1.4,0.5,1.4,1.3v196.5194 c0,2.3,1.9,4.2,4.2,4.2h38.3c2.3,0,4.2-1.9,4.2-4.2v-53.2C528.3,84.1,569.5,62,578.4,59c0.8-0.3,1.7,0.4,1.7,1.2l0,196.1195 c0,2.3,1.9,4.2,4.2,4.2h38.3c2.3,0,4.2-1.9,4.2-4.2v-53.2c0-119.9,39.7-141.6,49.9-144.2c0.8-0.2,1.6,0.4,1.6,1.3v196.1196 c0,2.3,1.9,4.2,4.2,4.2h38.3c2.3,0,4.2-1.9,4.2-4.2v-53.2c0-120.4,39.5-144.6,57.6-144.6c4.1,0,8,1.1,11.5,2.7197 c-11.7,21.5-17.4,48.1-17.4,77c0,83.5,35.8,129.9,111.5,129.9v0c0,0,0.1,0,0.1,0c0,0,0.1,0,0.1,0v0c73.9,0,111.5-46.4,111.5-129.9198 C1000,66.1,962.7,8.3,888.5,8.3z M318.6,221.5c-44.5-0.1-61.7-37.4-61.7-83.2S273.7,55,318.6,55c44.9,0.1,61.7,37.4,61.7,83.2199 S363.2,221.4,318.6,221.5z M888.4,221.5c-44.5-0.1-61.7-37.4-61.7-83.2S843.5,55,888.4,55c44.9,0.1,61.7,37.4,61.7,83.2200 S932.9,221.4,888.4,221.5z"></path>201 </g>202 </svg>203 <span style='margin-left:6px; display: block;'>For WooCommerce</span>204 </h3>205 206 <?php if(!get_option('fomofwc_fomo_client_id')): ?>207 <div class='fomo-warning'>If you already have a Fomo account, don't use this plugin. This plugin is only for new users to easily create a Fomo account.</div>208 <?php endif; ?>209 210 <p>After you connect to Fomo. You can select one of our <a href='https://fomo.com/pricing' target='_blank'>subscription plans</a>. Your subscription plan will be managed on fomo.com</p>189 <g> 190 <path fill="#EBA06D" d="M234.8,26.5L209.5,1.2c-1.6-1.6-4.2-1.6-5.8-0.1c-10.2,9.7-20.5,15.5-51,15.5v0H55.1 191 c-2.3,0-4.2,1.9-4.2,4.2V118c0,2.3-1.9,4.2-4.2,4.2H4.2c-2.3,0-4.2,1.9-4.2,4.2v38c0,2.3,1.9,4.2,4.2,4.2h42.6 192 c2.3,0,4.2,1.9,4.2,4.2v83.7c0,2.3,1.9,4.2,4.2,4.2h38c2.3,0,4.2-1.9,4.2-4.2v-83.7c0-2.3,1.9-4.2,4.2-4.2h71.2 193 c2.3,0,4.2-1.9,4.2-4.2v-38c0-2.3-1.9-4.2-4.2-4.2h-71.2c-2.3,0-4.2-1.9-4.2-4.2V67.1c0-2.3,1.9-4.2,4.2-4.2h61.7 194 c32.1,0,50.8-11.3,71.5-30.5C236.4,30.9,236.4,28.1,234.8,26.5z"></path> 195 <path fill="#EBA06D" d="M888.5,8.3L888.5,8.3c0,0-0.1,0-0.1,0c0,0-0.1,0-0.1,0v0c-19.5,0-36.4,3.8-50.6,10.7 196 c-8.1-5.6-18.9-10.7-31.6-10.7c-32.5,0-63,15.4-81,53.9V16.9c0-4.8-3.9-8.7-8.7-8.7h-14.7c-32.5,0-60.9,18.5-74.9,54.2V11 197 c0-1.5-1.2-2.7-2.7-2.7h-20.6c-32.7,0-62.5,20.3-75.2,54.9V11.4c0-1.8-1.5-3.2-3.3-3.1h0.1l-20.9,0c-31.5,0-71.3,16.8-86.9,63.3 198 c-16.7-38-49.6-63.2-98.7-63.2v0c0,0-0.1,0-0.1,0c0,0-0.1,0-0.1,0v0c-76.2,0-111.5,57.8-111.5,129.9c0,83.5,35.8,129.9,111.5,129.9 199 v0c0,0,0.1,0,0.1,0c0,0,0.1,0,0.1,0v0c73.9,0,111.5-46.4,111.5-129.9c0-53.3,30.6-78.5,49.9-79.6c0.8,0,1.4,0.5,1.4,1.3v196.5 200 c0,2.3,1.9,4.2,4.2,4.2h38.3c2.3,0,4.2-1.9,4.2-4.2v-53.2C528.3,84.1,569.5,62,578.4,59c0.8-0.3,1.7,0.4,1.7,1.2l0,196.1 201 c0,2.3,1.9,4.2,4.2,4.2h38.3c2.3,0,4.2-1.9,4.2-4.2v-53.2c0-119.9,39.7-141.6,49.9-144.2c0.8-0.2,1.6,0.4,1.6,1.3v196.1 202 c0,2.3,1.9,4.2,4.2,4.2h38.3c2.3,0,4.2-1.9,4.2-4.2v-53.2c0-120.4,39.5-144.6,57.6-144.6c4.1,0,8,1.1,11.5,2.7 203 c-11.7,21.5-17.4,48.1-17.4,77c0,83.5,35.8,129.9,111.5,129.9v0c0,0,0.1,0,0.1,0c0,0,0.1,0,0.1,0v0c73.9,0,111.5-46.4,111.5-129.9 204 C1000,66.1,962.7,8.3,888.5,8.3z M318.6,221.5c-44.5-0.1-61.7-37.4-61.7-83.2S273.7,55,318.6,55c44.9,0.1,61.7,37.4,61.7,83.2 205 S363.2,221.4,318.6,221.5z M888.4,221.5c-44.5-0.1-61.7-37.4-61.7-83.2S843.5,55,888.4,55c44.9,0.1,61.7,37.4,61.7,83.2 206 S932.9,221.4,888.4,221.5z"></path> 207 </g> 208 </svg> 209 <span style='margin-left:6px; display: block;'>For WooCommerce</span> 210 </h3> 211 212 <?php if(!get_option('fomofwc_fomo_client_id')): ?> 213 <div class='fomo-warning'>If you already have a Fomo account, don't use this plugin. This plugin is only for new users to easily create a Fomo account.</div> 214 <?php endif; ?> 215 216 <p>After you connect to Fomo. You can select one of our <a href='https://fomo.com/pricing' target='_blank'>subscription plans</a>. Your subscription plan will be managed on fomo.com</p> 211 217 212 218 <div class='fomo-col fomo-col-200'>
Note: See TracChangeset
for help on using the changeset viewer.