Support » Plugin: KK I Like It » [Plugin: KK I Like It] Media items and BP-Gallery

  • Resolved danielpdesign

    (@danielpdesign)


    I love this plugin and can’t wait to get the full potential from it.

    I wonder whether you might know what is causing this:

    I am using BuddyDev’s BP-Gallery. On the media item page (i.e. /plugins/buddypress/bp-themes/bp-default/gallery/single/media/single.php) I am calling the like box as follows:

    <?php if(function_exists(kkLikeButton())){
    kkLikeButton();
    } ?>

    This shows the like box just the way it should, a user can click on it and the number will go up by one.

    The big problem however is that the like button appearing on each of the other photo items (e.g. url -> /members/Daniel/gallery/my-galleries/logos/logo-1) is using the exact same information. If you like one, you like them all. Is there a way to make each of these items independent from each other? I’m not sure exactly how it works but it looks like it is liking the ‘member’ as opposed to the page or url or media image.

    Here is what Backend says:

    At 10:21 on 26-09-2012, user Daniel liked article “Members”.

    It would be fantastic it it liked the Gallery Item.
    I look forward to hearing back from you, fantastic plugin!
    Daniel

    http://wordpress.org/extend/plugins/kk-i-like-it/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Krzysztof Furtak

    (@krzy-siek)

    Hello,
    Can you mail me link to your site / post?

    Hi, thank you for your reply. I’d be grateful if you could please follow me on twitter.com/danielpdesign in order that I can send you a DM.

    Thanks, I look forward to hearing from you.

    Daniel

    Hi again,

    I’ve been delving into it a little deeper.

    It looks like the likes are based on the $post function. Unfortunately this plugin (BP-Gallery) has it’s own gallery ID’s and nests under the “Members” post which has it’s own post ID.

    Do you know if it is possible for this plugin to adapt to the gallery id as opposed to the post id?

    Regards,

    Daniel

    Not too sure if you just followed me or not Krzysztof. Would you mind sending a @danielpdesign mention to say it’s you. Thanks, sorry for the extra hassle.

    Plugin Author Krzysztof Furtak

    (@krzy-siek)

    Hi Daniel,
    yes, I just follow you on twitter.

    Plugin Author Krzysztof Furtak

    (@krzy-siek)

    (BP-Gallery) has it’s own gallery ID’s and nests under the “Members” post which has it’s own post ID.

    I’m afraid I will not be able to add this option. In the next version of the plugin, all the information about the number of likes will be moved to the custom field in post/articles.

    It might be easier for me to try and re-code the gallery media pages to associate itself with a $post id as opposed to bp_media_id. Any other input would be greatly appreciated.

    Plugin Author Krzysztof Furtak

    (@krzy-siek)

    Hello,
    The easiest way for you would be to use some gallery based on custom posts. Unfortunately I will not be able to help you :/

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: KK I Like It] Media items and BP-Gallery’ is closed to new replies.