How to Build a Mini-Twitter Site With BuddyPress: Your Open Source Microblogging Platform

June 29, 2010  | 
18 Comments

An exciting new BuddyPress plugin by Rich Fuller has arrived on the scene that enables users to add hashtags to their activities. BuddyPress Activity Stream Hashtags converts #hashtags references to a link that leads to the activity search page. This provides a whole new level of context to BuddyPress activity stream updates.

Why would you want to create a microblogging site based on BuddyPress when we have Twitter?

Hosting your own microblogging platform means that you control and manage all of your data. The idea is that people can subscribe directly to your activity stream updates, without having to join a new network, create a new profile, and pass all their data through a proprietary micro-blogging platform such as Twitter. In BuddyPress a user can subscribe directly to your feed, ie: http://yourdomain.com/admin/activity/feed or the feeds of any of your users.

Jeff Sayre wrote an article called A Flock of Twitters: Decentralized Semantic Microblogging that I highly recommend for an in-depth look at the reasons for establishing an open source microblogging ecosystem.

Here are the steps to take to set up a similar environment, using BuddyPress and WordPress 3.0:

1. Install BuddyPress and disable all of the extra components that you won’t need: ie. Forums, Groups, etc.

Go to Dashboard >> BuddyPress >> Component Setup and disable any component you wish to exclude. (Recommended to exclude: Forums, Friends, and Groups)

2. Change your General >> Reading settings to show Activity on the front page.

If you get a 404 on the homepage after completing this step, there’s a patch to fix this, if you’re not using the most recent version of BuddyPress.

3. Add the BuddyPress Followers Plugin.

This will replace the Friends functionality with Followers instead. The basic difference with followers is that the connection does not need to be accepted by the person being followed, which is more like the way that Twitter functions.

4. Add the BuddyPress Activity Stream Hashtags plugin.

Now you’re all set and ready to start customizing your theme to make posting updates more prominent and add buttons to make it easy for users to subscribe to each other’s feeds if they want to, without having to log into your site.

Even if you’re not interested in building a Twitter clone, this tutorial will help you to create an activities-centered BuddyPress site that is less focused on friends and groups. Perhaps you’re not interested in providing a massive service. Setting up a microblogging environment only for yourself isn’t a bad idea either. You’ll bypass the cattle herd of proprietary platforms and have complete control of your own data.

Featured Plugin - Easily integrate your WordPress site with Facebook

Would you like to add Facebook comments, registration, 'Like' buttons and autoposting to your WP site? Well, The Ultimate Facebook plugin has got that all covered!
Find out more

Featured Plugin - Every great SEO tweak you need, in one snazzy bundle

Fully integrated with the SEOMoz API, complete with automatic links, sitemaps and SEO optimization of your WordPress setup - this is the only plugin you need to help you rank your site number 1 on Google - nothing else compares.
Find out more

Featured Plugin - Add bottom corner (or anywhere else) chat to your site

No javascript required, no third part chat engine, just fully featured chat right in your own database on your own WP sites - couldn't be easier.
Find out more

Featured Plugin - Open an Online Store with MarketPress

Out of all the WordPress ecommerce plugins available, this has got to be the winner - easy to configure, powerful functionality, multiple gateways and more. A simply brilliant plugin!
Find out more

Featured Plugin - Start your own Quora / StackOverflow / Yahoo Q&A site

It's now incredibly easy to start your own Q&A site using nothing more than WordPress - The Q&A plugin simply and brilliantly transforms any site, or page, into a perfect support or Q&A environment.
Find out more

Featured Plugin - Host sites, get paid, just like WordPress.com

If you've ever wondered how you could offer a paid site management and hosting service, then this is the plugin for you. Offer a freemium or paid service, for any niche you like, it's powered Edublogs.org to success already!
Find out more

Featured Plugin - Turn any WordPress page into a fully featured wiki!

To get a wiki up and running you used to need to install Mediawiki and toil away for days configuring it... not any more! This plugin gives you *all* the functionality you want from a wiki, in WordPress!!!
Find out more

Featured Plugin - Start Your Own Powerful Membership Site

If you're thinking about starting a paid, or just private, membership site then this is truly the plugin you've been looking for. Easy to use, massively configurable and ready to go out of the box!
Find out more

Featured Plugin - WordPress + Google Maps = Perfect

Simply insert google maps into posts, sidebars and pages - show directions, streetview, provide image overlays and do it all from a simple button and comprehensive widget.
Find out more

18 Responses to How to Build a Mini-Twitter Site With BuddyPress: Your Open Source Microblogging Platform

  1. i also recommend trying the activity stream ajax notification
    http://wordpress.org/extend/plugins/buddypress-activity-stream-ajax-notifier/

    this will check for a new activity stream item every few minutes and display a simple message.

  2. Tried this but using the 2010 theme w/BuddyPress it can’t find the homepage. thoughts?

  3. @Scot Yes! There’s a patch to fix this: http://wpmu.org/daily-tip-how-to-get-buddypress-activity-to-show-on-the-homepage/ But I think it may be corrected already if you upgrade to the latest version of BP: http://buddypress.org/2010/06/buddypress-1-2-5/

  4. I just installed BP 1.2.5 so I’ll try the fix.

  5. Yeah, it’s already in 1.2.5 but it’s not working for me.

  6. Works with the BP Default theme so it must be a theme issue.

  7. When I first read the post, I thought someone had created a theme that mimicked Twitter (which is on my to-do list!).

  8. @r-a-y That would be really cool! I’ve seen a lot of WordPress twitter themes out there, some better than others, but none that incorporate BuddyPress. I think it would be a big hit!

  9. Yes! This is what I want to do with my sites! Unfortunately I can’t upgrade at the moment. Great blog post!

  10. @derek – this plugin will work with wp2.9.2 and bp1.2.4 as well.

    …and ditto on the twitter-like theme, just something basic and easy to understand would be awesome.

  11. Very nice tutorial! What about restricting posts to 140 characters the way Twitter does, any solutions?

  12. Pingback: How to Build a Mini-Twitter Site With BuddyPress: Your Open Source Microblogging Platform

  13. Question. Twitter limits the number of characters in a “post” does buddypress have the same functionality, or do you know of a plugin that adds this – in particular not necessarily to 140 chars, but a “settable” number? I have searched for this in WP plugins but cannot find one.

    Thanks!

  14. Thanks Sarah for the blog post. I’ve created one – http://mychatbox.me

  15. And their is a character limit (200 chars) on status updates and replies

  16. Pingback: My Chatbox: A New Micro-Blogging Service Built On BuddyPress - WPMU.org – WordPress, Multisite and BuddyPress news, tips and resources

  17. Interesting stuff.. Would like to see more of this.. Awesome blog btw! Subscribed

  18. Thanks Sarah for the wonderful post.I am one of the developer for http://dipqa.com.Had implemented hash tags though its a little different

    thanks
    John

Click on a tab to select how you'd like to leave your comment

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting