A few weeks ago, I wrote about reclaiming short URLs using YOURLS. That post raised some interest among the CUNY Academic Commons team in having a URL shortener just for the Commons, with full integration into BuddyPress. So I emailed Ozh Richard, author of YOURLS, about the possibility of adding BuddyPress support to his official YOURLS WordPress plugin, YOURLS: WordPress to Twitter. He graciously accepted my offer to do the leg work.
Today I’m releasing the fruits of this collaboration: version 1.5 of YOURLS: WordPress to Twitter. YWTT 1.5 automatically detects when you’re running BuddyPress, and adds the following BP-specific features:
- Member and Group URLs – Generate short URLs for member profiles and for group home pages.
- A “pretty URL” setting – Instead of generating random URLs (like
http://blo.so/54
), you can make member and/or group members ‘pretty’ (likehttp://blo.so/username
orhttp://blo.so/groupname
). - User customizability – Optionally, you can add new options under groups’
Admin > Group Settings
and members’Settings > Short URL
allowing users to request a custom short URL of their choice. (This feature requires that you setYOURLS_UNIQUE_URLS
tofalse
in your YOURLS configuration file.)
Down the road, I plan to flesh out BP-YOURLS functionality, with optional short URLs for forum topics, activity items, and so on.
I’ve also slipped full localization support into version 1.5. Send me your mo/po translation files if you’d like them to be distributed with the plugin.