This topic has 3 replies, 2 voices, and was last updated 9 years by sharmstr.

  • Author
  • #94563
     ramiro
    Participant

    I was wondering if I could embed the do_action(‘kleo_show_love’) in the buddypress file

     

    buddypress/activity/entry.php

     

    in order to use the love icon for each buddypress activity. I would have to indicate the bp_activity_id to the love icon, but I’m not sure if kleo_show_love can receive parameters.

     

    I thought that there could be a function somewhere for kleo_show_love, in which I can customise to receive a  bp_activity_id instead of a post id (I actually don’t care too much about using the love icon for posts).

     

    Cheers

    Rami.

     

     

     

    #94569
     sharmstr
    Moderator

    This issue really isnt whether or not you can pass a parameter. The issue is that the entire kleo love code uses the post and post meta tables. BP activities have their own tables. You’d have to rewrite the entire function to get it to work.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #94571
     ramiro
    Participant

    Thanks for your quick response mate!

    I appreciate it,

    cheers
    Ramiro

    #94573
     sharmstr
    Moderator

    No problem. You may be interested in this: https://archived.seventhqueen.com/forums/topic/like-button-for-activity-stream#post-92255

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?