If you’re using MyCRED or considering a system to award users for interacting with your WordPress powered website, this code recipe is for you.
The article includes two recipes: one to award points at the initial membership checkout and another to award points with every recurring membership payment made. You can customize the point value awarded per membership level.
Recipe #1: Points at Membership Checkout
The recipe below will only award points at the initial membership checkout. You can customize the recipe for your specific point values and level IDs. Additionally, there are a few lines that are commented out in the code recipe that only award points if a member selects automatic renewal (recurring membership). You can use this recipe in combination with the Auto-Renewal Checkbox Add On to add an additional incentive for members that set up automatic renewal.
Recipe #2: Points Awarded with Each Recurring Payment
The next recipe option will award points with each recurring payment order created. This is a great way to incentivize members to maintain their accounts and to award members who stay active.
Adding a recipe to your website
You can add one of these recipes to your site by creating a custom plugin or using the Code Snippets plugin available for free in the WordPress repository. Read this companion article for step-by-step directions on either method.
You can adjust the default $points
value or add a unique value for your Membership Levels by ID.
Other Gamification Plugins
BadgeOS Paid Memberships Pro
BadgeOS turns your site into an achievement and badging system. The BadgeOS Integration with PMPro allows you to add gamification to your membership site to engage your members.
GamiPress- Paid Memberships Pro Integration
GamiPress gives users digital rewards for interacting with your WordPress website. You can add gamification to your Paid Memberships Pro memberships to engage your users and increase your sales. This plugin automatically connects GamiPress with Paid Memberships Pro adding new activity events.
Free Course: Membership Site Development—The Basics
Develop a deeper understanding of membership site development in this beginner-level course. Learn how to make your site work better, save yourself time and money, and improve your site's performance.