BuddyDev

Search

Replies

  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: [Resolved] Creating a BP custom hook #29654

    Hi there, it’s working perfectly now, I can see that it is working out of the box, without adding the function to a hook element, that’s really a useful addition you have made!

    Which class can I use for CSS?

    Thanks again

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: [Resolved] Creating a BP custom hook #29653

    Hi Brajesh, I can see you added an action bp_get_the_profile_group_id() for adding group id’s.

    The way I have added an action hook, so far, is to add a hook in a theme element.

    What does this markup do, does it create new hooks to target different groups by its id’s?

    Just to clarify, can I add bp_get_the_profile_group_id() to my hook element with an id, like this for group id 1 bp_get_the_profile_group_id(1)?

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: Can't delete messages or update profile fields #29650
    This reply has been marked as private.
  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: [Resolved] Creating a BP custom hook #29633

    Hi Brajesh, thanks

    I’m using Legacy

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: [Resolved] Creating a BP custom hook #29628

    Hi Brajesh, yes, that is my goal, but of course it shall be the corresponding edit button for that group.

    ok, so after copying the profile-loop.php, how should I override it?

    What will that mean for the site functionality in general, overwriting this?

    Thanks
    Carsten

  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: [Resolved] Creating a BP custom hook #29620

    Sorry #29617 was added by mistake ‘Please disregard this topic, I think there is a plugin conflict going on’

    I still very much would like you to have a look at this

    I have illustrated my goal, which is to place the edit buttons directly under their respective groups like this:

    https://imgur.com/QcsA51R

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: [Resolved] Creating a BP custom hook #29617

    Please disregard this topic, I think there is a plugin conflict going on

  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: [Resolved] Creating a BP custom hook #29616

    Hi Brajesh, thanks for your feed back.

    I have illustrated my goal, which is to place the edit buttons directly under their respective groups like this:

    https://imgur.com/QcsA51R

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: [Resolved] Finding profile fields group id's #29594

    Topic moved to new

  • Participant
    Level: Yogi
    Posts: 1112
    calu on in reply to: [Resolved] Finding profile fields group id's #29593

    Hi Brajesh, the hook bp_after_profile_field_content is the same for all Profile Fields Groups, but each group has an id.

    Is it possible to add a unique id to the hook, for adding different content to different Profile Fields Groups?

    Regards
    Carsten