Book Image

WordPress MU 2.8: Beginner's Guide

Book Image

WordPress MU 2.8: Beginner's Guide

Overview of this book

WordPress MU enables you to build a complete, professional blog network. Each user gets their own blog, and can choose their favorite templates and plug-ins, and develop their own content. WordPress MU powers some of the largest blog networks in the world, including the mighty WordPress.com ñ home to thousands of bloggers. This book will take you through the setup of a WordPress MU-powered blogging network, using a real, working blog network as an example, so that you can follow the creation process step-by-step. Your blogging network will be complete with professional features such as friends lists, status feeds, groups, forums, photo galleries, and more, to build your own WordPress.com ñ a place where users can quickly come and create a blog for themselves. The book starts with a clean install of WordPress MU, and as you work through the book, you will build the blog network, and add on more and more features, all seamlessly integrated to achieve a professional, custom-built look.You will find new themes and plug-ins added to the site, as well as customization of the WordPress multi-user code. The book will also look at ways you can manage your community, and keep your site safe and secure, ensuring that it is a spam-free, enjoyable community for your users. In the later chapters, you will add a forum using the bbPress script, and add BuddyPress social networking components to your site. Imagine how good you'll feel when your first WordPress multi-user blog network launches.
Table of Contents (18 chapters)
WordPress MU 2.8 Beginner’s Guide
Credits
About the Author
About the Reviewers
Preface
Index

Preface

In today's digital world, it seems that everyone has a web presence—be that a profile on a social networking site such as Facebook, a blog hosted by Blogger or WordPress.com, or their own web site.

General networking and blogging sites are useful for keeping in touch with old friends, but their search tools are less effective if you are trying to find people with similar interests to your own or who work in the same industry.

The multiuser version of WordPress, called WordPress MU, is an ideal solution to this problem. WordPress MU, paired with forum software such as bbPress and the BuddyPress suite of social networking tools, allows you to start your own blog network with social networking features such as friends lists, status updates, and groups. Using these tools, you could start a social network and blogging site for a local social group, a fan club, or your company.

Throughout this book, we will build a blog network called SlayerCafe. This blog network is aimed at Vampire Slayers and their Watchers, as well as other people who are interested in joining the fight against demons of the night. The Slayers and Watchers will be able to share information, swap tips, update each other on their activities, share videos, and discuss demonic goings-on in the site's forums. The Slayers feel they need such a site because they found that public social networking sites such as Facebook weren't suitable for discussing vampires and werewolves. Their serious conversations were invaded by fans of Vampire: The Masquerade and Twilight, which made it too difficult to separate the real vampires from the fictional ones.

This book will explain how to set up WordPress MU and how to seamlessly integrate WordPress MU with bbPress and BuddyPress. You will also learn how to promote your blog network and attract new users, as well as how to keep your site safe, secure, and free from spam.

Running a successful blog network requires a good web server; however, it does not have to be expensive to get started. You will learn about the different hosting options available to you, along with the ways to optimize WordPress MU so that the server load is reduced as much as possible.

If your site is a business venture, then you will be interested in learning how to make money by charging for premium memberships, selling site-related merchandise, or by using advertising. All those options will be discussed.

What this book covers

Chapter 1—Introducing WordPress MU will introduce WordPress MU, bbPress, and BuddyPress and explain the hosting requirements of those sites. You will learn about shared hosting, Virtual Private Servers (known as VPSes), and dedicated servers, and you will get an overview of the benefits and downsides of each of those hosting options. Finally, you will learn how to plan the development of your site so that it has all of the features that you want to offer to your prospective users.

Chapter 2—Installing WordPress MU will discuss setting up a local copy of your site for testing purposes and installing WordPress MU on your web server in subdomain configuration so that users can have WordPress.com style "myusername.theblogsite.com" blog addresses.

Chapter 3—Customizing the Appearance of Your Site will cover installing and customizing themes and how to offer a range of theme choices to your users. You will also be introduced to some plug-ins that offer community features so that your blog looks like it is a part of a network, rather than a standalone blog.

Chapter 4—Letting Users Manage Their Blogs will cover more about the multiuser aspects of WordPress MU and setting up some features that allow users to manage their blogs, including allowing them to add and remove plugins and widgets, change their themes, and even have their own domain name point to their blog.

Chapter 5—Protecting Your Site will explore some security options that will make life harder for spammers and hackers, keeping the site clean, safe, and stable for your users. You will learn how to reduce spam, block known bad visitors, and automate backups, so that if the worst happens, you can restore a backup of your site quickly and easily.

Chapter 6—Increasing Traffic to Your Blog Network discusses some simple promotion techniques that will make it easy for you and your site's users to bring in visitors to their blogs. You will learn how to offer RSS feeds that interested visitors can subscribe to, and how to "converse" with other bloggers via trackbacks. You will also learn how to use pings to tell blog directories that your blog has been updated and how to promote your blog on Twitter.

Chapter 7—Sticky Features for your Blog Network tells what is meant by a "sticky" site and how to make your visitors feel like they are part of the community, encouraging them to return to the site and promote your site to their friends.

Chapter 8—Adding Forums with bbPress introduces the bbPress forum software. You will learn how to install it and how to integrate it seamlessly with WordPress MU. Not only will the two parts of the site look like they fit together, but they will behave like they are part of the same site, too. Your users will need to register for an account once and, when they log in to the site, they will have access to both the blog network and the forums.

Chapter 9—Social Networking with BuddyPress will help us add some social features to our site. BuddyPress offers several features, including friends lists, groups, and The Wire (a feature similar to Facebook's Wall). Along with setting up and optimizing BuddyPress, you will learn how to allow your users to log in to your site with Facebook Connect and how to integrate BuddyPress with Twitter—the popular "microblogging" service.

Chapter 10—Monetizing Your Site will show how to monetize your site. We will explore several different options, including advertising, revenue sharing, donations, and subscriptions. Which model (or models) you choose will depend on the kind of community you are running. You will learn about several different revenue models so that you can find the one that suits your site best.

Chapter 11—Site Optimization will explain some ways to reduce the load generated by your visitors, enabling your existing server to handle a greater amount of traffic. You will also learn about some cheaper ways to increase your server's capacity.

Chapter 12—Troubleshooting and Maintaining your Site will give an overview of how to maintain your site and how to troubleshoot common issues with upgrades and plugins. You will see some common error messages and learn what they are likely to mean and how to fix them.

Who this book is for

If you wish to manage multiple blogs and build a blog network, then this book is for you. You are not expected to be experienced with PHP coding. Some knowledge of HTML and some experience with the blogging and social networking world will be helpful, but not essential.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "Open your theme's index.php file—in our case we are editing the Blue Zinfandel theme."

A block of code will be set as follows:

<?php 

	$email = $authordata->user_email;
	$hash = md5($email);
	$uri = ‘http://www.gravatar.com/avatar/' . $hash . ‘?d=identicon&r=any&size=80';
	$headers = wp_get_http_headers($uri);

Any command-line input or output is written as follows:

Mysqldump –add-drop-table –h localhost –u username –p databasename | gzip –c > backup_wpmu.sql.gzip

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in our text like this: " You can add new fields using the Generate Tag dropdown ".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply drop an email to , and mention the book title in the subject of your message.

If there is a book that you need and would like to see us publish, please send us a note in the SUGGEST A TITLE form on www.packtpub.com or email .

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code for the book

Visit http://www.packtpub.com/files/code/6545_Code.zip to directly download the example code.

The downloadable files contain instructions on how to use them.

Errata

Although we have taken every care to ensure the accuracy of our contents, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in text or code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration, and help us to improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/support, selecting your book, clicking on the let us know link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata added to any list of existing errata. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.

Piracy

Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works in any form on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at if you are having a problem with any aspect of the book, and we will do our best to address it.