Plugin – BP Profile Shortcodes Extra
BP Profile Shortcodes is a fork of BuddyPress Profile Shortcodes, there were a number of bugs and deprecation notices affecting that plugin and it had not kept up to date with new BP features such as cover-images. I’ve felt for a long time that this plugin missed a number of key features, so I decided to fork it. I did offer my code to the plugin developers but I’ve not had a response and after a month of waiting I decided to released my forcked version as a new plugin in the Repo.
BP Profile Shortcodes Extra maintains the features introduced in the original plugin, it provides shortcodes to display the username, display name, profile url, avatar photo etc. but in addition it provides the ability to display the users cover image, the profile header and lists of the users friends and group memberships.
I also decided to add a similar set of features for groups, so now you can display links to group pages, the group avatar, cover image and header and also list the group members.
A number of users were having problems with the Profile Field shortcode, with the error “Invalid Tab selected”, I could not recreate this issue but I decided to implement an additional method of selecting the field. so this shortcode now has two options. Full details in the readme but the following is now an option to display for example the name: [bpps_profile_field option=”Two” field=”Name” ]
The complete feature set is as follows:
Member Profile Shortcodes
* Display Name – As text or a link to the members profile page.
* Username – As text or a link to the members profile page.
* Avatar or Profile Image – As an image, url or link to the members profile homepage.
* Cover Image – As an image, url or with a link to the members profile homepage.
* Profile Header – A collection of cover image, avatar and @username, with the username being a link to that members profile.
* Profile Field – You can display information from any of the profiles Xprofile fields.
* Profile Edit link – link the the users edit profile page
* Profile Lists – provide friends and groups lists – Three list styles – List, avatar grid and avatar list. Group lists support group memberships, groups created and groups administered by the user.
* If no user_id is specified in the shortcode, the details of the member viewing that page will be displayed.
* Group Links – provide links to any group page (home, activity, forum etc.
* Group Avatar Image – as an image or lnk to the group homepage
* Group Cover-Image – as an image or a link to the group homepage
* Group Header – including cover-image, avatar and group name with link to group homepage.
* Group Member List – three different list styles – text list, avatar grid and avatar list.
* Group ID must be specified as either the Group Id or the Group slug.
BP Profile Shortcodes Extra fills a gap where site members need to display profile or group information in posts, more advanced users could use it as a basis to create custom dashboard pages for users, a single page can be created and added to the users navbar in order to fully integrate the shortcode functionality with existing BuddyPress pages.
I’m open to further suggestions as to how to further develop this plugin. I’ve already got a god list of possible developments but I’d really appreciate some user feedback. I’ve added a lot of custom CSS attributes to help you style these page elements and it would be really good to see how this works in practice.