Plugin / BuddyPress Profile Shortcodes

Bento4Extend

Description

Description

This plugin will allow shortcodes to be used to pull profile data. This plugin will require BuddyPress in order for it to work properly and to pull the information necessary.

In this version you can get a user’s display name, gravatar, email, or any information from a specified field.

You can also have this work well with BuddyPress Profile Custom Area or BuddyPress Profile GeoLocation. Feel free to check for any other premium plugins, including BuddyPress plugins, that we may have available for purchase at Extend.BT4.ME.

The following shortcodes are available:

[bp_profile_displayname]

  • Shows the display name.
  • Can have a parameter of user_id= to get it for a specific user.

[bp_profile_email]

  • Same as above except for the email.
  • The user_id parameter can be used optionally as well.

[bp_profile_username]

  • Same as above except for the buddypress username
  • The user_id parameter can be used optionally as well.

[bp_profile_field field=”fieldname” tab=”section”]

  • Will get the fieldname from the specified tab.
  • If the tab parameter is not used then it will get it from the primary / base tab.
  • the user_id parameter can be used optionally as well.
  • The “fieldname” would be the title and the “section” would be the tab / section.
  • The parameter “empty” will allow you to set what will show if the field is empty. Will return “Empty Text” by default.
  • Will support the BuddyPress Profile Custom Area plugin’s fields and run the shortcodes in them.

[bp_profile_gravatar]

  • Will get the gravatar and display it.
  • Can use the “dimension” parameter to change the dimensions of the gravatar.
  • You can use a height or width parameter to define the height or width of it as an alternative.
  • The user_id parameter can be used optionally as well.

[bp_profile_gravatar_url]

  • Will get the gravatar url.
  • The user_id parameter can be used optionally as well.
  • If you use show = no as a parameter it works similar to bp_profile_gravatar.

[bp_profile_url]

  • Will get the url for where the user’s profile is.
  • The user_id parameter can be used optionally as well.
  • IF you use show = no then it will show as a link.
  • You can use before = or after = parameters to define text to show before or after the link or before or after the text to add customizability.
  • This will accept the parameter “profile_page” to have the url for any page for the profile specified. Ie. “settings” will go to the settings page.

[bp_profile_edit_url]

  • Will get the url for editing the user’s buddypress profile.
  • The user_id parameter can be used optionally as well.
  • You can use before = or after = parameters to define text to show before or after the link or before or after the text to add customizability.

Ratings

5
5 reviews

Rating breakdown

Details Information

Version

1.1

First Released

03 Apr, 2015

Total Downloads

8,652

Wordpress Version

3.6 or higher

Tested up to:

4.4.20

Require PHP Version:

-

Tags

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.