Allground - Responsive Fullscreen Backgrounds for WordPress with images, YouTube videos, Google Maps and self hosted videos

Starting with BuddyPress and WordPress MU

BuddyPress logo

Although there are specific softwares for social networks, WordPress MU, the multi user version of WordPress, has the potential to be transformed into a social platform. WordPress MU is what powers the WordPress.com blogs, handling millions of blogs so you can get an idea of its power. But WPMU doesn’t offer the social network functionality out of the box.

Enter BuddyPress, the social network plugin for WordPress. We will learn how to setup BuddyPress on top of WordPress MU.

A bit of history

Back in July 1 2007, Andy Peatling anounced that he had completed a social network using WordPress MU:

I recently completed my biggest project yet; a fully fledged social network aimed at female college students. The difference? It’s built on WordPress MU.

(…)

WordPress MU has the basics of a social network right out of the box – individual member blogs, member profiles and the ability to scale well.

The rest is history, Andy works for Automattic developing the BuddyPress project.

The past Dec 15, the first beta of  BuddyPress components was released and last Feb 11, the BuddyPress first release candidate was announced, adding 300 commits and 200 bugfixes.

Installing

You must have WordPress MU running to start buddypressing it. I have installed WPMU into a WAMP server and there are some pitfalls in doing so. 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. If you use a proxy and your browser was set to not to use a proxy for the localhost hostname, you may have to add localhost.localdomain to the list of words that doesn’t require proxy.

After that, create a database using phpMyAdmin and name it something like “social”. Unzip WordPress MU into a folder inside the www folder in your WAMP installation directory, let’s name it “social” as well. Enable the rewrite_module, turned off in WAMP by default.

BuddyPress install

Launch your browser now, and go to http://localhost.localdomain/social and enter the required information, your database name, user and password. For example, social could be our database name, and if you haven’t defined an user, just type root as username and leave blank for password. Set the rest of options like choosing if you want the user blogs to be created in a user.domain.com fashion or a domain.com/user/ fashion, set your title and click Submit.

If everything went ok you are now on a new screen asking you to login using admin as a username and a generated password. Proceed to login. We’ll come back to the admin area later.

Buddypressing your WPMU

Let’s assume your base folder name is social. Unzip the latest BuddyPress and move the content (not the folder) of the buddypress-theme folder to social\wp-content\themes. Move the remaining files and folders to social\wp-content\mu-plugins.

Into the admin area

Enable BuddyPress themes

In the admin area, go to Site Admin\Themes. You will find here the BuddyPress themes ready to be activated. Click the Yes radio next to BuddyPress Home Theme and BuddyPress Member Theme. These are the themes that will be used for the social network homepage and the theme to be used for the page/blog/profile of individual users. Now you can go to Appearance\Themes and enable the BuddyPress Home Theme like any other WordPress theme.

Enable registration

You need to enable registration for your users and they will be able to create their profiles pages. Go to Site Admin\Options and change Allow new registrations from “Disabled” to “Enabled. Blogs and user accounts can be created.” At the bottom of this page, check the Plugins checkbox if you want to enable plugins site-wide.

Now you are ready to BuddyPress!

Related links

http://wpmu.org/

http://wpmututorials.com/

http://wpmudev.org/


“Starting with BuddyPress and WordPress MU” received 16 comments! Add yours.

  1. Lucía March 9th, 2009

    Very nice, it takes you through the whole process.

  2. Almoruh April 4th, 2009

    хех.. +1 !

  3. ORiOn April 8th, 2009

    I don’t have the Site Admin menu. :S

  4. James April 8th, 2009

    Great resource, I’ve been able to install it. I didn’t knew about the etc/hosts thing and I having trouble with the login, but I could fix it thanks to this.

  5. Elliot April 8th, 2009

    Weird, what do you have on you admin screen?

  6. Elliot April 8th, 2009

    Thanks, I’m glad you got it working.

  7. ORiOn April 8th, 2009

    You can see a printscreen here:
    http://i44.tinypic.com/2n85t6x.png

  8. ORiOn April 12th, 2009

    Can you help me plz?

  9. Elliot April 12th, 2009

    I don’t really know why you’re not getting the admin panel. I suggest you to try to install it following the steps I’ve outlined here. Maybe you should try to install it in a local server and then when you’re done with your testings, jump to an online server.

  10. ORiOn April 12th, 2009

    Elliot, it’s the same thing testing it on an online server or on my pc.

    I will try to follow your steps. Thanks.

  11. Elliot April 12th, 2009

    I know it’s the same, it’s a bit faster testing and debugging in a local server.

  12. xoxoANP! » links for 2009-05-09 May 9th, 2009

    [...] :: Starting with BuddyPress and WordPress MU :: (tags: blogtodo lookandfeel) [...]

  13. edgar neo December 19th, 2009

    your tutotial is BIG help turning http://www.S2M010.com form just a site into a online community area!

  14. Mike February 14th, 2010

    I like your site. I’m building my community in Buddypress and just looking for all the best plugins and help getting it all working, thanks for the help!

  15. Chief Ox October 8th, 2010

    This is one of the coolest designed blogs IMO – and this comment box is def. THE best one I saw ever :D

  16. Amal Jaggie July 9th, 2014

    Hello everybody!I am new here, I am obsessed with technology and that i just can’t live with out it. Phones, computers, games – everything!

Leave a comment