BuddyDev

Search

[Resolved] How to display the buddypress user's name, username, email, etc.


  • Participant
    Level: Initiated
    Posts: 6
    ooz on #33913

    Hello!

    I’m using the BuddyPress User Profile Tabs Creator Pro plugin.

    I would like to know how to display the name, username, email, and specific profile fields of the buddypress profile owner.

    #displayed_user_id# I am fetching the ID this way, but there is a limit to tab customization…

    Please tell me how.

    Thank you all the time for your awesome abilities.


  • Keymaster
    (BuddyDev Team)
    Posts: 16805
    Brajesh Singh on #33924

    Hi,
    Thank you for using the plugin.

    You may use shortcodes to generate these details. Anyshortcode which works with user id can be used(You can specify #displayed_user_id# in place of user id and the plugin does the proper replacement).

    If you are unable to find a plugin offering such shortcode, Please list me all the data you want to use and we can put a small plugin to offer shortcodes.

    Regards
    Brajesh


  • Participant
    Level: Initiated
    Posts: 6
    ooz on #33946

    Here is the information I need.

    Display name
    username
    e-mail
    Specific profile field (e.g. field_31)

    Thank you!


  • Keymaster
    (BuddyDev Team)
    Posts: 16805
    Brajesh Singh on #33951

    Hi,
    Thank you. Please allow us to release a plugin by Monday with all these features as shortcode.

    Regards
    Brajesh


  • Participant
    Level: Initiated
    Posts: 6
    ooz on #34030

    Thank you for your support!

    Has the plugin been released?

    I don’t know where it is…


  • Keymaster
    (BuddyDev Team)
    Posts: 16805
    Brajesh Singh on #34045

    Hi,
    I am sorry, we did not push the update earlier.

    @ravisharma will be adding the shortcode plugin today and notifying you here.

    Thank you
    Brajesh


  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 1160
    Ravi on #34066

    Hello,

    Please try the following plugin: https://github.com/buddydev/bp-shortcodes. After activation, You can use the following shortcodes

    
    
    [bpsc-user-id]
    [bpsc-username]
    [bpsc-user-email]
    [bpsc-user-registration-date]
    [bpsc-user-display-name]
    [bpsc-user-member-type]
    [bpsc-user-avatar]
    
    

    Please use context “logged_in” or “displayed” to display the result of logged-in or displayed user.

    Regards
    Ravi

    • This reply was modified 3 days, 13 hours ago by  Ravi.

  • Participant
    Level: Initiated
    Posts: 6
    ooz on #34072

    Thank you for your support.

    I tested it on Avada theme, but it doesn’t seem to work.

    Am I doing something wrong?

    Sorry to bother you…


  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 1160
    Ravi on #34073

    Hello,

    Please do let me know what shortcode you are using and How are you using that shortcode.

    Regards
    Ravi


  • Participant
    Level: Initiated
    Posts: 6
    ooz on #34076

    I created a tab using the BuddyPress User Profile Tabs Creator Pro plugin,
    and pasted the shortcode below as it is, but nothing appears.

    [bpsc-user-id]
    [bpsc-username]
    [bpsc-user-email]
    [bpsc-user-registration-date]
    [bpsc-user-display-name]
    [bpsc-user-member-type]
    [bpsc-user-avatar]

You must be logged in to reply to this topic.

This topic is: resolved
Subscribe