Thanks to those who have been testing the first beta, which revealed a bug when the BuddyPress Friends component was disabled. This has been fixed in Beta 2, which is now ready for testing.
The ‘Like’ functionality for blog posts has also been improved. In the first beta you had to add a line of code to your template files for the ‘Like’ button to work with blog posts. This is now automatic, and you do not need to modify your theme at all. If you changed your theme to use Beta 1, please revert these changes.
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-beta2.zip
Once I receive confirmation that all previous bugfixes work as expected, and no more bugs have been introduced, I will release 0.0.8 tomorrow (26th November).
Zip link isnt working
Great stuff, thanks a lot. Is this plugin supposed to bump the activity that you like to the top of the activity screen?
Zip link fixed!
It doesn’t quite do that yet, but I will add it to the roadmap!
Has been working fairly grand. Unusual post from bp-like when a user likes an “image” that was posted via bp-gallery:
LIKES Joseph Pisano‘s activity 7 hours, 36 minutes ago · · Delete · Edit
(EXCERPT) Liked Content: — <img src='http://musicpln.org/wp-content/uploads/galle…
Above is what is seen… any way to make this picture show in full? You can see this on musicpln.org (you'll have to register for a free account).
when you write: “The ‘Like’ functionality for blog posts has also been improved. In the first beta you had to add a line of code to your template files for the ‘Like’ button to work with blog posts” should this work on multisite? unfotunately, i am running bp on multisite 3.0.2 (just updated today) and have 0.0.8 installed but do not see any like button on subblogs, so i’m guessing the answer is no… how about if we use the template tag (i saw you post somewhere else) in the subblog templates?
if you think it’s possible, would it be possible to post that template tag here, and i’ll try it out? thanks so much.
btw, i have your plugin network activated in case that makes a difference.
At the moment I’m not sure if this would work, but please test it out if you can. I didn’t build it with multisite in mind (doh!) but it might work anyway if it’s network activated. I’m using a hook that is only included in the bp-default theme, so that’s why it’s not showing up elsewhere. The code to use is:
<?php bp_like_button( get_the_ID(), 'blogpost' ); ?>Let me know how you get on!
Hi,
It works fine. You should make the css optional.
Thanks great plugin.
alright. so i added the code to the subblog templates and it worked!! (i think! ha ha)
in bp, the blog post like also shows up fine in the user activity stream (as one would expect).
only thing is i think it requires users to be logged in to see the number likes on the subblogs… non-logged in users see your “like” text with no counts.
see http://docdj (dot) onomix (dot) com/ for a working example
we changed the “like” text to “hype” globally and added the code to the right of the “posted on” text in the index files and single post pages.
now, can’t wait for the next version of the plugin to show “most liked” posts (i think an upcomming feature?). hopefully, there’ll be template tags / shortcodes to do that! really getting close to that fb like functionality on multisite wp installs.
thanks!
one minor thing to add.
we had to add some styling for “div.like-box” to our theme header file to style the like box on subblogs.
Pedro, where abouts did you put the code in the subblogs templates?