Add a button to BuddyPress Profile

  • Participant
    Level: Enlightened
    Posts: 146
    Dandy Jefferson on #5323


    Thanks a million for all previous helps and updates. I’m really appreciated that.

    Currently, I met an issue about how to add a button to BuddyPress Profile where besides the User Avatar like below:

    Then, I need to make a popup when users click this button. However, the content of popup should be randomly displayed based on pre-set lists.

    Could you provide some approaches or suggestions about this process?


  • Keymaster
    (BuddyDev Team)
    Posts: 24257
    Brajesh Singh on #5333

    Please use the Extended Friendship plugin as you mentioned in other thread and you may modify the content displayed here


    If you remove the textarea and use the same name/id for selectbox, the value for that field will be used.

    Hope that helps.


  • Participant
    Level: Enlightened
    Posts: 146
    Dandy Jefferson on #5353

    Hi, Brajesh

    Thanks for replying and suggestion. I will try to do it by myself first.

    However, probably it’s not the same question as I said in my other post. For this post, what I want to do is to add a button as I labeled in the screenshot link. Then, when users click this button, it will have a popover and randomly display one of my pre-set messages.

    The difficulty is that I don’t know how to randomly display one of pre-set messages. Could you give me some examples of this function?

    Thank you very much.

You must be logged in to reply to this topic.

This topic is: not resolved