WordPress.org

Ready to get started?Download WordPress

Plugin Directory

BuddyPress Profile Progression

Simple plugin that adds a progress bar on members pages, which displays the percentage of profile completed by a user.

=How to embed the profile progression in my template ?=

Use function bppp_progression_block($user_id). If no $user_id is set, the progression will be shown for the curent displayed user.

=I want to change how points are given to a specific profile field =

By default, each profile field worth 1 points. You can act on how profile fields are count by adding a function on the bppp_register_progression_point_XXX hook, where XXX is the label of the progression point item.

Example for profile field#2 (changing the value to 5 points) :

function edit_progression_point_for_field_2($item){ //change the amounts of points for this field $item['points']=5; return $item; }
add_filter('bppp_register_progression_point_profile-field-2',edit_progression_point_for_field_2);

  • I want to extend the plugin and count progression points for custom functions... You can register new progression points using function bppp_register_progression_point().

Example : adding 3 points if the user has an avatar

function bppp_custom_function_avatar_register_point(){ bppp_register_progression_point( 'avatar', //label for this custom point 'bppp_custom_function_check_user_has_avatar', //callback, 3 //points ); }

function bppp_custom_function_check_user_has_avatar(){
$user_id = bppp_get_user_id(); $has_avatar = ( bp_core_fetch_avatar( array( 'item_id' => $user_id, 'no_grav' => true,'html'=> false ) ) != bp_core_avatar_default() );
return (bool)$has_avatar; }

add_action('bppp_register_progression_points','bppp_custom_function_avatar_register_point');

How can I customize the look of the plugin ?

Use CSS rules and/or copy the files from /buddypress-profile-progression/theme to your current theme directory. The plugin will load them first if they exists.

Requires: WP 3, BuddyPress 1.2 or higher
Compatible up to: WP 3.5.2, BuddyPress 1.7
Last Updated: 2013-3-27
Downloads: 14,539

Ratings

4 stars
4.4 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,3,3
0,1,0
100,1,1
50,2,1
0,1,0
100,1,1
100,1,1
100,1,1
100,1,1