Commons 1.9.4

I’ve just released version 1.9.4 of the CUNY Academic Commons. This maintenance release includes a number of notable fixes:

  • Prevent spam comments from being posted by anonymous users on public Docs
  • Show error notices when required fields are not filled in when editing profile
  • Fix People directory filters so that College correctly matches against Positions widget data
  • Don’t notify groups of connected draft papers

Commons 1.8.5

I’ve just released version 1.8.5 of the CUNY Academic Commons. This maintenance release is a theme/plugin major update release; see https://dev.commons.gc.cuny.edu/2015/07/05/major-plugin-and-theme-updates-for-july-21-2015/ for more details. The release also includes a fix for a bug that made it impossible to place a friendship request from the Members directory, along with some UX improvements to the user profile header.

For complete details, visit the 1.8.5 milestone.

Updated version (0.2) of Custom Profile Filters for BuddyPress

I’m releasing a new version of my Custom Profile Filters for BuddyPress plugin. The initial version, described here, gave BuddyPress users more control over which terms in their profiles become linked to a community-wide profile search. The new version gives BP administrators the ability to tweak these links even more. Here’s what’s new:

  1. Some profile information – phone numbers, IM handles, and so on – is unique to the individual user. Thus there’s no real need to have this information linked to a community-wide search. Using this plugin, administrators can specify certain profile fields that will remain non-linked. By default, profile fields called Skype ID, Phone, and IM will not be processed as links, but you can tweak this to be whichever fields you want. See readme.txt and custom-profile-filters-for-buddypress.php for more information.
  2. Other fields, especially those social networking sites where each user’s handle is attached to a profile page, can be more usefully linked to those user profiles than to a search of the community. For example, it makes more sense for the contents of the Twitter field to link to an individual’s Twitter page rather than to other users in the community who have the same Twitter handle (hopefully no one!). With this plugin, administrators can specify that certain fields will turn the user’s social networking ID into a profile link. By default, the plugin recognizes fields called Twitter, Delicious ID, YouTube ID, Flickr ID, and FriendFeed ID. See custom-profile-filters-for-buddypress.php for more information and to change these settings.

I also added a little bit of code to make sure that BuddyPress can recognize email addresses with periods before the @-sign.

You can see some of these things at work in my profile here on the CUNY Academic Commons: https://commons.gc.cuny.edu/members/boonebgorges. You’ll notice that the Twitter field shows a link to my Twitter profile, even though I just entered my handle in the Edit Profile screen.

Grab the latest version from the trunk http://svn.wp-plugins.org/custom-profile-filters-for-buddypress/ or download it here: custom-profile-filters-for-buddypress-v02.zip

New plugin: Custom Profile Filters for BuddyPress

Custom Profile Filters for BuddyPress
Custom Profile Filters for BuddyPress - click picture to download plugin

If you’ve set up a profile here on the Commons (or on some other site run on BuddyPress), you may have noticed that some of the words and phrases in your profile have turned into links that, when clicked, lead you to other profiles where those words appear. This tagging feature is a great way to find out about people in the community who share your interests, but the algorithm that BuddyPress uses to create links can be somewhat finnicky. I built this plugin to allow users to customize these tags, choosing for themselves which phrases should be linked by surrounding them in square brackets.

Here’s an example. Let’s say that, in a profile field called Academic Interests, I said the following:

I’m interested in philosophy, chewing gum, and mariachi bands.

What I really want here is for the phrases “philosophy”, “chewing gum”, and “mariachi bands” to become links. So I’ll surround them in brackets like this:

I’m interested in [philosophy], [chewing gum], and [mariachi bands].

I’m submitting the plugin to the WordPress repository for versioning, but for now you can download version 0.1 here. Comments are welcome – have fun!

Custom Profile Filters for BuddyPress