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
    Navigation
    • Loading navigation ...
    All Hooks
    Automatic points for:
    1. AffiliateWP Actions
    2. Anniversary
    3. BadgeOS Achievements
    4. bbPress Actions
    5. Birthdays
    6. BuddyPress Group Actions
    7. BuddyPress Profile Actions
    8. Clicking on Links
    9. Comments
    10. Daily Visits
    11. Deleting Content
    12. Event Attendance
    13. Inviting Users
    14. Jetpack Subscriptions
    15. Logins
    16. Product Purchases
    17. Product Referrals
    18. Product Reviews
    19. Publishing Content
    20. Referrals
    21. Registrations
    22. rtMedia Uploads
    23. ShareThis Actions
    24. Simple:Press Actions
    25. Submitting Contact Form 7 Forms
    26. Submitting Gravity Forms
    27. UserPro Followers
    28. UserPro Private Messaging
    29. UserPro Verifications
    30. Viewing Content
    31. Watching Videos
    32. WP Favorite Posts Actions
    33. WP-PostRatings Actions
    Categories
    Filter by category
    1. Actions
    2. Classes
    3. Filters
    4. Functions
    5. Hooks
    6. Objects
    7. Shortcodes
    8. Template Tags
    Chapters
    Documentation
    1. Chapter I - Introduction
    2. Chapter II - Getting Started
    3. Chapter III - Add-ons
    4. Chapter IV - Premium Add-ons
    5. Chapter V - For Developers
    6. Chapter VI - Reference Guides
BuddyPress Profile Actions

Codex / Hooks / BuddyPress / BuddyPress Profile Actions

Description

This hook allows you to reward your users for most profile related events in BuddyPress, ranging from profile updates to cover photo uploads.

Available since version 1.0

Known Issues

Certain instances requires specific BuddyPress components to be enabled. For example, you can not reward new friendships if the Friend Connection component in BuddyPress is not enabled.

Setup

Set a point value other than zero for all the instances you want to reward. Make sure all these instances also have a log entry template and that a hook limit is set (if needed).

Supported Instances
Instance Reference Description
new_profile_update Give or take points from users for profile updates.
deleted_profile_update Give or take points from users for deleting a profile update.
upload_avatar Give or take points from users for uploading an avatar.
upload_cover Give or take points from users for uploading a cover image.
new_friendship Give or take points from users for gaining a new friend.
ended_friendship Give or take points from users for losing a friend.
new_comment Give or take points from users for a new profile comment.
comment_deletion Give or take points from users for deleting a profile comment.
fave_activity Give or take points from users for marking an update as "Favorite".
unfave_activity Give or take points from users for removing an update that was marked as "Favorite".
sending_gift Give or take points from users for sending gifts. (Requires BuddyPress Gifts plugin)
Friendships

If you select to deduct points from a user for gaining a new friend, the hook will hide the “Add Friend” button in BuddyPress if the user can not afford to pay the amount you set. You can use this to charge users for making new friendships on your website.

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