This plugin gives you access to the myCred Birthdays hook which you can setup to reward / deduct points from your users on their birthday! Supports BuddyPress or websites where the users date of birth is stored as a custom user meta.
To prevent abuse, users can only get birthday points once each year. This means your users can change their date of birth if they want but it will not trigger new points.
The hook will check for birthdays on the first page request each morning. If you think the hook has missed a day, you can always trigger a new check by saving the hooks settings. Clicking on the Save button will force the hook to check for birthdays on the next page load.
If you use BuddyPress profiles, you can create a custom profile field where users enter their date of birth. You can name the field anything you like and use any format. The only requirement is that the field type is set to “Date selector”. This will ensure all fields are properly formatted.
WordPress User Meta Setup
WordPress and a vast majority of plugins store user details as custom user meta in your database. If you have a field setup or your plugin provides a field, enter the meta key’s id. The dates must be stores formatted using Year Month Day Y-m-d. You can select to store times as well but this will be ignored.
- myCred 1.8+
- WordPress 5.0+
- PHP 5.3+
More myCred Freebies Integrations
- myCred H5P
- myCred Credly
- myCred – Learndash
- LifterLMS Plugin Integration with myCred
- myCred BP Group Leaderboards
- myCred for Event Espresso 4.6+
- myCred for Wp-Pro-Quiz
- myCred for Rating Form
- myCred for WP-PostViews
- myCred for TotalPoll
- myCred Gutenberg
- myCred for Events Manager Pro
- myCred for BuddyPress Compliments
- myCred Retro
- myCred for Courseware
- myCred for GD Star Rating
- myCred for BuddyPress Links
- myCred for BP Album and BP Gallery
- myCred Elementor
DOCUMENTATION AND SUPPORT
For more information visit our Documentation Page.
- Go to Plugins > Add New.
- Under Search, type myCred Birthdays
- Find myCred Birthdays and click Install Now to install it
- If successful, click Activate Plugin to activate it and you are ready to go.
Improvement – Code Optimization
Improvement – Get plugin updates from wordpress.org
UPDATE – Updated the hook settings styling.