Book Image

Drupal 6 Social Networking

By :
Book Image

Drupal 6 Social Networking

By:

Overview of this book

<p>Drupal is ideally equipped to be used as a base system for creating a custom social networking site like Facebook and MySpace. While these large social networks have their place, niche social networking web sites can help promote businesses, products, projects, and hobbies of any nature.<br /><br />This book provides careful instructions and clear explanations to take you through the setup and management of your social network site, covering topics from users to marketing to maintenance. It will help you create your own social networking site, suitable for whatever audience you decide!<br /><br />This book will take you from the very basics of both Drupal and Social Networking right through to more complicated aspects, like creating your own custom design and features for the site. With no experience of Drupal required, the book will introduce you to this award-winning CMS and carefully take you through the steps to create a social networking site from it. As the book progresses, you will learn how to add to and expand your social networking site, adding more features and adding value for your users, and how to make your users feel part of the community. Social networking web sites rely on their users contributing to the site, and this book helps you structure a site in a way users can easily and enjoyable contribute to the site &acirc;&euro;&ldquo; creating a powerful social network.<br /><br />The book begins with the fundamental concepts of a Social Networking site, and how we can use Drupal to create such a site. It then goes through installing Drupal before looking at expanding the out-of-the-box feature set with third-party modules designed for Social Networking. Once the web site is running, it looks at securing the Social Network, deploying it on the Internet, and keeping it running and well maintained. It doesn't stop there however; as Social Networks rely on their user base to run and become successful, the book also covers marketing the Social Network using Search Engine Optimization, Online Marketing, and a range of new Social Media.</p>
Table of Contents (17 chapters)
Drupal 6 Social Networking
Credits
About the Author
About the Reviewers
Preface
Index

Configuring WampServer


Within the WampServer menu, the Apache, PHP, and MySQL options allow us to configure the various services. We can install modules and add-ons to the different components, or we can edit the configuration files for them.

There are the two main features that we will want to be enabled:

  • GD for PHP

  • Rewrite_module for Apache

Tip

Configuration Files

The my.ini, php.ini, and httpd.conf files are the configuration files for the three services, although we wouldn't need to edit these for our web site. However, it is important to know where they are, in case we do need to change them later, as they control how the software works. More information is available on their respective web sites.

GD2

PHP's GD2 module is a graphics library that allows PHP to easily manipulate and manage images, including resizing images, recreating images, adding watermarks to images and so on. Drupal has a number of image features which require an image module to be installed with PHP. By default, GD2 is installed with WampServer; but it is important for us to confirm that it is enabled, and that we know where the setting is.

PHP's modules are enabled and disabled by clicking the WampServer logo in the system tray selecting PHP and then the PHP Extensions.

From here, we can enable or disable the GD2 extension.

Rewrite Module

Apache has a module called rewrite which allows it to rewrite URLs, particularly to make them more friendly by rewriting URLs such as /home/about to index.php?section=home&page=about. Now, when a user types in the "clean URL" version, the web site interoperates this properly.

Drupal's Clean URL's module makes use of this feature if it is available; so let's enable it! It can be enabled from Apache modules within the Apache menu.