myCRED 1.8 is Finally Released

Home / Blog / myCRED 1.8 is Finally Released

Introduction

myCRED Team appreciate the contribution of myCRED community so today we feel proud to say that myCRED 1.8 stable version is finally released, currently our team is working on reported bugs and there will be releasing updates with the fixes.

NOTE for 3rd party plugin authors…need to update their plugins/themes to test with 1.8 version of mycred.

Statistics 2.0

The Statistics add-on has received a complete re-write in order to add support for showing charts and statistical data on the front end of your website. The add-on comes with pre-set types of data that you can select to show either as a table or using charts (or both).

buyCRED

New Checkout
One of the most requested features for buyCRED has been to making the checkout process easier to customize, so the checkout process has been completely re-written. You can now override the built-in template via your theme and style or customize the checkout page anyway you like.

Further more, a new “popup” checkout option is available for those who do not like the full screen checkout buyCRED always uses. While these changes are extensive, I have made sure it is backwards compatible, so any third-party / premium gateways for buyCRED will continue to work in 1.8.

Both checkout options now also include the amount of points a user buys and it’s cost before they are taking to the payment processor.

The full page option works similarly to the old setup. The difference is that the entire page is loaded using your theme's styling.
The new popup checkout is rendered on the same page where you use the shortcodes.

Maximum Limit

buyCRED will now offer you the option to enforce a maximum purchase limit based on either per day, per week or per month. If you have multiple point types for sale, you can select to set a maximum for each individual type.

The buyCRED settings have been updated to accommodate this and once you update, you will be required to go through these settings and ensure they are correctly setup. To implement this maximum enforcement, the setup had to be re-written, so your settings will need to be re-saved after the update.

buyCRED will now offer you the option to enforce a maximum purchase limit based on either per day, per week or per month. If you have multiple point types for sale, you can select to set a maximum for each individual type.

The buyCRED settings have been updated to accommodate this and once you update, you will be required to go through these settings and ensure they are correctly setup. To implement this maximum enforcement, the setup had to be re-written, so your settings will need to be re-saved after the update.

Email Notifications

The Email Notifications add-on has received a substantial re-write in order to allow custom emails to be setup. While in previous versions you were presented with a limited list of instances where an email can be sent, in 1.8, you can now send emails for one or multiple instances based on reference.

Furthermore you no longer need to create one email for each point type / instance. You can now select to send an email for multiple point types or a comma separated list of instances.

Updating

Updating to 1.8 will require you to re-save all your existing email notices to ensure that they are sent in the correct instances. While a lot of work has been put into improving this add-on, the add-on will mostly work the same way as before. The only thing that needs to be updates is the email instances.

Hooks

  • NEW – Added new Anniversary hook gives you ability to reward each user on each year with points since they became a member on your website.
  • NEW – Added new MYCRED_ENABLE_HOOKS constant to disable hooks completely.
  • NEW – Added new mycred_over_hook_limit filter for adjusting hook limit checks.

Here’s Changelog for those who are interested in more details:

NEW – Added new mycred_over_hook_limit filter for adjusting hook limit checks.
NEW – Added new MYCRED_RANK_KEY constant which can be used to whitelabel ranks.
NEW – Added new MYCRED_COUPON_KEY constant which can be used to whitelabel coupons.
NEW – Added new MYCRED_BADGE_KEY constant which can be used to whitelabel badges.
NEW – Added new MYCRED_EMAIL_KEY constant with can be used to whitelabel email notifications.
NEW – Added new MYCRED_BUY_KEY constant with can be used to whitelabel pending buyCRED payments.
NEW – Added new MYCRED_ENABLE_SHORTCODES constant in cases where myCRED shortcodes needs to be disabled.
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.
NEW – Updated the buyCRED add-on which now has improved checkout process.
NEW – Added the option to set a custom gateway logo for all built-in payment gateways.
NEW – Updated the mycred_load_coupon shortcode to show an error message when an invalid coupon is used.
NEW – Added new Anniversary hook allowing you to reward users for each year they are a member on your website.
NEW – Added new MYCRED_ENABLE_HOOKS constant to disable hooks completely.
NEW – Added support for Multi Network setups.
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.
NEW – Added support for multiple point types in leaderboards.
NEW – The leaderboard shortcode can now be setup to render results based on multiple point types.
NEW – Added caching of log and leaderboard queries.
NEW – Added new filter to allow adjustments to the reference used for publishing and deleting content hooks.
NEW – Added new mycred_give_run filter to control if the mycred_give shortcode should run or not.
TWEAK – Moved hooks to /includes/hooks/ and third-party hooks to /includes/hooks/external/.
TWEAK – Implemented the use of $mycred_log_table global throughout the plugin.
TWEAK – Improved Multisite support.
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).
TWEAK – Corrected codex urls for functions and shortcodes throughout the plugin.
TWEAK – Added support to whitelabel shortcodes.
TWEAK – Added new MYCRED_SHOW_PREMIUM_ADDONS constant to hide all mentions of premium add-ons in myCRED.
TWEAK – BuddyPress fixed issue related to points ignoring limit on adding to favorites
TWEAK – Optimized search the search for log entries
TWEAK – issue related to email not getting send on transfer in and out triggers in transfer addon
TWEAK – Rank excerpt fix

11