Changeset 3063174
- Timestamp:
- 04/03/2024 04:35:39 AM (2 years ago)
- Location:
- eber/trunk
- Files:
-
- 6 edited
-
index.php (modified) (1 diff)
-
init/activate.php (modified) (1 diff)
-
init/frontend.php (modified) (1 diff)
-
init/menu.php (modified) (3 diffs)
-
layout/index.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
eber/trunk/index.php
r3062188 r3063174 5 5 Description: Eber is a smart member system comes with comprehensive loyalty & rewards system, marketing and analytic tool. 6 6 Author: Eber 7 Version: 3.97 Version: 4.0 8 8 Author URI: https://eber.co 9 9 License: GPLv2 or later -
eber/trunk/init/activate.php
r2854506 r3063174 37 37 delete_option('exclude_coupon'); 38 38 delete_option('widget_new'); 39 delete_option('instant_sync'); 40 delete_option('eber_custom_field'); 39 41 } 40 42 } -
eber/trunk/init/frontend.php
r3062188 r3063174 261 261 $user = get_user_by('id',$user_id); 262 262 $sync = get_option('eber_sync',false); 263 $instant_sync = get_option('instant_sync',false); 263 264 $eber_welcome_email = get_option('eber_welcome_email',false); 264 265 $notify = 0; 265 266 if($eber_welcome_email) 266 267 $notify = 1; 267 if($sync )268 if($sync && $instant_sync) 268 269 { 269 270 $eber_hash_key = get_option('eber_hash_key',''); -
eber/trunk/init/menu.php
r3039329 r3063174 88 88 $issue_point_when = get_option('issue_point_when','processing'); 89 89 $eber_welcome_email = get_option('eber_welcome_email',false); 90 $instant_sync = get_option('instant_sync',false); 90 91 $exclude_tax = get_option('exclude_tax',true); 91 92 $exclude_shipping = get_option('exclude_shipping',true); … … 115 116 $eber_api_enable = (isset($_POST['eber_api_enable'])); 116 117 $eber_custom_field = (isset($_POST['eber_custom_field'])); 118 $instant_sync = (isset($_POST['instant_sync'])); 117 119 $custom_field = $_POST['custom_field']; 118 120 $eber_default_phone_code = sanitize_text_field($_POST['eber_default_phone_code']); … … 273 275 { 274 276 update_option('eber_custom_field_data',$_POST['custom_field']); 277 } 278 if(isset($_POST['instant_sync'])) 279 { 280 update_option('instant_sync',true); 281 } 282 else 283 { 284 update_option('instant_sync',false); 275 285 } 276 286 -
eber/trunk/layout/index.php
r3043092 r3063174 91 91 </fieldset></td> 92 92 </tr> 93 <tr style="display:none;"> 94 <th scope="row"> </th> 95 <td> <fieldset><legend class="screen-reader-text"><span>Membership</span></legend><label for="users_can_register_instant"> 96 <input name="instant_sync" type="checkbox" id="instant_sync" value="1" <?php echo ($instant_sync)?'checked':'';?>> 97 Sync Instantly ?</label> 98 </fieldset></td> 99 </tr> 100 93 101 <tr> 94 102 <th scope="row"> </th> -
eber/trunk/readme.txt
r3062188 r3063174 106 106 = 3.9 = 107 107 fixed duplicate in sync user 108 = 4.0 = 109 option to stop instant sync user 108 110 109 111
Note: See TracChangeset
for help on using the changeset viewer.