Show 'x' most recent achievements from user_id
-
HI Paul,
Big fan of the plugin. Would create a plugin that shows a small grid of the achievement image for the last ‘x’ amount of achievements unlocked by a user with user_id = ‘y’
Was hoping to jump into the docs for methods etc but having a hard time trying to find what does what. Was thinking of using the [dpa-user-achievements-index] shortcode but whenever I try it it comes back with an error like “This is somewhat embarrassing, isn’t it? No achievements were found.”
I also stumbled across a snippet of code in another forum post about code like:
echo dpa_get_user_points( bp_displayed_user_id() );
and was hoping there might be something to the tune of:
$achs = dpa_get_user_list($user_id);
which would give the progress of the user and i would then be able to manipulate this into UI.
Is there an easy/any way to get the API calls or methods of the plugin?
- The topic ‘Show 'x' most recent achievements from user_id’ is closed to new replies.