A Belated Update on Progress

Just a quick update for those who have been waiting for the next version!

I’ve been running in the elections for local government where I live in the UK for the past few months, which has taken up lots of my time as you can imagine. Thankfully, I won and got elected! Although this brings new time constraints, it is much less than before.

I’ll be spending some time over the coming week finishing off projects and preparing the next version of BP Like for release. Im hoping to get a beta ready in the next few days!

Sorry for keeping you all waiting, and thanks so much for your patience and support.

If you would like to be involved in the beta, leave a comment to let me know.

PS – I’m thinking of switching this blog to a P2 one, so I can have more regular updates and conversations with the users of my plugin (like the WP Development blog). What do you think?

Posted in Uncategorized | 43 Comments

Upcoming Changes in 0.0.9

0.0.9 will be a huge release, bringing about changes in the interface as well as the underlying plugin architecture. In this post I’m explaining both changes and how they will affect both users and developers.

Interface – ‘View Likes’

Currently, viewing who else likes an activity is accomplished by clicking ‘View Likes’ and seeing a drop-down full of names. This worked well enough with activities, but could become intrusive on the UI if we start adding this to forums, blog comments, photos etc. (more on this later).

Facebook has approached the UI differently, by showing a couple of names and providing a link to a popup if there are more than 3 likers. This is how 0.0.9 will behave, the screenshots below show the process.

An added benefit of this change is a greatly reduced number of text strings that need to be translated or customised. Also, for large BuddyPress sites, the number of likers could grow quite large and this handles this better.

Architecture – Introducing a Universal Like Button

0.0.8 introduced support for liking blog posts, and whilst achieving this wasn’t particularly difficult, it was cumbersome. I effectively copied the code for activities, but this doubled the code size; I obviously can’t do this for all the other types of content across a BuddyPress site.

0.0.9 will no longer store its data in the ‘metadata’ fields for activities or blog posts, but instead in a central database table. Because of this, any content which has a unique ID can be liked. And it’s as simple as including one line of code, which registers the content type, outputs the like button and the accompanying ‘view likes’ information.

Activities and blog posts will automatically be converted, but this means forum comments, blog comments, photos, events and more can be liked. Developers can have out-of-the-box support for BuddyPress Like by just including the like button.

Other Changes

Full translation support will finally come built in, with a pre-packaged .pot file and as many translations as I can get hold of ready to use. An option to disable the ‘Favourite’ feature in BuddyPress will also be created.

What do you think?

Let me know what you think about all of these upcoming changes! The first version of the UI revamp will be in trunk later today.

Posted in Uncategorized | 39 Comments

0.0.8 Released

The long-awaited 0.0.8 release is now ready for your BuddyPress sites.

The main new feature is the ability to like blog posts, but other highlights include being able to post an excerpt of the liked content, as well as showing avatars of likers.

The full changelog:

  • New feature: blog posts can now be liked.
  • New feature: you can no show an excerpt of the liked content.
  • Option added: disable posting likes to the activity stream.
  • Option added: show avatars of likers instead of names.
  • Bug fixed: activity updates of likes are now deleted when the item is unliked.
  • Bug fixed: plugin would break if the Friends component was disabled.

So get it now through the automatic update, or download the new version.

Any feedback is greatly appreciated; just leave a comment! :)

Posted in Uncategorized | 11 Comments

0.0.8 Beta 2 now ready for testing, last call for bugs

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

Posted in Uncategorized | 9 Comments

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

Posted in Uncategorized | 13 Comments

Version 0.0.8 now in trunk

Thanks everyone for your patience, development was stalled for months but now the plugin is getting some T.L.C.

The long awaited 0.0.8-alpha is ready for testing!
(Still in alpha, stupid bugs could lay within!)

  • Adds support for liking blog posts (yay!)
  • Gives option whether to post an activity update when something is liked (posted updates by default before)
  • Allows option whether to show a short excerpt of the activity that has been liked
  • Deletes meta rows from the db if there are no likes (to save on space)
  • Improved codebase and legibility

These are the things that need testing, as well as upgrading from an existing 0.0.7 installation – I don’t have a well populated one to test against.

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-alpha.zip

Posted in Uncategorized | 13 Comments

Version 0.0.7 is now available. It fixes…

Version 0.0.7 is now available.

It fixes a major bug in 0.0.6 which gave the ‘You do not have permission to do that.’ error, as well as preventing many admin functions.

Posted in status | Tagged , | 2 Comments