
內容簡介
此外掛可提供 myCred 生日鉤子,您可以設置獎勵或扣除用戶在生日當天的積分!支援 BuddyPress 或儲存用戶生日日期的自訂用戶元資料的網站。
為了防止濫用,每個用戶一年只能獲得一次生日積分。這意味著您的用戶可以更改出生日期,但不會觸發新的積分。
每天早上,鉤子會在第一次頁面請求時檢查生日。如果您覺得鉤子漏掉了某一天,您可以通過保存鉤子設置來觸發新的檢查。單擊保存按鈕將強制鉤子在下一個頁面加載時檢查生日。
BuddyPress 設置
如果您使用 BuddyPress 資料檔案,您可以創建一個自訂檔案,用戶輸入他們的生日日期。您可以任意命名該檔案並使用任何格式。唯一的要求是該檔案類型設置為“日期選擇器”。這將確保所有檔案都正確格式化。
WordPress 用戶元資料設置
WordPress 和大多數外掛將用戶詳細信息存儲為自訂用戶元資料在您的數據庫中。如果您已經設置了檔案或您的外掛提供了檔案,請輸入 meta key 的 ID。日期必須以年月日格式化,格式為 Y-m-d。您可以選擇存儲時間,但這將被忽略。
插件要求
myCred 1.8+
WordPress 5.0+
PHP 5.3+
更多 myCred 免費集成
myCred H5P
myCred Credly
myCred – Learndash
LifterLMS 外掛集成 myCred
myCred BP 群組排行榜
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
外掛標籤
開發者團隊
原文外掛簡介
📢 🚨 Important Notice: The myCred Birthdays is now part of myCred Core plugin and will no longer receive updates here. Only security fixes will be provided.
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.
BuddyPress Setup
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.
Plugin Requirements
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.
