myCRED - Version beta

Version Description

= 1.8.0 = Major release(Make sure to take backup before updating)

= 1.8.1 = Bug fixes release.

= 1.8.2 = Bug fixes release.

= 1.8.3 = Bug fixes release.

= 1.8.4 = Bug fixes release.

= 1.8.4.1 = Bug fixes release.

= 1.8.4.2 = Bug fixes release.

= 1.8.5 = Bug fixes release.

= 1.8.5.1 = Bug fixes release.

= 1.8.6 = Bug fixes release.

= 1.8.7 = Bug fixes release.

= 1.8.8 = Bug fixes release.

= 1.8.9 = Bug fixes release.

= 1.8.11 = Bug fixes release.

= 1.8.12 = Bug fixes release.

= 1.8.13 = Bug fixes release.

= 1.8.13.1 = Bug fixes release.

= 1.8.14 = Bug fixes release.

Download this release

Release Info

Developer wpexpertsio
Plugin Icon 128x128 myCRED
Version beta
Comparing to
See all releases

Code changes from version 1.8.14 to beta

addons/ranks/includes/mycred-rank-shortcodes.php CHANGED
@@ -30,6 +30,9 @@ if ( ! function_exists( 'mycred_render_my_rank' ) ) :
30
  if ( $user_id === false ) return;
31
 
32
  $account_object = mycred_get_account( $user_id );
 
 
 
33
  $rank_object = $account_object->balance[ $ctype ]->rank;
34
 
35
  if ( $rank_object !== false ) {
30
  if ( $user_id === false ) return;
31
 
32
  $account_object = mycred_get_account( $user_id );
33
+
34
+ if( empty( $account_object->balance[ $ctype ]->rank ) ) return;
35
+
36
  $rank_object = $account_object->balance[ $ctype ]->rank;
37
 
38
  if ( $rank_object !== false ) {
addons/sell-content/myCRED-addon-sell-content.php CHANGED
@@ -199,7 +199,9 @@ if ( ! class_exists( 'myCRED_Sell_Content_Module' ) ) :
199
  $post_id = absint( $_POST['postid'] );
200
  $point_type = sanitize_key( $_POST['ctype'] );
201
 
202
- if ( mycred_force_singular_session( $this->current_user_id, 'mycred-last-content-purchase' ) )
 
 
203
  wp_send_json( 'ERROR' );
204
 
205
  // If the content is for sale and we have not paid for it
199
  $post_id = absint( $_POST['postid'] );
200
  $point_type = sanitize_key( $_POST['ctype'] );
201
 
202
+ global $mycred_types;
203
+
204
+ if ( ! array_key_exists( $point_type, $mycred_types ) || mycred_force_singular_session( $this->current_user_id, 'mycred-last-content-purchase' ) )
205
  wp_send_json( 'ERROR' );
206
 
207
  // If the content is for sale and we have not paid for it
includes/hooks/external/mycred-hook-woocommerce.php CHANGED
@@ -48,7 +48,7 @@ endif;
48
  if ( ! function_exists( 'mycred_woo_add_product_metabox' ) ) :
49
  function mycred_woo_add_product_metabox() {
50
  $product = wc_get_product( get_the_ID() );
51
- if( $product->is_type( 'simple' ) ) {
52
  add_meta_box(
53
  'mycred_woo_sales_setup',
54
  mycred_label(),
@@ -71,7 +71,7 @@ if ( ! function_exists( 'mycred_woo_product_metabox' ) ) :
71
  function mycred_woo_product_metabox( $post ) {
72
 
73
  $product = wc_get_product( get_the_ID() );
74
- if( $product->is_type( 'simple' ) ) {
75
  if ( ! current_user_can( apply_filters( 'mycred_woo_reward_cap', 'edit_others_posts' ) ) ) return;
76
 
77
  $types = mycred_get_types();
48
  if ( ! function_exists( 'mycred_woo_add_product_metabox' ) ) :
49
  function mycred_woo_add_product_metabox() {
50
  $product = wc_get_product( get_the_ID() );
51
+ if( $product->is_type( 'variable' ) != 'variable' ) {
52
  add_meta_box(
53
  'mycred_woo_sales_setup',
54
  mycred_label(),
71
  function mycred_woo_product_metabox( $post ) {
72
 
73
  $product = wc_get_product( get_the_ID() );
74
+ if( $product->is_type( 'variable' ) != 'variable' ) {
75
  if ( ! current_user_can( apply_filters( 'mycred_woo_reward_cap', 'edit_others_posts' ) ) ) return;
76
 
77
  $types = mycred_get_types();
includes/hooks/mycred-hook-link-clicks.php CHANGED
@@ -212,6 +212,8 @@ if ( ! class_exists( 'myCRED_Hook_Click_Links' ) ) :
212
  if ( $this->has_clicked( $user_id, 'link_id', $data['link_id'] ) ) wp_send_json( 700 );
213
  }
214
 
 
 
215
  // Execute
216
  $this->core->add_creds(
217
  'link_click',
212
  if ( $this->has_clicked( $user_id, 'link_id', $data['link_id'] ) ) wp_send_json( 700 );
213
  }
214
 
215
+ $amount = apply_filters( 'mycred_link_click_amount', $amount, $user_id, $point_type, $data, $this->prefs['log'] );
216
+
217
  // Execute
218
  $this->core->add_creds(
219
  'link_click',
mycred.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: myCred
4
  * Plugin URI: https://mycred.me
5
  * Description: An adaptive points management system for WordPress powered websites.
6
- * Version: 1.8.14
7
  * Tags: point, credit, loyalty program, engagement, reward, woocommerce rewards
8
  * Author: myCred
9
  * Author URI: https://mycred.me
@@ -19,7 +19,7 @@ if ( ! class_exists( 'myCRED_Core' ) ) :
19
  final class myCRED_Core {
20
 
21
  // Plugin Version
22
- public $version = '1.8.14';
23
 
24
  // Instnace
25
  protected static $_instance = NULL;
@@ -53,14 +53,14 @@ if ( ! class_exists( 'myCRED_Core' ) ) :
53
  * @since 1.7
54
  * @version 1.0
55
  */
56
- public function __clone() { _doing_it_wrong( __FUNCTION__, 'Cheatin’ huh?', '1.8.14' ); }
57
 
58
  /**
59
  * Not allowed
60
  * @since 1.7
61
  * @version 1.0
62
  */
63
- public function __wakeup() { _doing_it_wrong( __FUNCTION__, 'Cheatin’ huh?', '1.8.14' ); }
64
 
65
  /**
66
  * Get
@@ -81,7 +81,7 @@ if ( ! class_exists( 'myCRED_Core' ) ) :
81
  if ( ! defined( $name ) )
82
  define( $name, $value );
83
  elseif ( ! $definable && defined( $name ) )
84
- _doing_it_wrong( 'myCRED_Core->define()', 'Could not define: ' . $name . ' as it is already defined somewhere else!', '1.8.14' );
85
  }
86
 
87
  /**
@@ -93,7 +93,7 @@ if ( ! class_exists( 'myCRED_Core' ) ) :
93
  if ( file_exists( $required_file ) )
94
  require_once $required_file;
95
  else
96
- _doing_it_wrong( 'myCRED_Core->file()', 'Requested file ' . $required_file . ' not found.', '1.8.14' );
97
  }
98
 
99
  /**
@@ -143,7 +143,8 @@ if ( ! class_exists( 'myCRED_Core' ) ) :
143
  // Plugin Related
144
  add_filter( 'plugin_action_links_mycred/mycred.php', array( $this, 'plugin_links' ), 10, 4 );
145
  add_filter( 'plugin_row_meta', array( $this, 'plugin_description_links' ), 10, 2 );
146
-
 
147
  }
148
 
149
  /**
@@ -1078,6 +1079,43 @@ if ( ! class_exists( 'myCRED_Core' ) ) :
1078
 
1079
  }
1080
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1081
  }
1082
  endif;
1083
 
3
  * Plugin Name: myCred
4
  * Plugin URI: https://mycred.me
5
  * Description: An adaptive points management system for WordPress powered websites.
6
+ * Version: 1.8.14.1 Beta
7
  * Tags: point, credit, loyalty program, engagement, reward, woocommerce rewards
8
  * Author: myCred
9
  * Author URI: https://mycred.me
19
  final class myCRED_Core {
20
 
21
  // Plugin Version
22
+ public $version = '1.8.14.1';
23
 
24
  // Instnace
25
  protected static $_instance = NULL;
53
  * @since 1.7
54
  * @version 1.0
55
  */
56
+ public function __clone() { _doing_it_wrong( __FUNCTION__, 'Cheatin’ huh?', '1.8.13.1' ); }
57
 
58
  /**
59
  * Not allowed
60
  * @since 1.7
61
  * @version 1.0
62
  */
63
+ public function __wakeup() { _doing_it_wrong( __FUNCTION__, 'Cheatin’ huh?', '1.8.13.1' ); }
64
 
65
  /**
66
  * Get
81
  if ( ! defined( $name ) )
82
  define( $name, $value );
83
  elseif ( ! $definable && defined( $name ) )
84
+ _doing_it_wrong( 'myCRED_Core->define()', 'Could not define: ' . $name . ' as it is already defined somewhere else!', '1.8.11' );
85
  }
86
 
87
  /**
93
  if ( file_exists( $required_file ) )
94
  require_once $required_file;
95
  else
96
+ _doing_it_wrong( 'myCRED_Core->file()', 'Requested file ' . $required_file . ' not found.', '1.8.13.1' );
97
  }
98
 
99
  /**
143
  // Plugin Related
144
  add_filter( 'plugin_action_links_mycred/mycred.php', array( $this, 'plugin_links' ), 10, 4 );
145
  add_filter( 'plugin_row_meta', array( $this, 'plugin_description_links' ), 10, 2 );
146
+ add_filter( 'pre_http_request', array( $this, 'handle_license_request' ), 10, 3 );
147
+ add_filter( 'http_request_args', array( $this, 'license_request_args' ), 10, 2 );
148
  }
149
 
150
  /**
1079
 
1080
  }
1081
 
1082
+ /**
1083
+ * Handle Premium Addon License requests
1084
+ * @since 1.9
1085
+ * @version 1.0
1086
+ */
1087
+ public function handle_license_request( $default, $parsed_args, $url ) {
1088
+
1089
+ if( $url == 'http://mycred.me/api/plugins/' && ! empty( $parsed_args['body']['action'] ) && $parsed_args['body']['action'] == 'info' ) {
1090
+
1091
+ $request = unserialize( $parsed_args['body']['request'] );
1092
+
1093
+ if( get_transient( 'mycred_license_' . $request['slug'] ) )
1094
+ return true;
1095
+ else
1096
+ set_transient( 'mycred_license_' . $request['slug'], $parsed_args, 24 * HOUR_IN_SECONDS );
1097
+
1098
+ }
1099
+
1100
+ return $default;
1101
+ }
1102
+
1103
+ /**
1104
+ * Add argument for handling license request
1105
+ * @since 1.9
1106
+ * @version 1.0
1107
+ */
1108
+ public function license_request_args( $parsed_args, $url ) {
1109
+
1110
+ if( $url == 'http://mycred.me/api/plugins/' && ! empty( $parsed_args['body']['action'] ) ) {
1111
+
1112
+ $parsed_args['optimize_license'] = true;
1113
+
1114
+ }
1115
+
1116
+ return $parsed_args;
1117
+ }
1118
+
1119
  }
1120
  endif;
1121
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: mycred,wpexpertsio
3
  Tags: badges, gamification, loyalty, points, rewards
4
  Requires at least: 4.8
5
  Tested up to: 5.5.1
6
- Stable tag: 1.8.14
7
  Requires PHP: 7.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -304,6 +304,11 @@ Bug fixes release.
304
 
305
  == Changelog ==
306
 
 
 
 
 
 
307
  = 1.8.14 =
308
  - **FIX** - Comments hooks not working.
309
  - **FIX** - Warnings in myCred Sell Content.
@@ -340,166 +345,166 @@ Bug fixes release.
340
  - **TWEAK** - mycred_transfer shortcode prevent multiple form submission until the server responds
341
 
342
  = 1.8.12 =
343
- - **NEW** - Introduce a new filter mycred_video_interval for myCred Addons.
344
- - **NEW** - Added rate attribute in mycred_buy_form shortcode.
345
- - **FIX** - buyCred pending payment payout.
346
- - **FIX** - Badge image broken on sub-sites when master template is enabled on buddypress profile.
347
- - **FIX** - All ranks not removing completely, it stored some of their data in database.
348
- - **FIX** - Multisite buyCred transaction id empty on subsites in Bank transfer gateway.
349
- - **FIX** - mycred sell content not working with bbpress.
350
- - **FIX** - Bitpay 404 page issue in buyCred popup vesion.
351
- - **FIX** - myCred Email notifications triggers "transfer send and receives" not working properly.
352
- - **FIX** - mycred_sales_history shortcode not working.
353
- - **TWEAK** - Compatible rank module with PHP 7.4
354
- - **TWEAK** - Some variables are undefined in different cases in Leaderboard.
355
 
356
  = 1.8.11 =
357
- - **NEW** - Added button for remove default badge image.
358
- - **FIX** - Log menu not visible except the master site when the master template is enabled.
359
- - **FIX** - Bitpay buyCred payment gateway not working.
360
- - **FIX** - Pending payment menu not visible in multisite if the master template is enabled.
361
- - **FIX** - Undefined variable in myCRED_Query_Log class.
362
- - **FIX** - Single Quote in form title breaks the specific badge functionality for the gravity form.
363
- - **FIX** - Undefined index warnings in myCred leaderboard widget.
364
- - **TWEAK** - Update myCred translations.
365
- - **TWEAK** - mycred_hook_table code improvements.
366
 
367
  = 1.8.9 =
368
- - **NEW** - Introduce a new filter mycred_update_total_balance.
369
- - **FIX** - Rank display setting issues.
370
- - **FIX** - View content hook limit not working properly.
371
- - **FIX** - Buycred maximum limit not working.
372
- - **FIX** - myCred ranks show in BBPress profile and topic post even the user is excluded from the point type.
373
- - **FIX** - Badges not displaying in BBPress profile even check show all badges.
374
- - **FIX** - BuyCred Payment transactions visible in recent comments section.
375
- - **TWEAK** - Improvement in mycred_my_ranks shortcode.
376
- - **TWEAK** - Buycred shows proper error messages.
377
 
378
  = 1.8.8 =
379
- - **NEW** - Introduced myCred membership.
380
- - **NEW** - Added support in badge for specific link click and gravity form.
381
- - **TWEAK** - Added notice for meta key to avoid any conflicts.
382
- - **FIX** - leaderboard "current" attribute was not working.
383
- - **FIX** - myCred ranks show in BuddyPress profile even the user is excluded from the point type.
384
- - **FIX** - "number" attribute was not working in stats related shortcodes.
385
- - **FIX** - Errors in mycred_get_ranks function.
386
- - **FIX** - Unselected point types also appear in myCred Wallet Widget.
387
- - **FIX** - Four-digit points value not working in remote API.
388
- - **FIX** - MYSQL and MariaDB syntax error in their newer versions.
389
 
390
  = 1.8.7 =
391
- - **NEW** - Introduce a new action hook mycred_after_badge_assign.
392
- - **FIX** - Placeholder attribute not working in mycred_transfer shortcode.
393
 
394
  = 1.8.6 =
395
- - **NEW** - Introduce a new shortcode [mycred_my_balance_converted].
396
- - **NEW** - Introduce a new template tag %coupon_code%.
397
- - **TWEAK** - Avoid duplicate database calls in get_log_table().
398
- - **TWEAK** - Language support in [mycred_hook_table] shortcode.
399
- - **FIX** - [mycred_buy] shortcode always get default point type settings.
400
- - **FIX** - HTML format issue in [mycred_buy_form] shortcode.
401
- - **FIX** - Remove badge related PHP warnings.
402
- - **FIX** - %order_id% template tag does not render in myCRED email.
403
- - **FIX** - %transfer_message% template tag does not render in myCRED email.
404
 
405
  = 1.8.5.1 =
406
- - **FIX** - myCRED Statistics add-on related shortcodes.
407
- - **FIX** - myCRED Leaderbard cache issue.
408
- - **TWEAK** - Database optimization.
409
 
410
  = 1.8.5 =
411
- - **NEW** - Added "to" attribute in Leaderboard shortcode.
412
- - **NEW** - Added filter "mycred_show_custom_coupon_value" for coupon value.
413
- - **FIX** - myCRED Leaderboard widget notices.
414
- - **FIX** - Typo fix in BuddyPress hook.
415
- - **FIX** - Coupon success message not showing in custom point types.
416
- - **FIX** - Incorrect point type in coupon notification.
417
- - **FIX** - Ranks not being assigned based on Total Balance.
418
- - **FIX** - Set default point type in ctype attribute in [mycred_users_of_all_ranks] shortcode.
419
- - **FIX** - [mycred_hook_table] this shortcode showing only 1 content hook at a time.
420
- - **FIX** - Emails that are stored in draft are also being sent.
421
- - **FIX** - Template tags are not being rendered in email Notices.
422
- - **FIX** - Admin not able to select ranks "manual mode" from settings.
423
- - **FIX** - Admin not able to assign ranks when "manual mode" is enabled.
424
- - **FIX** - Errors in [mycred_email_subscriptions] shortcode.
425
- - **FIX** - Transfer Message showing as "-" in log.
426
- - **FIX** - myCRED Cache not deleting.
427
- - **FIX** - When deleting a BuddyPress Activity adds a "Profile Comment Delete" log.
428
- - **FIX** - Assign users badge from badge edit page.
429
- - **FIX** - "Not in" operator not passing in query_log.
430
- - **FIX** - Show main image in [mycred_my_badges] shortcode if level image is not set.
431
 
432
  = 1.8.4.2 =
433
- - **FIX** - myCRED hooks not adding on other point types.
434
- - **FIX** - option_id name not calling for other point types.
435
 
436
  = 1.8.4.1 =
437
- - **FIX** - myCRED hooks not saving.
438
- - **FIX** - setCookie function error when adding new hook.
439
 
440
  = 1.8.4 =
441
- - **NEW** - Introduce a new filter “mycred_option_id” for manipulating hooks.
442
- - **NEW** - Add new action "mycred_pref_hooks" on mycred hooks page
443
- - **TWEAK** - Limits are showing for Approved comments hook in [mycred_hook_table] shortcode.
444
- - **FIX** - Sell content undefined offset in Backend Pages & Posts.
445
- - **FIX** - mycred_buy shortcode Undefined variable: post.
446
- - **FIX** - Bitpay 404 page redirect.
447
- - **FIX** - BuyCred Gateway error message no gateway available.
448
- - **FIX** - myCred Email accept only ARRAY value in "get_subject" function.
449
- - **FIX** - Incorrect log table name in multisite when central logging is enabled.
450
- - **FIX** - strpos depreciated behavior.
451
- - **FIX** - Coupon expiration before date.
452
- - **FIX** - "Total in Points" value show in both Cart & Checkout page when you select "Show in Cart and on Checkout Page" in WooCommerce myCRED Gateway.
453
 
454
  = 1.8.3 =
455
- - **FIX** - Fixed Woocommerce checkout errors.
456
- - **FIX** - Fixed get_users_balance function.
457
- - **FIX** - Fixed typo error in bbPress hook.
458
- - **NEW** - Added new feature to copy to clipboard referral link in BuddyPress profile page
459
 
460
  = 1.8.2 =
461
- - **FIX** - [mycred_best_user] shortcode fixed.
462
- - **FIX** - Post related template tags fixed.
463
- - **FIX** - Sell content related issue fixed.
464
  IMPROVEMENT - Added check for existing logs getting disappeared.
465
 
466
  = 1.8.1 =
467
- - **FIX** - [mycred_my_balance] shortcode fixed.
468
- - **FIX** - [mycred_total_balance] shortcode fixed.
469
- - **FIX** - rank related issues fixed.
470
 
471
  = 1.8 =
472
- - **NEW** - Added new mycred_over_hook_limit filter for adjusting hook limit checks.
473
- - **NEW** - Added new MYCRED_RANK_KEY constant which can be used to whitelabel ranks.
474
- - **NEW** - Added new MYCRED_COUPON_KEY constant which can be used to whitelabel coupons.
475
- - **NEW** - Added new MYCRED_BADGE_KEY constant which can be used to whitelabel badges.
476
- - **NEW** - Added new MYCRED_EMAIL_KEY constant with can be used to whitelabel email notifications.
477
- - **NEW** - Added new MYCRED_BUY_KEY constant with can be used to whitelabel pending buyCRED payments.
478
- - **NEW** - Added new MYCRED_ENABLE_SHORTCODES constant in cases where myCRED shortcodes needs to be disabled.
479
- - **NEW** - Updated the Email Notifications add-on to version 1.4 with support for custom instances, multiple point types / notice and introduced the new myCRED_Email object.
480
- - **NEW** - Updated the buyCRED add-on which now has improved checkout process.
481
- - **NEW** - Added the option to set a custom gateway logo for all built-in payment gateways.
482
- - **NEW** - Updated the mycred_load_coupon shortcode to show an error message when an invalid coupon is used.
483
- - **NEW** - Added new Anniversary hook allowing you to reward users for each year they are a member on your website.
484
- - **NEW** - Added new MYCRED_ENABLE_HOOKS constant to disable hooks completely.
485
- - **NEW** - Added support for Multi Network setups.
486
- - **NEW** - Added new mycred_add_post_meta(), mycred_get_post_meta(), mycred_update_post_meta() and mycred_delete_post_meta() functions in order to add support for the Master Template feature on multisites.
487
- - **NEW** - Added support for multiple point types in leaderboards.
488
- - **NEW** - The leaderboard shortcode can now be setup to render results based on multiple point types.
489
- - **NEW** - Added caching of log and leaderboard queries.
490
- - **NEW** - Added new filter to allow adjustments to the reference used for publishing and deleting content hooks.
491
- - **NEW** - Added new mycred_give_run filter to control if the mycred_give shortcode should run or not.
492
- - **TWEAK** - Moved hooks to /includes/hooks/ and third-party hooks to /includes/hooks/external/.
493
- - **TWEAK** - Implemented the use of $mycred_log_table global throughout the plugin.
494
- - **TWEAK** - Improved Multisite support.
495
- - **TWEAK** - When a user jumps more than one badge level in a single instance, we want to make sure he gets rewarded for each level (if rewards is set).
496
- - **TWEAK** - Corrected codex urls for functions and shortcodes throughout the plugin.
497
- - **TWEAK** - Added support to whitelabel shortcodes.
498
- - **TWEAK** - Added new MYCRED_SHOW_PREMIUM_ADDONS constant to hide all mentions of premium add-ons in myCRED.
499
- - **TWEAK** - BuddyPress fixed issue related to points ignoring limit on adding to favorites
500
- - **TWEAK** - Optimized search the search for log entries
501
- - **TWEAK** - issue related to email not getting send on transfer in and out triggers in transfer addon
502
- - **TWEAK** - Rank excerpt fix
503
 
504
 
505
  = Previous Versions =
3
  Tags: badges, gamification, loyalty, points, rewards
4
  Requires at least: 4.8
5
  Tested up to: 5.5.1
6
+ Stable tag: 1.8.14.1
7
  Requires PHP: 7.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
304
 
305
  == Changelog ==
306
 
307
+ = 1.8.14.1 =
308
+ - **NEW** - Add filter for myCred Link Click
309
+ - **FIX** - Point types are not verified in myCred Sell Content.
310
+ - **FIX** - Rewards Points meta box is not displaying other than single product.
311
+
312
  = 1.8.14 =
313
  - **FIX** - Comments hooks not working.
314
  - **FIX** - Warnings in myCred Sell Content.
345
  - **TWEAK** - mycred_transfer shortcode prevent multiple form submission until the server responds
346
 
347
  = 1.8.12 =
348
+ NEW - Introduce a new filter mycred_video_interval for myCred Addons.
349
+ NEW - Added rate attribute in mycred_buy_form shortcode.
350
+ FIX - buyCred pending payment payout.
351
+ FIX - Badge image broken on sub-sites when master template is enabled on buddypress profile.
352
+ FIX - All ranks not removing completely, it stored some of their data in database.
353
+ FIX - Multisite buyCred transaction id empty on subsites in Bank transfer gateway.
354
+ FIX - mycred sell content not working with bbpress.
355
+ FIX - Bitpay 404 page issue in buyCred popup vesion.
356
+ FIX - myCred Email notifications triggers "transfer send and receives" not working properly.
357
+ FIX - mycred_sales_history shortcode not working.
358
+ TWEAK - Compatible rank module with PHP 7.4
359
+ TWEAK - Some variables are undefined in different cases in Leaderboard.
360
 
361
  = 1.8.11 =
362
+ NEW - Added button for remove default badge image.
363
+ FIX - Log menu not visible except the master site when the master template is enabled.
364
+ FIX - Bitpay buyCred payment gateway not working.
365
+ FIX - Pending payment menu not visible in multisite if the master template is enabled.
366
+ FIX - Undefined variable in myCRED_Query_Log class.
367
+ FIX - Single Quote in form title breaks the specific badge functionality for the gravity form.
368
+ FIX - Undefined index warnings in myCred leaderboard widget.
369
+ TWEAK - Update myCred translations.
370
+ TWEAK - mycred_hook_table code improvements.
371
 
372
  = 1.8.9 =
373
+ NEW - Introduce a new filter mycred_update_total_balance.
374
+ FIX - Rank display setting issues.
375
+ FIX - View content hook limit not working properly.
376
+ FIX - Buycred maximum limit not working.
377
+ FIX - myCred ranks show in BBPress profile and topic post even the user is excluded from the point type.
378
+ FIX - Badges not displaying in BBPress profile even check show all badges.
379
+ FIX - BuyCred Payment transactions visible in recent comments section.
380
+ TWEAK - Improvement in mycred_my_ranks shortcode.
381
+ TWEAK - Buycred shows proper error messages.
382
 
383
  = 1.8.8 =
384
+ NEW - Introduced myCred membership.
385
+ NEW - Added support in badge for specific link click and gravity form.
386
+ TWEAK - Added notice for meta key to avoid any conflicts.
387
+ FIX - leaderboard "current" attribute was not working.
388
+ FIX - myCred ranks show in BuddyPress profile even the user is excluded from the point type.
389
+ FIX - "number" attribute was not working in stats related shortcodes.
390
+ FIX - Errors in mycred_get_ranks function.
391
+ FIX - Unselected point types also appear in myCred Wallet Widget.
392
+ FIX - Four-digit points value not working in remote API.
393
+ FIX - MYSQL and MariaDB syntax error in their newer versions.
394
 
395
  = 1.8.7 =
396
+ NEW - Introduce a new action hook mycred_after_badge_assign.
397
+ FIX - Placeholder attribute not working in mycred_transfer shortcode.
398
 
399
  = 1.8.6 =
400
+ NEW - Introduce a new shortcode [mycred_my_balance_converted].
401
+ NEW - Introduce a new template tag %coupon_code%.
402
+ TWEAK - Avoid duplicate database calls in get_log_table().
403
+ TWEAK - Language support in [mycred_hook_table] shortcode.
404
+ FIX - [mycred_buy] shortcode always get default point type settings.
405
+ FIX - HTML format issue in [mycred_buy_form] shortcode.
406
+ FIX - Remove badge related PHP warnings.
407
+ FIX - %order_id% template tag does not render in myCRED email.
408
+ FIX - %transfer_message% template tag does not render in myCRED email.
409
 
410
  = 1.8.5.1 =
411
+ FIX - myCRED Statistics add-on related shortcodes.
412
+ FIX - myCRED Leaderbard cache issue.
413
+ TWEAK - Database optimization.
414
 
415
  = 1.8.5 =
416
+ NEW - Added "to" attribute in Leaderboard shortcode.
417
+ NEW - Added filter "mycred_show_custom_coupon_value" for coupon value.
418
+ FIX - myCRED Leaderboard widget notices.
419
+ FIX - Typo fix in BuddyPress hook.
420
+ FIX - Coupon success message not showing in custom point types.
421
+ FIX - Incorrect point type in coupon notification.
422
+ FIX - Ranks not being assigned based on Total Balance.
423
+ FIX - Set default point type in ctype attribute in [mycred_users_of_all_ranks] shortcode.
424
+ FIX - [mycred_hook_table] this shortcode showing only 1 content hook at a time.
425
+ FIX - Emails that are stored in draft are also being sent.
426
+ FIX - Template tags are not being rendered in email Notices.
427
+ FIX - Admin not able to select ranks "manual mode" from settings.
428
+ FIX - Admin not able to assign ranks when "manual mode" is enabled.
429
+ FIX - Errors in [mycred_email_subscriptions] shortcode.
430
+ FIX - Transfer Message showing as "-" in log.
431
+ FIX - myCRED Cache not deleting.
432
+ FIX - When deleting a BuddyPress Activity adds a "Profile Comment Delete" log.
433
+ FIX - Assign users badge from badge edit page.
434
+ FIX - "Not in" operator not passing in query_log.
435
+ FIX - Show main image in [mycred_my_badges] shortcode if level image is not set.
436
 
437
  = 1.8.4.2 =
438
+ FIX - myCRED hooks not adding on other point types.
439
+ FIX - option_id name not calling for other point types.
440
 
441
  = 1.8.4.1 =
442
+ FIX - myCRED hooks not saving.
443
+ FIX - setCookie function error when adding new hook.
444
 
445
  = 1.8.4 =
446
+ NEW - Introduce a new filter “mycred_option_id” for manipulating hooks.
447
+ NEW - Add new action "mycred_pref_hooks" on mycred hooks page
448
+ TWEAK - Limits are showing for Approved comments hook in [mycred_hook_table] shortcode.
449
+ FIX - Sell content undefined offset in Backend Pages & Posts.
450
+ FIX - mycred_buy shortcode Undefined variable: post.
451
+ FIX - Bitpay 404 page redirect.
452
+ FIX - BuyCred Gateway error message no gateway available.
453
+ FIX - myCred Email accept only ARRAY value in "get_subject" function.
454
+ FIX - Incorrect log table name in multisite when central logging is enabled.
455
+ FIX - strpos depreciated behavior.
456
+ FIX - Coupon expiration before date.
457
+ FIX - "Total in Points" value show in both Cart & Checkout page when you select "Show in Cart and on Checkout Page" in WooCommerce myCRED Gateway.
458
 
459
  = 1.8.3 =
460
+ FIX - Fixed Woocommerce checkout errors.
461
+ FIX - Fixed get_users_balance function.
462
+ FIX - Fixed typo error in bbPress hook.
463
+ NEW - Added new feature to copy to clipboard referral link in BuddyPress profile page
464
 
465
  = 1.8.2 =
466
+ FIX - [mycred_best_user] shortcode fixed.
467
+ FIX - Post related template tags fixed.
468
+ FIX - Sell content related issue fixed.
469
  IMPROVEMENT - Added check for existing logs getting disappeared.
470
 
471
  = 1.8.1 =
472
+ FIX - [mycred_my_balance] shortcode fixed.
473
+ FIX - [mycred_total_balance] shortcode fixed.
474
+ FIX - rank related issues fixed.
475
 
476
  = 1.8 =
477
+ NEW - Added new mycred_over_hook_limit filter for adjusting hook limit checks.
478
+ NEW - Added new MYCRED_RANK_KEY constant which can be used to whitelabel ranks.
479
+ NEW - Added new MYCRED_COUPON_KEY constant which can be used to whitelabel coupons.
480
+ NEW - Added new MYCRED_BADGE_KEY constant which can be used to whitelabel badges.
481
+ NEW - Added new MYCRED_EMAIL_KEY constant with can be used to whitelabel email notifications.
482
+ NEW - Added new MYCRED_BUY_KEY constant with can be used to whitelabel pending buyCRED payments.
483
+ NEW - Added new MYCRED_ENABLE_SHORTCODES constant in cases where myCRED shortcodes needs to be disabled.
484
+ NEW - Updated the Email Notifications add-on to version 1.4 with support for custom instances, multiple point types / notice and introduced the new myCRED_Email object.
485
+ NEW - Updated the buyCRED add-on which now has improved checkout process.
486
+ NEW - Added the option to set a custom gateway logo for all built-in payment gateways.
487
+ NEW - Updated the mycred_load_coupon shortcode to show an error message when an invalid coupon is used.
488
+ NEW - Added new Anniversary hook allowing you to reward users for each year they are a member on your website.
489
+ NEW - Added new MYCRED_ENABLE_HOOKS constant to disable hooks completely.
490
+ NEW - Added support for Multi Network setups.
491
+ NEW - Added new mycred_add_post_meta(), mycred_get_post_meta(), mycred_update_post_meta() and mycred_delete_post_meta() functions in order to add support for the Master Template feature on multisites.
492
+ NEW - Added support for multiple point types in leaderboards.
493
+ NEW - The leaderboard shortcode can now be setup to render results based on multiple point types.
494
+ NEW - Added caching of log and leaderboard queries.
495
+ NEW - Added new filter to allow adjustments to the reference used for publishing and deleting content hooks.
496
+ NEW - Added new mycred_give_run filter to control if the mycred_give shortcode should run or not.
497
+ TWEAK - Moved hooks to /includes/hooks/ and third-party hooks to /includes/hooks/external/.
498
+ TWEAK - Implemented the use of $mycred_log_table global throughout the plugin.
499
+ TWEAK - Improved Multisite support.
500
+ TWEAK - When a user jumps more than one badge level in a single instance, we want to make sure he gets rewarded for each level (if rewards is set).
501
+ TWEAK - Corrected codex urls for functions and shortcodes throughout the plugin.
502
+ TWEAK - Added support to whitelabel shortcodes.
503
+ TWEAK - Added new MYCRED_SHOW_PREMIUM_ADDONS constant to hide all mentions of premium add-ons in myCRED.
504
+ TWEAK - BuddyPress fixed issue related to points ignoring limit on adding to favorites
505
+ TWEAK - Optimized search the search for log entries
506
+ TWEAK - issue related to email not getting send on transfer in and out triggers in transfer addon
507
+ TWEAK - Rank excerpt fix
508
 
509
 
510
  = Previous Versions =