This book uses Drupal, a powerful and extendable Content Management System (CMS), to set up and manage a social networking web site using a range of powerful and feature-rich social networking modules that are available. By using Drupal, the site can be built and extended rapidly, and changed easily, as the social network evolves and grows.
This book is packed with practical tips not only for setting up a social networking site, but also for promoting and marketing the site, as well as working with the sites' users to help the social network grow and flourish.
Chapter 1 introduces you to Drupal, social networking, and the benefits of creating a social networking site.
Chapter 2 takes you through the Drupal administration interface in addition to discussing how Drupal works. It also walks us through preparing Drupal to become a social networking site.
Chapter 3 goes through the steps of allowing our users to contribute content to the site, using modules which are built into the Drupal core.
Chapter 4 extends the user experience with enhanced customized profiles and blog themes; and enables users to log in using OpenID, which can save them the trouble of remembering another set of login details.
Chapter 5 enables users to interact with one another, as well as build and maintain relationships with each other, forming groups to enhance these relationships and improving site communication and collaboration, and providing areas for users to comment on each other's profiles and viewing the activity of the other users.
Chapter 6 looks at communicating with the users of the social network through mailing lists, theme changes and Twitter feeds, to keep them up-to-date, and improve user retention.
Chapter 7 walks through the creation of a custom module, making use of Google Maps, to illustrate how easily the social network can be extended to meet almost any need. With these skills, the features provided on the social network are no longer limited to the Drupal core and user-contributed modules.
Chapter 8 introduces you to Drupal themes to install and enable new themes, customize existing themes and walks you through the basic steps involved in creating a basic theme of your own, allowing you to provide a unique design to separate your site from the competition.
Chapter 9 shows you how to deploy your new social networking web site, and also how to maintain it to ensure that it is in tip-top condition.
Chapter 10 goes through some useful stages in promoting your site through search engine optimization, social media and advertisements, as well as some useful advice on advertising, promoting, and marketing on the web. This helps to bring back visitors to your site, and also bring in new users.
Appendix A shows you how to install the Apache web server, the PHP interpreter and MySQL database server using the WampServer package.
Drupal is a free, open source module web application framework and CMS written in PHP that can run in many environments including Windows, Mac OSX, Linux and FreeBSD. All that is required is a development environment set up on your computer such as WAMP, or XAMPP.
To deploy the web site on the Internet, you will need a web hosting account and a domain name. More information on web hosting providers and domain name registrars is provided in Chapter 9.
This book is for anyone who is interested in creating a social networking web site and would like to make use of Drupal to do so.
This book does not assume you are familiar with Drupal. However, some experience with PHP, HTML and CSS will be useful for some parts of the book, although it is not mandatory.
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: "We can include other contexts through the use of the include
directive."
A block of code will be set as follows:
<div class="content clear-block"> <!-- map --> <div id="map" style="width: <?php print $node->width; ?>px; height: <?php print $node->height; ?>px"><p>content</p> </div> <?php print $content ?> </div>
When we wish to draw your attention to a particular part of a code block, the relevant lines or items will be made bold:
<div class="content clear-block"> <!-- map --> <div id="map" style="width: <?php print $node->width; ?>px; height: <?php print $node->height; ?>px"><p>content</p> </div> <?php print $content ?> </div>
New terms and important words are introduced in a bold-type font. Words that you see on the screen, in menus or dialog boxes for example, appear in our text like this: "The taxonomy options can be accessed from the menu via Administer | Content management | Taxonomy".
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 <[email protected]>
, making sure to 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 <[email protected]>
.
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.
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.
Visit http://www.packtpub.com/files/code/6101_Code.zip to directly download the example code.
The downloadable files contain instructions on how to use them.
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 this you can save other readers from frustration, and help to improve subsequent versions of this book. If you find any errata, 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 the list of existing errata. The existing errata can be viewed by selecting your title from http://www.packtpub.com/support.
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 the location address or web site name immediately so we can pursue a remedy.
Please contact us at <[email protected]>
with a link to the suspected pirated material.
We appreciate your help in protecting our authors, and our ability to bring you valuable content.
You can contact us at <[email protected]>
if you are having a problem with some aspect of the book, and we will do our best to address it.