Version 0.0.8 Beta now Available

Thanks to those who have been testing the alpha and revealed a couple of bugs.

0.0.8 Beta is ready for final testing.

  • Fixes a bug which stopped avatars of likers being shown
  • Gives admins the option to choose how long an excerpt should be

To test the like feature with blog posts simply paste the following code into your theme (within the loop) wherever you would like the button to appear:

<?php bp_like_button( get_the_ID(), ‘blogpost’ ); ?>

This is normally in single.php and index.php in the <p class=”postmetadata”></p>

Get hold of it from the SVN repo: http://plugins.trac.wordpress.org/browser/buddypress-like/trunk

It will temporarily be available for download as a zip as well: http://alexhemptonsmith.com/downloads/buddypress-like.0.0.8-beta1.zip

About these ads
This entry was posted in Uncategorized. Bookmark the permalink.

13 Responses to Version 0.0.8 Beta now Available

  1. alex says:

    Hi! I Like the concept of your Like button! Good work!

    However, There’s a bug in my installation – I suppose it’s because i have “Friendships” turned off! I looked in your code and it seems that alot of calls that have to do with friends, i.e:

    friends_get_friend_user_ids()

    it would be GREAT if this plugin would work for us who have communities with users but with Friendship-links turned off!

    do you have any idea how I can replace those lines of code that deal with “get_friend_user_ids” to only get_user_ids() ?

    Best regards!

    • Hempsworth says:

      Thanks for the bug report!

      To fix this I am:

      * setting the default privacy setting to ‘show names of all likers’ for sites with friendships disabled (by default it’s ‘show names of friends, and just the number of non-friends’). This setting will also kick in when the friends component is disabled.

      * disable the option for the aforementioned ‘show names of friends, and just the number of non-friends’ privacy setting on sites with friendships disabled.

      * add a check to the ‘Show likes’ function just incase

      This will come in Beta 2

  2. andi says:

    where do i get the code for statistics… i mean you can like… but soemwhere there must be a list oft the most liked posts? or?

    cheers… and thank you for the plugin work

    • Hempsworth says:

      Version 0.0.9 (already in the works) has a shortcode which allows you to get recently liked content, as well as the most liked content. There are also a bunch of stats functions if you want to do something custom with the data in a plugin or a themes functions.php file.

  3. Mark says:

    Agree with both comments, I just have followers, no friends and it would be really good to bump to top of acitvity stream when liked.

    Something like friendfeed?

    Great work though, when are we looking at the beta 2 release?

  4. Looks great.

    `
    /* Grab the content and make it into an excerpt of 140 chars if we're allowed */
    if ( bp_like_get_settings( 'show_excerpt' ) == 1 ) {
    $content = 'Liked Content: --- '.$activity['activities'][0]->content.'';
    if ( strlen( $content ) > bp_like_get_settings( 'excerpt_length' ) ) {
    $content = substr( $content, 0, bp_like_get_settings( 'excerpt_length' ) );
    $content = '(EXCERPT) '.$content.'...';
    }
    };
    </code`

  5. Can’t post code… I’m copying you what I’m using for the excerpt issue here:
    http://musicpln.org/picts/holder/bp-like.php Right-click Save AS….

    This text is working well for knowing when something is an excerpt or not… Please consider adding something like this in the next release… it looks nice and clarifies.

    When you post your beta/plugin with the donation link… I’ll be glad to send you the 20.00 US.

    Very nice.

  6. Mark says:

    So does this not work if you have friends deactivated? Any news on a beta 2 release?

    Thanks a lot, great idea.

  7. I am really impressed together with your writing talents and also with the format in your weblog.
    Is that this a paid subject or did you modify it yourself?

    Either way stay up the excellent quality writing, it’s rare to look a great weblog like this one nowadays..

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s