Show total achievements in Profile Header
If anybody is interested, currently at my site I show the total achievements a user has in the profile header.
(I am at work right now so can’t upload an example image, but you can see it at dasdatabase.com if you create an account and login – site is in beta and buggy)
To do this add the following code (replacing the “?>”) all the way on the bottom of “achievements/includes/achievements-core.php”: http://pastebin.com/4W2iQ7Nd
Now it will hook itself in do_action( ‘bp_before_member_header_meta’ ); right before #item-meta.
Everything should work fine, but just incase if it breaks anything I’m not responsible use it at your own risk please.
Edit01: Code formatting here messed up the code so I uploaded it to pastebin.
The forum ‘Achievements’ is closed to new topics and replies.