WordPress.org

Ready to get started?Download WordPress

Forums

KK I Like It
[resolved] Media items and BP-Gallery (9 posts)

  1. danielpdesign
    Member
    Posted 1 year ago #

    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/

  2. Krzysztof Furtak
    Member
    Plugin Author

    Posted 1 year ago #

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

  3. danielpdesign
    Member
    Posted 1 year ago #

    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

  4. danielpdesign
    Member
    Posted 1 year ago #

    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

  5. danielpdesign
    Member
    Posted 1 year ago #

    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.

  6. Krzysztof Furtak
    Member
    Plugin Author

    Posted 1 year ago #

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

  7. Krzysztof Furtak
    Member
    Plugin Author

    Posted 1 year ago #

    (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.

  8. danielpdesign
    Member
    Posted 1 year ago #

    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.

  9. Krzysztof Furtak
    Member
    Plugin Author

    Posted 1 year ago #

    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 :/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags