An Introduction to BuddyPress

Social Networking with BuddyPress

Mar 30th in Wordpress by Justin Shreve

Automattic, the company behind WordPress, has recently acquired and will be releasing social networking software called BuddyPress. The software, built on top of WordPress, was created by Andy Peatling as way to start your very own social network similar to Facebook. Today, we will take a look at installing BuddyPress.

PG

Author: Justin Shreve

Justin Shreve is a freelancer who runs his own business at serenelabs.com.

Step 1 - What is BuddyPress?

BuddyPress

BuddyPress is a social networking application built on top of WordPress Multi-User (MU) as a plugin. WordPress MU is the the software behind WordPress.com. It allows a user to host a network of blogs on a site. BuddyPress adds a large variety of new social interaction features to WordPress. The features can be added all at once or as individual components:

  • A WordPress blog
  • Individual profiles for members
  • Private Message (PM) functionality
  • Friend Networks
  • Groups, which include a blog, photos and other user generated content
  • "The Wire" (like the wall on Facebook)
  • Activity/Action streams of public actions on the site
  • Forums using bbPress
Features

A fully featured demo is available at the BuddyPress website.

Demo

Today, we will install a full installation of BuddyPress (all the bells and whistles), so we can start a social network from scratch.

The software is in its RC stage, but is nearing its final version. The current version will help you get started with social networking by providing an admin control panel and all the basic features outlined above. You will then be ready to upgrade to the final version when the time comes.

Step 2 - Requirements

Before you install the BuddyPress system, your server will require you have two components already in place:

  • a MySQL database to store all the BuddyPress information. If you do not have a database created, create one with a user who has all privileges (such as UPDATE, INSERT, DELETE, SELECT) on that database. Remember the username/password and database name for later steps.
  • a mod rewrite module so you can have clean URLS. If you have used WordPress or another piece of software that has clean URLs, then you should be ready to proceed without adding this component again.
phpMyAdmin

Step 3 - Download WordPress MU

Before you can start the BuddyPress installation you will need a copy of WordPress MU installed. Grab the latest version (ZIP) (TAR.GZ) and unzip it. You should see a folder with a name similar to "wordpress-mu".

Upload the files in this directory to the location where you want to access your site. This can be the main domain or a subfolder. Grab a cup of coffee or tea while you wait for the upload to finish.

FTP/Files

Step 4 - Install WordPress MU

Once the upload has completed you can go ahead and install WordPress MU.

Point your browser to the directory where you uploaded the files so that index.php is executed. You will be shown a screen to enter some details. The settings should be filled as given below:

  • Blog Addresses - For the purpose of this article we will select "sub-directories". If you happen to have Wildcard DNS records enabled, you can select the other option, but that is outside the scope of this article.
  • Database Name - The database name from Step 2
  • User Name - The username from Step 2
  • Password - The password from Step 2
  • Database Host - This is usually localhost if the MySQL server is on the same server as the web server. Only change this if the installation is returning errors about the server/host setting.
  • Server Address - The installer should be able to guess this setting, but double check that it is set to the server/domain you are installing to.
  • Site Title - This will be the name of the social network site, so name it whatever you want.
  • Email - Enter a valid email address to be used for the admin account.
Install

Once you have double-checked all the above settings, click Submit. If all goes well, you should be greeted with an "Installation Finished!" screen that includes your username and password. You have also been sent an email with the same details included.

Before you continue, follow the instructions for setting permissions on the Installation Finished page.

Install

Step 5 - Download BuddyPress

At this point, you can now install the BuddyPress system. Since we are installing the full system, you can download the "combo" archive here.

Unzip the combo file and upload all the contents of the extracted zip to the root mu-plugins folder located in wp-content. Upload ALL the folders and files located in the zip, and make sure these folders and files have been chmodded to 755.

Move the mu-plugins/bp-themes folder you just uploaded to wp-content. Make sure these folders have been chmodded to 755.

Files

Step 6 - Setup BuddyPress

Once the files are uploaded, log in to the WordPress MU admin control panel with the username and password you created earlier. The URL to log in (emailed to you when you installed WordPress MU) is in the form http://yourdomain.tld/folder/wp-login.php

Under the "Site Admin" menu find the "Themes" link and click it. You will be shown a list of installed WordPress MU themes, one of which is the BuddyPress theme. Select "Yes" for "BuddyPress Home Theme" and click "Update Themes".

Themes

Finally, you will need to enable registrations if you want users to be able to sign up for your site. Under the "Site Admin" menu go to "Options" and make sure the Enabled option is selected for "Allow new registrations".

Allow New Registration Settings

Congratulations! Your social network is now ready for use. When logged into the admin control panel, you can manage a few settings from the "BuddyPress" link under "Site Admin". To view your new network and profile click "My Account" from the admin bar at the top of the screen and select "Activity" or "Profile".

Step 7 - Additonal Plugins and Themes

The plugin space for BuddyPress is small right now, but it will probably explode with new activity like WordPress once did. However, there are a few cool plugins available for BuddyPress right now:

  • bpGroups which includes improvements to the group system.
  • Invite Friends which adds some functionality to allow you to add friends from other social networking applications like Twitter, Facebook and GMail.
  • Twitter To Wire which adds your tweets to your wire (the BuddyPress version of Facebook's Wall) automatically.

There is also a page for themes, but no themes have yet been made available for download. If you are curious about the power of the theming system, you can view a few examples at WannaNetwork, GrungePress, and Flokka.

Extend Screen Shot

Closing

I hope this tutorial has been successful in introducing you to BuddyPress and has opened up an opportunity for you to start your own social network site. The Wordpress MU / BuddyPress configuration provides more social functionality than can be provided by a simple forum or blog network setup.

Remember, this tutorial is meant to familiarize you with the software and its installation before its final release. If you want to continue with your BuddyPress installation on the programming side of things, the BuddyPress Codex has some developer documentation.

  • Subscribe to the NETTUTS RSS Feed for more daily web development tuts and articles.


Related Posts

Check out some more great tutorials and articles that you might like

Enjoy this Post?

Your vote will help us grow this site and provide even more awesomeness

Plus Members

Source Files, Bonus Tutorials and
More for $9 a month for all TUTS+
sites in one subscription.

Join Now

User Comments

( ADD YOURS )
  1. PG

    BroOf March 30th

    Hey this looks really cool! I think I will try it!

    ( Reply )
    1. PG

      lawrence77 March 30th

      @Collis
      Can Envato release a social Network for us??

      ( Reply )
      1. PG

        Enatom July 28th

        If they did, theyll sell it to you.

      2. PG

        lawrence77 October 3rd

        u know what i ask? :x

  2. PG

    Rahul Chowdhury March 30th

    Wow, this article is great. I liked it, and I am thinking about using Buddypress.

    ( Reply )
    1. PG

      crysfel March 30th

      yeah! it looks good, i’ll try too.

      ( Reply )
  3. PG

    Darren March 30th

    I’ve just been looking at BuddyPress for a project last week.

    Test install was perfect first time. It really is a good setup.

    Nice write up.

    ( Reply )
  4. PG

    Rubens Cavalheiro March 30th

    That great, i need this tutorial.

    ( Reply )
  5. PG

    Shane March 30th

    Nice overview – for those who don’t know, the creators of Wordpress have also created forum software called bbPress.

    ( Reply )
  6. PG

    Nate March 30th

    But I’ve already installed regular Wordpress, is there a version for that? Why do I need to get MU?

    ( Reply )
    1. PG

      Sirwan March 30th

      The Wordpress (non-MU) Version is said to come out when Wordpress 2.8 comes out… im waiting too

      ( Reply )
      1. PG

        Yoosuf March 30th

        but some folks using the WP 2.8, eg, jQuery UI blog

  7. PG

    John Deszell March 30th

    I looked into this a few months ago, I need to play around with it…when I get some some lol

    I have an idea on what I want to use it for.

    ( Reply )
  8. PG

    Lee Rickler March 30th

    I’ve been experimenting with BP for some time now – A lot of good elements mixed with a beta feel.
    Slowly we find time to work some more and enjoy it when we can.

    ( Reply )
  9. PG

    Matt March 30th

    One thing I would like to see is a good out-of-thebox solution to real-time instant messaging like you see facebook now. Private messaging is different those are like secret messages found in a users inbox( a standard feature in forums )

    ( Reply )
    1. PG

      Paris Vega March 30th

      Try this. http://www.ajaxim.com/ Its something I came across last year. Haven’t used it yet, but it looks promising.

      ( Reply )
      1. PG

        w1sh March 30th

        That looks freakin’ awesome! :O***

  10. PG

    VINAY March 30th

    One More wonderful masterpiece from wordpress…

    ( Reply )
    1. PG

      r0ger May 6th

      Not from wordpress, but bought by Wordpress

      ( Reply )
  11. PG

    Kevin Martin March 30th

    Wow, pretty concise and thorough. Never knew there was a MU version of WP available to the public. I had thought of making my own script similar to BuddyPress before I found out it existed.
    Good Job.

    ( Reply )
  12. PG

    Alen March 30th

    great tutorial ! tnx ;)

    ( Reply )
  13. PG

    Tutorials Library March 30th

    Thanks for the good tutorials

    ( Reply )
  14. PG

    Al March 30th

    News to me.
    Thanks.

    ( Reply )
  15. PG

    Ryan Hickman March 30th

    Been using buddypress for a few months now, i must say its very cool. I just have issues with wordpress mu — as its not as stable as the regular release

    ( Reply )
  16. PG

    paul March 30th

    this is like the second best day of my life..the flash tuts one was the first!

    life just get better everyday….

    ( Reply )
  17. PG

    Jash Sayani March 30th

    Wow! Great tutorial!!

    However “start your own social networking site” sounds futile with giants like Facebook, Friendfeed and Twitter.

    But this can be great as companies’ internal social network platform…

    ( Reply )
    1. PG

      w1sh March 30th

      You’d be surprised how many companies are launching social networking sites every single day.

      Check out some freelance job-posting sites (scriptlance, guru) and you’ll see these going off for $1,200 a pop. ;)

      ( Reply )
  18. PG

    Polskie Blogi March 30th

    I’m working at this moment on social network based on MU + BBpress. What I’ve found so far that is a little bit “not perfect”:
    1. Instalation process – the way is explain in documents is confusing – if you don’t do things right in the first place the best way is to install once again from zero and,
    2. Somehow it’s very slow. On the same hosting I’ve got few more WP based sites and they run nice and smoothly but MU-WP + BBpress very often work dead slow.

    ( Reply )
  19. PG

    xx March 30th

    something screwed up with the directions. The read me with buddypress says to do this with the themes not what you said above.

    step 3: Move the themes to their correct locations

    Move the home theme:
    From: ‘wp-content/mu-plugins/buddypress-theme/buddypress-home’
    To: ‘wp-content/themes/buddypress-home/’

    Move the member theme:
    From: ‘wp-content/mu-plugins/buddypress-theme/member-themes/buddypress-member/’
    To: ‘wp-content/member-themes/buddypress-member/’

    ( Reply )
  20. PG

    Paris Vega March 30th

    Definitely going to try this out.

    ( Reply )
  21. PG

    milo March 30th

    Seems like you forgot the member themes set up…

    ( Reply )
  22. PG

    Dustin Dempsey March 30th

    Thanks for the link to WannaNetwork.com

    It’s definitely been an interesting building the network off of WordPress MU and BuddyPress (especially since BP is pre1.0), but we’re glad that we made the decision.

    Thanks.
    Dustin Dempsey
    WannaNetwork.com Developer

    ( Reply )
  23. PG

    Chris Robinson March 30th

    been following buddypress for awhile, haven’t had a chance to mess around with it yet

    ( Reply )
  24. PG

    Rob March 30th

    For social networking platforms, there are sites/services like Ning.com and competitor SocialGo.com that bundle it all together. Of course, the blogging system is in no way as solid as WP, but these services are headed in the direction of “build-your-own-facebook” sites. Ranges from free to premium services with tons of features — definitely worth a look if you’ve wanted to build something along those lines.

    ( Reply )
  25. PG

    Mason Sklut March 30th

    Thanks for the tut, I’m glad Automattic came out with this. They’ve done a great job with WordPress, so this should be great.

    ( Reply )
  26. PG

    Andy Gongea March 30th

    Don’t know if we need any other social networks.
    Anyway, I’ve tested BP and it looks OK.

    ( Reply )
  27. PG

    sid March 30th

    does this means that registered users can have their own blog within the social network?

    ( Reply )
    1. PG

      Montana Flynn March 30th

      yes check it out if you like, I am in private beta for a really great company I work for http://www.anybodycan.org that does neighborhood outreach and events.

      http://dev.complimedia.com/wordpress-mu/

      ( Reply )
  28. PG

    josheat March 30th

    Oh man.
    I’m not sure if I look forward to a flood of new social networking sites.
    Myspace and Facebook are enough to deal with already!

    Sweet app though

    ( Reply )
  29. PG

    Ariyo March 30th

    This is awesome. Exactly what I needed. Thanks!

    ( Reply )
  30. PG

    B. Ackles March 30th

    Great Tutorial! Would you be willing to do a follow-up on how to set up the wildcard DNS for the ‘blog address’? I’d love to see how to set up my social networks for custom sub-domains.

    ( Reply )
  31. PG

    Jack F March 31st

    Great tutorial. Any idea if BBpress might intergrate in as well?

    ( Reply )
    1. PG

      Dustin March 31st

      It’s seemless.

      We use bbpress for the groups forums, and we use simple:press for the main forum on Wannanetwork.com

      ( Reply )
  32. PG

    Martyn March 31st

    If any one needed proof that social media is here to stay then this is it.

    I wish I had enough time to test this out for myself and really come up with something great.

    I Look forward to see how it goes

    ( Reply )
  33. PG

    Evan Byrne March 31st

    I tried BP out a while ago, ran into some stupid errors, then gave up on it. Hopefully it is more stable now.

    ( Reply )
  34. PG

    Paul Morales March 31st

    Wow, that’s pretty cool for a wordpress site ;)

    ( Reply )
  35. PG

    Andrea_R April 1st

    Actually, there have been themes released for BuddyPress over at freebpthemes.com and buddydress.com.

    ( Reply )
  36. PG

    ORiOn April 3rd

    Where the hell is the “Site Admin” menu go to “Options”…

    I can’t find it… lol

    Can someone give me an example link?

    ( Reply )
  37. PG

    Taylor Satula April 3rd

    was just thinking, Huh i wonder what ever happened to buddypress then i saw this. Huh. :)

    ( Reply )
  38. PG

    ORiOn April 4th

    I really need help!

    “Where’s the “Site Admin” => “Options”…

    I can’t find it… lol

    Can someone give me an example link?”

    ( Reply )
    1. PG

      Elliot April 6th

      I’m adding my link because the ORiOn user asked for an example link. Check my tutorial, what you need to look at is on the third screen capture:
      http://www.ilovecolors.com.ar/starting-with-buddypress-wordpress-mu/

      This article doesn’t address the issues of installing in a local Windows server like WAMP. You can’t just use localhost as your host, instead, you must use localhost.localdomain or something like that, and you must add the new hostname to the hosts file located in c:\windows\system32\drivers\etc.

      Other than that, nice tutorial.

      ( Reply )
  39. PG

    Freelance Venue April 14th

    Hmmm… sounds like BuddyPress is a good script to install. Thanks for the tutorial!

    ( Reply )
  40. PG

    OMGItsIsaias April 15th

    I kept having a hard time getting the css files linked up, so it would just display nasty div’s. >:(

    Btw, I am currently working on developing a BuddyPress theme I will be using for a site (in the works), so if anyone needs help with buddypress, let me know! ;)

    Great Tutorial Thanks!

    ( Reply )
  41. PG

    darkShizzle April 16th

    the only thing they have missing is photo albums…. i hope they implement that very soon

    ( Reply )
  42. PG

    oto kiralama April 25th

    Studies for a long time I’d been really great. We thank you very much
    I wish you continued success of the site administrator

    ( Reply )
  43. PG

    kunal May 3rd

    I just installed my social network. It is not the most obvious of procedures but I trust the company that runs wordpress. Now to figure out how to customize it.

    ( Reply )
  44. PG

    mike May 7th

    they have recently launched it but have to work on it more

    ( Reply )
  45. Good instructions!

    Any Plugin for Google Analitics that would work with BuddyPress ( or WPMU)?

    ( Reply )
  46. In the step 6 – missing part is wher to put each BP Theme. :)

    ( Reply )
  47. PG

    chand June 1st

    Hi everyone,
    Is it possible to connect it to Flex, and if we connect wordpress with Flex then please let me know. Wordpress is also opensource like drupal.

    Thanks

    ( Reply )
  48. PG

    Photowork June 9th

    How to integrate bbpress forum with WMU? Anybody know?

    ( Reply )
  49. PG

    praful June 17th

    Thanks for ur instructions

    ( Reply )
  50. PG

    Student Talk June 22nd

    Thank you for sharing. Student Talk, Students Social Network Community and Utility that Help Students Socialize Around the world for Teacher Education and Meet, Exchange and Share Essays, Graphic Designs, Presentations, PowerPoint Projects. Students Looking to Educate in School College University Organization Institute Association, Totally Educational.

    ( Reply )
  51. PG

    Euclides October 9th

    Hey, great news! Excellent post, thanks for sharing, this will help many people to do busienss I am sure ;)

    ( Reply )
  52. PG

    Dixie Teo October 22nd

    I see you seem to familiar buddypress, I would like to ask if you are able to guide me to configure buddypress to fit into normal wordpress theme. Just add buddy to my normal wordpress site. is it possible?

    ( Reply )
  1. Arrow
    Gravatar

    Your Name
    October 22nd