A free points management plugin for WordPress.
myCRED Logo
myCRED Logo
  • Membership New
  • Chapters
    • Chapter I – Introduction
    • Chapter II – Getting Started
    • Chapter III – Add-ons
    • Chapter IV – Premium Add-ons
    • Chapter V – For Developers
    • Chapter VI – Reference Guides
  • Categories
    • Actions
    • Classes
    • Constants
    • Filters
    • Functions
    • Objects
    • Shortcodes
    • Hooks
    • Template Tags
  • Packages
    • mycred/api
    • mycred/badge
    • mycred/balance
    • mycred/banking
    • mycred/content
    • mycred/core
    • mycred/coupon
    • mycred/email
    • mycred/game
    • mycred/log
    • mycred/notice
    • mycred/payment
    • mycred/purchase
    • mycred/rank
    • mycred/transfer
  • Store
  • Download
Chapter I
Introduction
  1. The Plugin
  2. Points
  3. The Log
  4. Administration
  5. Automatic Points
  6. Multisites
    • Master Template
    • Central Logging
  7. Add-ons
  8. Supported Plugins
  9. BuddyPress
  10. Usage Examples
  11. Limitations
  12. myCred 2.2
    • Features
    • Point Type
    • Point Type Image
    • Add-ons
    • Built-In Add-ons
    • Free Add-ons
    • Premium Add-ons
    • Badges
    • Alignment and Layout – Badges
    • Social Share
    • Shortcodes
    • Template
    • Treasures
    • Support
    • Suggestions
  13. myCred 2.4
    • New Features
    • myCred Gutenberg Support
    • Assign Badges/Ranks Through Coupons
    • Import/Export tool
Chapter II
Getting Started
  1. Installation
  2. Point Type Settings
  3. Multiple Point Types
  4. Adjusting Balances
  5. Bulk Assign
    • Getting Started
  6. Setup Hooks
  7. Import Data
    • Importing Balances
    • Importing Log Entries
    • Import CubePoints
  8. Export Data
  9. Widgets
  10. Shortcodes
  11. Optimization
  12. Uninstall
Chapter III
Add-ons
  1. Badges
    • Achievement Types
    • Creating Badges
    • Manual Badges
    • Open Badge
    • Displaying Badges
    • Developer Resources
  2. buyCRED
    • Selling Points
    • Add-on Setup
    • Payment Gateways
    • myCred Square
    • The Checkout Page
    • Pending Payments
    • Developer Resources
  3. Coupons
    • Creating Coupons
    • Redeeming Coupons
    • Coupon Management
    • Developer Resources
  4. Email Notifications
    • Add-on Setup
    • Creating Emails
    • Unsubscribe
    • Developer Resources
  5. Gateway
    • WooCommerce
    • WP E-Commerce
    • Event Espresso
    • Events Manager
    • Developer Resources
  6. Notifications
    • Troubleshooting
    • Developer Resources
  7. Ranks
    • Introduction
    • Add-on Setup
    • Create New Rank
    • Displaying Ranks
    • Developer Resources
  8. Sell Content
    • Add-on Setup
    • Manual Mode
    • Available Shortcodes
    • Troubleshooting
    • Developer Resources
  9. Statistics
    • Available Shortcodes
    • Settings
    • For Developers
  10. Transfers
    • Add-on Setup
    • Available Shortcodes
    • Transfer Messages
    • Transfer Types
    • Developer Resources
  11. Freebies
    • myCred BuddyBoss Integration
    • myCred Learndash Points Importer
    • myCred Badgr
    • myCred WP Simple Pay
    • myCred Tutor LMS
    • myCred Credly
    • BP Group Leaderboards
    • myCred for Events Manager Pro
    • myCred Learndash
      • Introduction
      • Plugin Settings
      • Allow Buying Courses in Points
      • Disallowing buying points for specific courses
      • LeaderBoard Based on myCRED Points
      • Different Types of Course, Lesson, Topic, Quiz
      • Different Badges for Course, Lesson, Topic, Quiz
      • Points and Badges on Specific Activities
      • Points & Badges on Assignments
      • myCred LearnDash (Courses)
      • myCred LearnDash (Lessons)
      • myCred LearnDash (Topics)
      • myCred LearnDash (Groups)
      • myCred LearnDash (Quizzes)
    • myCred H5P
    • myCred Github Rewards
    • myCred GiveWP
    • myCred Paid Membership Pro
    • myCred Memberpress
    • myCred Gamipress Importer
    • myCred Zoom
    • Amelia Add-on
    • myCred Anspress Integration
  12. cashCred
    • Getting Started
    • ShortCode
    • CashCred Form
    • Frontend Functionality
    • Admin Panel
    • cashCred Email Events
    • Fees
    • Gutenberg Block Support
  13. Central Deposit
    • Schedule Deposit
    • Email Triggers
Chapter IV
Premium Add-ons
  1. The myCred Store
  2. buyCRED Gateways
    • Stripe
    • Payza
    • Wepay
    • PayFast
    • 2checkout
    • Coinbase
    • ComproPago
    • Paymentwall
    • Robokassa
    • CoinPayments
  3. Third-party Bridges
    • myCred Beaver Builder
    • myCred WCVendors
    • LifterLMS Plugin Integration with myCred
    • myCred Gutenberg
    • myCred Dokan
    • myCred Elementor
    • myCred for WPBakery Page Builder
    • myCred for UserPro
    • myCred for Users Ultra
    • myCred Zapier Addon
  4. Games
    • myCred PacMan
    • Fortune Wheel Addon
  5. Enhancements
    • myCred Submission
    • Level Cred Add-on
    • myCred WooCommerce Plus
    • myCred Expiration Add on
    • myCred REST API
    • myCred Reset Point Add on
    • myCred Todo List
    • myCred Nominations
    • Progress Bar
    • myCred Social Proof
    • Notifications Plus
    • Social Share Add on
    • Transfer Plus
    • Twilio Transfers
    • Video Add-on
    • Video Add-on for JW Player
    • BuddyPress Charges
    • myCred Points Cap
    • Partial Payments – WooCommerce
    • myCred Progress map
    • myCred Email Digest
    • myCred Birthday Plus
    • myCred Daily Login Rewards
    • myCred Coupons Plus
    • myCred Anniversary Pro
    • myCred Email Plus
    • myCred Time Based Reward
  6. Store Gateways
    • Jigoshop
    • Easy Digital Downloads
    • WPMUDEV Fundraising
  7. cashCred Payment Gateways
    • cashcred PayPal
    • CashCred Paystack
    • cashcred Stripe
Chapter V
For Developers
  1. Introduction
  2. White Labeling
  3. Flowcharts
  4. Playing with Balances
  5. myCred Objects
  6. Log API
  7. Hook API
  8. Module API
  9. Gateway API
  10. Remote API
    • Version 1.0
    • Version 2.0
  11. Front-end Encryption
Chapter VI
Reference Guides
  1. Log References
  2. Shortcodes
  3. Template Tags
  4. Globals
  5. Constants
  6. Actions
  7. Filters
  8. Objects
  9. Functions
  10. Classes
Features :
  • Award points to enroll in a course.
  • Award points to enroll in a specific course.
  • Award points on completing any course.
  • Award points on completing a specific course.
  • Award points on completing a course having any tag.
  • Award points on completing a course having a specific tag.
  • Set Limits to attempt Course, No limit/Day/Week/Month (to select anyone frequency).
  • Click the Add More if you wish to add more courses in specific settings.

Plugin Settings :

  1. Add myCred LearnDash Enrolling in a Course hook from “Hooks”

First add LearnDash Enrolling in a Course hook from Hooks → From Available Hooks to an Active Hooks

Setup general & specific settings of points balance for LearnDash Enrolling in a Course hook

Fill the different fields for enrolling a course hook and click on the Save button available at the bottom. You can set general as well as specific settings in a single hook. 

  • Click on Enrolling in a Course (LearnDash)  hook from active hooks to open settings.
  • Set the points balance for general enrolling any course which will be taken by the user per Course.
  • Set the label description for general enrolling in any course  which will be displayed in logs when users gain points per course.
  • To Enable/Disable specific settings, you can click on the ‘Enable Specific checkbox’. 
  • Select Course so the user will get points on that particular course only once.
  • Set the points balance for specific enrolling in a course which will be taken by the user on that particular course.
  • Set the label description for specific enrolling a course which will be displayed in logs when users gain points on that particular course only.
  • Set the points Limit ‘No limit/Day/Week/Month’ (You can select any defined limit of attempting course,it will count number of attempts including general & specific). 

Note: By checking the specific settings box, the user will be able to utilize a specific setting hook and remain it uncheck to keep it disabled.

  • Limit

Points Limit ‘No limit/Day/Week/Month’ (You can select any defined limit of attempting course,it will count number of attempts for general & specific both).

  • Add More

You can use Add more if you wish to add more or create more courses in specific settings. (It is available only for specific)

Logs:

  • Go to myCred points ➜ Logs

2) Add myCred LearnDash Completing a Course hook from “Hooks” 

First add LearnDash Completing a Course hook from Hooks → From Available Hooks to an Active Hooks

Setup general & specific settings of points balance for LearnDash Completing a Course hook

Fill the different fields for completing a course hook and click on the Save button available at the bottom. You can set general as well as specific settings in a single hook. 

  • Click on Completing a Course (LearnDash)  hook from active hooks to open settings.
  • Set the points balance for general completing any course which will be taken by the user per Course.
  • Set the label description for general enrolling any course  which will be displayed in logs when users gain points per course.
  • To Enable/Disable specific settings, you can click on the ‘Enable Specific checkbox’. 
  • Select Courses option from Select Option & select Particular Course from User Selected Option  so the user will get points on that particular course only once.
  • Set the points balance for specific completing a course which will be taken by the user on that particular course only.
  • Set the label description for specific completing a course which will be displayed in logs when users gain points on the selected course.
  • Set the points Limit ‘No limit/Day/Week/Month’ (You can select any defined limit of attempting course,it will count number of attempts including general & specific). 
  • Click the Save button present at the bottom.

Note: By checking the specific settings box, the user will be able to utilize a specific setting hook and remain it uncheck to keep it disabled.

Logs :

  • Go to myCred points ➜ Logs
  • Completing a Course having Tags

Using Tags the user needs to add tags in the Learndash Course Post Type.

  • Select Courses having Tags option from Select Option & you can select Any Tag/Particular Tag from User Selected Option  so the user will get points only once on particular course having that tag.

Similarly, the user can select tag associated with a particular course from the dropdown hook options

When the user completes the course associated with a particular tag the user gets the respective points

About myCRED

myCRED is a free, open-source and developer friendly points management tool for WordPress powered websites.

Download Rate Plugin

Documentation

  • Add-ons
  • Core Shortcodes
  • F.A.Q.
  • Tutorials
  • Third Party Plugins
  • Code Snippets

Support

  • Product Licenses
  • Customization
  • Support Forums
  • Plugin Changelog
  • Contact

Copyright 2013 - 2022 byWPExperts; All rights reserved. myCRED is licensed under GPL 2.0

Terms & Conditions • Use of Cookies • Store Policy • Community Rules

Suggest Codex Example

You can submit suggestions for codex examples that you have available as a public gist. If you are a member on the mycred.me website, you can earn Tokens for each submission. To claim these Tokens, make sure you provide your mycred.me username.

Please make sure the example you submit is relevant and if you include documentation, it's provided in English.

logo
  • Membership New
  • Chapters
    • Chapter I – Introduction
    • Chapter II – Getting Started
    • Chapter III – Add-ons
    • Chapter IV – Premium Add-ons
    • Chapter V – For Developers
    • Chapter VI – Reference Guides
  • Categories
    • Actions
    • Classes
    • Constants
    • Filters
    • Functions
    • Objects
    • Shortcodes
    • Hooks
    • Template Tags
  • Packages
    • mycred/api
    • mycred/badge
    • mycred/balance
    • mycred/banking
    • mycred/content
    • mycred/core
    • mycred/coupon
    • mycred/email
    • mycred/game
    • mycred/log
    • mycred/notice
    • mycred/payment
    • mycred/purchase
    • mycred/rank
    • mycred/transfer
  • Store
  • Download