Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,841
- How-to & Troubleshooting
- 129,887
- Creating & Extending
- 25,913
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,404
- Miscellaneous
- 9,183
-
It wouldn’t be BuddyPress documentation you’d need, rather, WordPress documentation. Take a look at the articles on user meta, specifically look at the get_user_meta() and update_user_meta() functions.
The general idea would be to increment a user’s share count each time something is shared by that user.
Refs:
https://codex.wordpress.org/Function_Reference/update_user_meta
https://codex.wordpress.org/Function_Reference/get_user_meta