myCRED - Version 1.8.7

Version Description

Bug fixes release.

=

Download this release

Release Info

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

Code changes from version 1.8.6 to 1.8.7

addons/badges/includes/mycred-badge-object.php CHANGED
@@ -362,6 +362,8 @@ if ( ! class_exists( 'myCRED_Badge' ) ) :
362
  }
363
 
364
  $this->payout_reward( $previous_level, $new_level );
 
 
365
 
366
  return true;
367
 
362
  }
363
 
364
  $this->payout_reward( $previous_level, $new_level );
365
+
366
+ do_action( 'mycred_after_badge_assign', $user_id, $this->post_id, $new_level );
367
 
368
  return true;
369
 
addons/transfer/includes/mycred-transfer-object.php CHANGED
@@ -908,7 +908,8 @@ if ( ! class_exists( 'myCRED_Transfer' ) ) :
908
 
909
  }
910
 
911
- $placeholder = '';
 
912
  if ( $this->args['placeholder'] == '' ) {
913
 
914
  if ( $this->settings['autofill'] == 'user_login' )
908
 
909
  }
910
 
911
+ $placeholder = $this->args['placeholder'];
912
+
913
  if ( $this->args['placeholder'] == '' ) {
914
 
915
  if ( $this->settings['autofill'] == 'user_login' )
mycred.php CHANGED
@@ -3,13 +3,13 @@
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.6
7
  * Tags: point, credit, loyalty program, engagement, reward, woocommerce rewards
8
  * Author: myCRED
9
  * Author URI: https://mycred.me
10
  * Author Email: support@mycred.me
11
  * Requires at least: WP 4.8
12
- * Tested up to: WP 5.2.4
13
  * Text Domain: mycred
14
  * Domain Path: /lang
15
  * License: GPLv2 or later
@@ -19,7 +19,7 @@ if ( ! class_exists( 'myCRED_Core' ) ) :
19
  final class myCRED_Core {
20
 
21
  // Plugin Version
22
- public $version = '1.8.6';
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.7' ); }
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.7' ); }
64
 
65
  /**
66
  * Get
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.7
7
  * Tags: point, credit, loyalty program, engagement, reward, woocommerce rewards
8
  * Author: myCRED
9
  * Author URI: https://mycred.me
10
  * Author Email: support@mycred.me
11
  * Requires at least: WP 4.8
12
+ * Tested up to: WP 5.3
13
  * Text Domain: mycred
14
  * Domain Path: /lang
15
  * License: GPLv2 or later
19
  final class myCRED_Core {
20
 
21
  // Plugin Version
22
+ public $version = '1.8.7';
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.7' ); }
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.7' ); }
64
 
65
  /**
66
  * Get
readme.txt CHANGED
@@ -1,68 +1,185 @@
1
- === myCRED - Points, Rewards & Badges | Loyalty Plugin ===
2
  Contributors: mycred,wpexpertsio
3
- Tags: point, credit, loyalty program, engagement, reward
4
  Requires at least: 4.8
5
  Tested up to: 5.3
6
- Stable tag: 1.8.6
7
  Requires PHP: 7.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- An adaptive and powerful points management system for WordPress powered websites.
12
-
13
  == Description ==
14
 
15
- myCRED is an adaptive points management system that lets you build a broad range of point related applications for your WordPress powered website.
16
- Store reward systems, community leaderboards, online banking or monetizing your websites content, are a few examples of the ways myCRED is used.
17
 
18
- = Points =
19
 
20
- Each user on your WordPress websites gets their own point balance which you can manually [adjust](https://mycred.me/about/features/#points-management) at any time. You can use just one point balance or setup multiple types of balances. How these balances are accessed, used or shows is entirely up to you.
21
 
 
22
 
23
- = Log =
24
 
25
- Each time myCRED adds or deducts points from a user, the adjustment is [logged](https://mycred.me/about/features/#account-history) in a dedicated log, allowing your users to browse their history. The log is also used to provide you with statistics, accountability, badges, ranks and to enforce limits you might set.
26
 
 
27
 
28
- = Awarding or Deducting Points Automatically =
29
 
30
- myCRED supports a vast set of ways you can automatically give / take points from a user. Everything from new comments to store purchases. These automatic adjustments are managed by so called [Hooks](https://mycred.me/about/features/#automatic-points) which you can setup in your admin area.
31
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
33
- = Third-party plugin Support =
34
 
35
- myCRED supports some of the most [popular plugins](https://mycred.me/about/supported-plugins/) for WordPress like BuddyPress, WooCommerce, Jetpack, Contact Form 7 etc. To prevent to much cluttering in the admin area with settings, myCRED will only show features/settings for third-party plugins that are installed and enabled.
36
 
 
37
 
38
- = Add-ons =
39
 
40
- There is so much more to myCRED then just adjusting balances. The plugin comes with several [built-in add-ons](https://mycred.me/add-ons/) which enabled more complex features such as allowing point transfers, buying points for real money, allow payments in stores etc.
41
 
 
42
 
43
- = Documentation =
44
 
45
- You can find extensive [documentation](http://codex.mycred.me/) on everything myCRED related in the myCRED Codex. You can also find a list of [frequently asked](https://mycred.me/about/faq/) questions on the myCRED website.
46
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
 
48
- = Customizations =
49
 
50
- myCRED was not built to "do-it-all". Instead a lot of effort has been made to make the plugin as developer friendly as possible. If you need a custom feature built, you can submit a [request for a quote](https://mycred.me/customize/request-quote/) via the myCRED website.
51
 
 
 
 
 
 
 
52
 
53
- = Code Snippets =
54
 
55
- The most commonly asked customizations for myCRED are available as code snippets on the [myCRED website](https://mycred.me/code-snippets/), free to use by anyone.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
 
57
 
58
  = Support =
59
 
60
- Support is offered on our [myCRED website](https://mycred.me/support/) from Monday to Friday 9AM - 5PM (GMT+5). Submit [customization request](https://mycred.me/customize/request-quote/) or open a [support ticket](https://mycred.me/support/) If you have trouble with myCRED which is not described in documentation also you can consult the [online community](https://mycred.me/support/forums/) for your question. We pay myCRED Store Tokens as a reward on reporting bugs and their fixes as well. Support is not entertained here on the wordpress.org support forum or on any social media account.
61
 
 
 
 
62
 
63
  == Installation ==
64
 
65
- = myCRED Guides =
66
 
67
  [Chapter I - Introduction](http://codex.mycred.me/chapter-i/)
68
 
@@ -122,13 +239,15 @@ Bug fixes release.
122
  = 1.8.6 =
123
  Bug fixes release.
124
 
 
 
 
125
 
126
  == Other Notes ==
127
 
128
  = Requirements =
129
  * WordPress 4.8 or greater
130
- * PHP version 5.6 or greater
131
- * PHP mcrypt library enabled
132
  * MySQL version 5.0 or greater
133
 
134
  = Language Contributors =
@@ -144,6 +263,10 @@ Bug fixes release.
144
 
145
  == Changelog ==
146
 
 
 
 
 
147
  = 1.8.6 =
148
  NEW - Introduce a new shortcode [mycred_my_balance_converted].
149
  NEW - Introduce a new template tag %coupon_code%.
1
+ === myCred - Points, Rewards, Gamification, Ranks, Badges & Loyalty Plugin ===
2
  Contributors: mycred,wpexpertsio
3
+ Tags: points, badges, rewards, loyalty, gamification, loyalty points, user engagement, user credit
4
  Requires at least: 4.8
5
  Tested up to: 5.3
6
+ Stable tag: 1.8.7
7
  Requires PHP: 7.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
 
 
11
  == Description ==
12
 
13
+ myCred is an intelligent and adaptive **points management system** that allows you to build and manage a broad range of digital rewards including points, ranks and, badges on your WordPress/WooCommerce powered website.
 
14
 
15
+ Build **brand loyalty** by rewarding your customers through store reward systems, community leaderboards, monetizing your website content, etc. – The possibilities are endless.
16
 
17
+ **Increase customer engagement tenfold Rewarding your users for community engagement will help your business grow.**
18
 
19
+ = AMAZING AWARD SYSTEMS TO ENGAGE AND REWARD LOYAL CUSTOMERS =
20
 
21
+ myCred allows **THREE different ways** through which you can award your users:
22
 
23
+ * **Points -** Set events and triggers to allow real-time tracking and automatically award your users with points.
24
 
25
+ * **Ranks –** Set ranks within your leaderboards and reward your users with significant perks after they reach a certain milestone.
26
 
27
+ * **Badges -** Boost your users’ participation by rewarding them for their exceptional performance.
28
 
29
+ = Features =
30
 
31
+ **- Point Balances:** Each user on your website will have their own point balance, where they’ll be able to view points that were gained/lost.
32
+ **- Account History:** Each time a user gains or loses points on your website, the transaction is logged into a central log for accountability.
33
+ **- Points Management:** You have full control over your users’ point balances; You can adjust your user/s balance by adding or removing points with or without a log entry.
34
+ **- White-Labeling:** myCred has built-in support for white-labeling - This allows you to rename the plugin in your admin area to anything you like.
35
+ **- Import & Export:** myCred comes with three built-in import tools allowing you to import points, log entries, or migrate your CubePoints installation.
36
+ **- Automatic Points:** Automatically award or deduct points from your user’s balance for their interaction on your Wordpress/WooCommerce website.
37
+ **- Multiple Point Types:** Create multiple point types through the admin area to manage things easily. There is no limit to the number of point types you can have at your disposal.
38
+ **- Multi-Site Support:** myCred has built-in support for multi-sites, allowing you to choose between using a unique myCred installation or centralize balances across your network.
39
+ **- Leaderboards:** Generate leaderboards based on your user’s balance or points history - display users with the most points for a particular instance.
40
+ **- Badges:** Award badges to your users based on their points history. You can set certain requirements for this feature so that myCred automatically awards them to the deserving users.
41
+ **- Buy Points:** The buyCred add-on allows your users to purchase points using real money using some of the most popular payment gateways available in the market today.
42
+ **- Coupons:** Create and share coupon codes with your users, which can be redeemed when they have generated a certain amount of points.
43
+ **- Notifications:** The notifications add-on allows you to show popup notifications each time a user gains or loses points on your website.
44
+ **- Ranks:** Ranks are based on how well your user balance is performing. As a user’s balance changes, so do their rank.
45
+ **- Store Payments:** myCred supports some of the most popular store plugins for WordPress, allowing your users to pay for orders/tickets using their point balance instead of real money.
46
+ **- Reward Purchases:** You can opt to reward your users with points that they can use to buy products in your store.
47
+ **- Sell Content:** The Sell Content add-on allows you to sell access to the content field of posts/pages or custom post types on your website.
48
+ **- Statistics:** The statistics add-on will convert your log data into charts to help visualize points usage and circulation on your website.
49
+ **- Transfers:** The transfer add-on allows your users to transfer points to other users on your website.
50
+ **- Theme Independent:** The myCred plugin is theme independent - Your theme needs to support widgets and shortcodes in order to run myCred.
51
+ **- BuddyPress Ready:** myCred has had built-in support for BuddyPress through which you can access BuddyPress related features like Insert point balances/badges/ranks into your user’s profiles.
52
+ **- Bootstrap Ready:** myCred comes with minimal CSS styling to give you the freedom to style everything according to your needs.
53
+ **- Translation Ready:** You can add your own language translation or adjust the built-in translation support.
54
 
 
55
 
56
+ = AN ATTRACTIVE AND EFFECTIVE POINTS AND REWARDS SYSTEM =
57
 
58
+ Empower your WordPress website users by rewarding them points - each user has their own **POINT BALANCE** that can be used in purchasing online products or online activities.
59
 
60
+ Not only will you be able to manually adjust the point balance system at any time, but you can also set up multiple point types and use them for different kinds of activities. How these point balances are accessed, used, or displayed are entirely up to you.
61
 
62
+ = AWARD OR DEDUCT POINTS AUTOMATICALLY =
63
 
64
+ **myCred** supports an extensive set of WordPress interactions through which you can automatically give/take points from a user. These actions can be as simple as logging in, publishing content, or leaving a comment. These automatic adjustments are managed by a feature called “[Hooks](https://mycred.me/about/features/#automatic-points)” that can be set up in your admin area.
65
 
 
66
 
67
+ = DEDICATED LOG =
68
 
69
+ Each time **myCred** adds or deducts points from a user, the adjustment is [logged](https://mycred.me/about/features/#account-history) in a dedicated log, allowing your users to browse their history. This log keeps a record of your users’ accountability, badges, and ranks, among other useful statistics.
70
+
71
+ This log data can be converted into charts to help you visualize the usage and circulation of points on your website.
72
+
73
+ You can achieve the following features by using a dedicated log for your points system:
74
+
75
+ * Set a limit to the maximum number of times each hook can give out points to your user.
76
+ * Badges will use the log’s data to determine which user has earned a badge.
77
+ * Add-ons such as “Sell Content” use the log to keep track of users who have purchased posts from your website.
78
+ * Add-ons use the log to make sure that a user does not gain repetitive points for the same interaction within a given time frame.
79
+
80
+ = BUILT-IN ADD-ONS =
81
+
82
+ myCred is much more than just a point management system – The plugin comes with several [built-in add-ons](https://www.mycred.me/add-ons/) that enable you to perform complex tasks such as transfer or buy points for real money, allow payments in stores, etc.
83
+
84
+ **- Badges:** Award your users badges based on their points history.
85
+ **- buyCred:** Let your users buy points in exchange for real money.
86
+ **- Coupons:** Create coupons that can be redeemed for points.
87
+ **- Email notifications:** Setup email notifications for status updates.
88
+ **- Gateway:** Let users pay with points in your store.
89
+ **- Notifications:** Enable popup notifications that display status updates.
90
+ **- Ranks:** Create ranks based on the user’s point balance.
91
+ **- Sell Content:** Sell your content in exchange for points.
92
+ **- Statistics:** Get a statistical overview of points in circulation, etc.
93
+ **- Transfers:** Allow your users to transfer points to other users.
94
+
95
+ Power your WordPress website with 50+ add-ons ranging from categories like **Gamification** and **Freebies** to **Third-Party Bridges** and **Store Gateway**.
96
+
97
+ = BUILT-IN PLUGIN SUPPORT =
98
+
99
+ myCred supports some of the most popular WordPress plugins like **BuddyPress, WooCommerce, Jetpack, Contact Form 7, Disqus, Gravity Forms,** among countless others.
100
+
101
+ **Simple & organized –** To keep your admin area organized, myCred will only show features and setting for those third-party plugins that are installed and enabled.
102
+
103
+
104
+ = INTEGRATED WITH THE MOST POPULAR LEARNING MANAGEMENT SYSTEMS =
105
+ myCred is integrated with a large number of popular learning management systems, that include:
106
+
107
+ - [LearnDash](https://wordpress.org/plugins/mycred-learndash/)
108
+ - [LifterLMS](https://wordpress.org/plugins/mycred-lifterlms-integration/)
109
+ - [WPLMS](https://wplms.io/support/knowledge-base/wplms-mycred-add-on/) (Free third-party integration)
110
+ - [LearnPress](https://thimpress.com/product/mycred-add-on-for-learnpress/) (Paid third-party integration).
111
+
112
+ = MYCRED'S INTEGRATION WITH YOUR FAVORITE PAGE BUILDERS: =
113
+
114
+ - [myCred Elementor](https://www.mycred.me/store/mycred-elementor/)
115
+ - [myCred Beaver Builder](https://www.mycred.me/store/mycred-beaver-builder/)
116
+ - [myCred for WPBakery Page Builder](https://www.mycred.me/store/mycred-for-wpbakery-page-builder/)
117
 
 
118
 
119
+ = MYCRED OFFERS A VARIETY OF FREE PLUGINS THAT INCLUDE: =
120
 
121
+ - [LifterLMS Plugin Integration with myCred](https://www.mycred.me/store/mycred-lifterlms-integration/)
122
+ - [myCred Credly](https://www.mycred.me/store/mycred-credly/)
123
+ - [myCred BP Group Leaderboards](https://www.mycred.me/store/mycred-bp-group-leaderboards/)
124
+ - [myCred for WP-Pro-Quiz](https://www.mycred.me/store/mycred-for-wp-pro-quiz/)
125
+ - [myCred for Rating Form](https://www.mycred.me/store/mycred-for-rating-form/)
126
+ [Explore to find out more...](https://www.mycred.me/product-category/freebies/)
127
 
 
128
 
129
+ = MYCRED’S THIRD-PARTY BRIDGES PLUGINS: =
130
+
131
+ - [Stripe – buyCred Gateway](https://www.mycred.me/store/buycred-stripe/)
132
+ - [Easy Digital Downloads – myCred Gateway](https://www.mycred.me/store/mycred-for-easy-digital-downloads/)
133
+ - [myCred Dokan](https://www.mycred.me/store/mycred-dokan/)
134
+ - [myCred WCVendors](https://www.mycred.me/store/mycred-wc-vendors/)
135
+ - [myCred Learndash](https://www.mycred.me/store/mycred-learndash/)
136
+ - [myCred for Users Ultra](https://www.mycred.me/store/mycred-for-users-ultra/)
137
+ - [myCred for User Pro](https://www.mycred.me/store/mycred-for-user-pro/)
138
+
139
+ = MYCRED’S GAMIFICATION PLUGINS: =
140
+
141
+ - [myCred PacMan](https://www.mycred.me/store/mycred-pacman/)
142
+ - [Wheel of Fortune Add-On](https://www.mycred.me/store/wheel-of-fortune-add-on/)
143
+
144
+
145
+ = MYCRED’S ENHANCEMENT PLUGINS: =
146
+
147
+ - [myCred WooCommerce Plus](https://www.mycred.me/store/mycred-woocommerce-plus/)
148
+ - [myCred Level Cred](https://www.mycred.me/store/mycred-level-cred/)
149
+ - [myCred Social Proof](https://www.mycred.me/store/mycred-social-proof/)
150
+ - [myCred SMS Payments – Twilio Transfers](https://www.mycred.me/store/sms-payments/)
151
+ - [myCred Expiration Add on](https://www.mycred.me/store/mycred-expiration-add-on/)
152
+ - [myCred Social Share Add on](https://www.mycred.me/store/mycred-social-share-add-on/)
153
+ - [myCred Progress Bar Add on](https://www.mycred.me/store/mycred-progress-bar-add-on/)
154
+ - [myCred Video Add-on For JW Player](https://www.mycred.me/store/jw-player-with-mycred/)
155
+ - [myCred BP Charges](https://www.mycred.me/store/mycred-bp-charges/)
156
+ - [myCred Rest API](https://www.mycred.me/store/mycred-rest-api/)
157
+ - [myCred Transfer Plus](https://www.mycred.me/store/transfer-plus/)
158
+ - [myCred Video Add-on For Vimeo](https://www.mycred.me/store/video-add-on/)
159
+ - [myCred Notifications Plus Add-on](https://www.mycred.me/store/notifications-plus-add-on/)
160
+
161
+
162
+ = Documentation =
163
+
164
+ You can find extensive [documentation](http://codex.mycred.me/) on myCred related add-ons in the myCred Codex. You can also find a list of [frequently asked](https://mycred.me/about/faq/) questions on the myCred website.
165
+
166
+
167
+ = Customizations =
168
+
169
+ myCred has the ability to “do-it-all” because we have put in a lot of effort to make sure that the supported plugins are as developer-friendly as possible. If you need to build a custom feature, simply submit a [request for a quote](https://mycred.me/customize/request-quote/) via the myCred website.
170
 
171
 
172
  = Support =
173
 
174
+ We offer support on our [myCred website](https://mycred.me/support/) from 9 AM – 5 PM, Monday to Friday (GMT+5).
175
 
176
+ You can either submit a [customization request](https://mycred.me/customize/request-quote/) or open a [support ticket](https://mycred.me/support/) any time you’re facing trouble with myCred.
177
+
178
+ If you’re facing a problem that is not described in our technical documentation, we suggest that you consult myCred’s [online community](https://mycred.me/support/forums/) with your question. We pay users through myCred Store Tokens as a reward for reporting bugs and even their fixes.
179
 
180
  == Installation ==
181
 
182
+ = myCred Guides =
183
 
184
  [Chapter I - Introduction](http://codex.mycred.me/chapter-i/)
185
 
239
  = 1.8.6 =
240
  Bug fixes release.
241
 
242
+ = 1.8.7 =
243
+ Bug fixes release.
244
+
245
 
246
  == Other Notes ==
247
 
248
  = Requirements =
249
  * WordPress 4.8 or greater
250
+ * PHP version 7.0 or greater
 
251
  * MySQL version 5.0 or greater
252
 
253
  = Language Contributors =
263
 
264
  == Changelog ==
265
 
266
+ = 1.8.7 =
267
+ NEW - Introduce a new action hook mycred_after_badge_assign.
268
+ FIX - Placeholder attribute not working in mycred_transfer shortcode.
269
+
270
  = 1.8.6 =
271
  NEW - Introduce a new shortcode [mycred_my_balance_converted].
272
  NEW - Introduce a new template tag %coupon_code%.