6 years, 7 months ago
On my website I want to show the points a user has next to their avatar in posts and comments throughout the site. How could I do this? Thanks
Any updates? Just to clarify I’m wanting to show the points of the author of a post within the loop, so where it says there name and shows there avatar I would also like to show the points. Thanks.
I want to change that 0 to the number of points the user has!
`displayed_user->id ); ?>`
It wouldn’t be displayed_user as it’s in the loop and NOT on a member page so therefore would be something like author_meta right?
This works `global $bp; dpa_member_achievements_score( get_the_author_meta(‘id’) );`
6 years, 3 months ago
Where might i put this code?
Wherever you want it.
Follow BuddyPress on Twitter •
Contact Us •
Terms of Service