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

Time for action – Sitewide recent comments


  1. Download the plugin and extract it.

  2. Upload the sitewide_comments.php file to your /wp-content/plugins folder and activate it in your WordPress MU admin panel.

  3. Log in to phpMyAdmin, select your WordPress MU database, and select SQL.

  4. Paste the contents of the file CREATING-sitewide_table.txt into the text box and click ok.

  5. Once you have created this table, log in to your admin panel and enable the Sitewide recent comments plugin.

  6. Open r_sidebar.php file for the theme that you want the plugin to apply to. In our case, we will be editing both the theme on the main site and the copy used on the individual user's blog.

  7. At the point you would like to have a list of comments displayed, insert <h2>Recent Comments</h2>, followed by the code from SAMPLE_CODE.php.

    Note

    The code in SAMPLE_CODE.php needs a minor alteration, though. In the code, just after the bit that says normal recent comment instead…}, just add ?>, or the desired screen may not be...