开发者 | G.Breant |
---|---|
更新时间 | 2013年3月27日 17:42 |
捐献地址: | 去捐款 |
PHP版本: | WP 3, BuddyPress 1.2 及以上 |
WordPress版本: | WP 3.0.1, BuddyPress 1.2.6 |
For the image, replace the file progress_bar.png inside the plugin template. It must be 100px width.\ If you want more control on how the infos are displayed; use the hook filter "bppp_progress_bar".
Use the function bppp_get_profile_percentage_complete($user_id). If $user_id is not set, the displayed user id will be used instead.
Yes. By default, each field has 1 points. The plugin counts the fields then calculates a percentage based on each field points and the total points for the profile. If you want to give more or less points to a field, use the filter "bppp_get_field_points".