Drupal 7 Social Networking - Michael Keith Peacock - E-Book

Drupal 7 Social Networking E-Book

Michael Keith Peacock

0,0
34,79 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.

Mehr erfahren.
Beschreibung

Drupal is ideally equipped to serve as a base system for creating a custom social networking site like Facebook or MySpace. While these large social networks have their place, niche social networking websites can help promote businesses, products, projects, and hobbies of any nature.

Drupal 7 Social Networking 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 choose!

Starting from the very basics of both Drupal and Social Networking, right through to more complicated aspects, you will progressively learn how to add to and expand your social networking site and add more features. You will learn how to secure your social network, deploy it on the Internet, and keep it running and well maintained. As social networking sites rely on the participation of their users, this book helps you to structure your site in such a way so that users can easily and enjoyably contribute, thus creating a powerful social network.

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB
MOBI

Seitenzahl: 314

Veröffentlichungsjahr: 2011

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Table of Contents

Drupal 7 Social Networking
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Drupal and Social Networking
Social Networking: An introduction
Business logic to social networks
Examples: Businesses making use of existing social networks and their own social networks
Dell: Twitter
NameCheap: Twitter
BT: Twitter
Netgear: Custom
Why not join or use an existing social network?
Provide a service
Improve business
Improve communications
Existing social networks
Facebook
LinkedIn
MySpace
Twitter
Drupal
What is a CMS?
What is Drupal?
Drupal as a social networking platform
Alternatives to Drupal
Roll your own
Elgg
Hybrid approaches
DinoSpace!
Installing Drupal
Requirements
Download
Installation
Extracting the Drupal files
Creating the database
Running the Drupal installer
Configuring Drupal
People: Account settings
System: Site information
Other configuration options
People: IP address blocking
System: Actions
System: Cron
Content authoring: Text formats
User interface: Shortcuts
Media: File system
Media: Image styles
Media: Image toolkit
Development: Performance
Development: Logging and errors
Development: Maintenance mode
Search and metadata: Search settings
Search and metadata: URL aliases
Search and metadata: Clean URLs
Web Services: RSS publishing
Regional and language: Regional settings
Regional and language: Date and time
Summary
2. Preparing Drupal for a Social Networking Site
How Drupal works
An abstract framework
Nodes
Modules and themes
Administering Drupal—An overview
Logging in
Dashboard
Content
Content statuses
Promoted content
Sticky content
Creating content
Comments
Structure
Blocks
Content types
Menus
Taxonomy
Appearance
People
Permissions
Roles
Modules
Configuration
Reports
Help
Content types and taxonomy: A detailed look
Creating a new content type
Adding fields to the content type
Linking taxonomy to the content type
Customizing how the taxonomy works with the content type
Test content in action!
Planning our site
Static content
Grouping content
Starting to build our site
Using taxonomy
Creating the vocabulary
Summary
3. User Content: Contributions, Forums, and Blogs
Our site
User roles: An important note
Drupal modules
Managing comments
Comments within DinoSpace!
Forums
Planning our forum structure
Creating and managing forums and containers
Viewing our forums
Creating a forum topic
Taxonomies
Planning: How will roles fit in?
Setting up and using blogs
Viewing blogs and the blog menu
Using the blog
Collaborative writing
Creating a book
Creating pages in the book
Outline
Permissions and roles
Why not grant all permissions?
Polls
Adding roles
Contributions in the form of pages
Permissions and roles
Uploaded files
Roles
Anonymous role permissions
Authenticated users
Additional roles
Contributors
Moderators
Power contributors
Summary
4. Users and Profiles
What are we going to do and why?
Getting set up
Users, roles, and permissions
User management
Users: Viewing, searching, sorting, and filtering
Creating a user
Editing a user
Suspending / blocking a user
Canceling and deleting a user account
Bulk user operations
Roles
Permissions
Creating customizable user profiles
Listing your dinosaurs
Linking to other social network profiles
Profile in action
Globally recognized avatars: Enabling Gravatars
Tracking user activity
User centric home page
Account settings
Summary
5. Enabling User Interaction
DinoSpace!: A review
Preparation: Installing the modules
Relationships
Planning user relationships
Managing and creating relationships
Creating a relationship type
Creating a two-way relationship which requires approval
Creating a one-way relationship
Creating default relationships
Settings
General settings
Customizing e-mail notifications
Customizing on-screen messages
Sharing content
Other settings
Permissions
Relationships in action
Befriending users
Approving requests
Related user activity stream
A template for each relationship type
A rule for each relationship type
Activity stream in action
Contacting users
Groups
Groups for DinoSpace!
Using the organic groups module
Creating a group content type
Configuring content types
Formatting groups
Adding some user context to the group
Using panels to structure the group page
Using views to pull in group content
Creating a group
Adding content to a group
Viewing our group
Commenting on user profiles
The guestbook module
What to look out for
Summary
6. Social Seasoning
Let's prepare our modules
Encouraging discussion with Disqus
Register for Disqus
Sharing content with AddThis
Leverage other features
Like this on Facebook
Enabling PHP in content blocks
Like this page
Creating the block
Tweet this
Find us on Facebook
Latest tweets
Summary
7. Module Development: Rapidly Improve your Social Network
Dinosaur-friendly venues
Useful resources
Building our module
Installation files
Map installer: dino_friendly_places/dfp_map.install
Venue installer: dino_friendly_places/dfp_venue.install
Module information files
Map information file
Venue information file
Module files
Create the map module file
Venue: no module file required
Template files
Map: node--dino_friendly_places_map.tpl.php
Venue: node--dino_friendly_places_venue.tpl.php
Module in action
Install the module
Creating a map
Creating a venue
Viewing a map
Viewing a venue
Summary
8. How We Can Design Our Site
Drupal themes
Theme management and pre-installed themes
Bartik
Garland
Seven
Stark
Contributed themes
Installing contributed themes
Customizing the default theme
Color scheme
Custom color sets
Color set preview
Toggle display
Logo image
Shortcut icons
The basics of creating a theme
Structure of a theme
Overriding specific parts of Drupal with a theme
Creating the .info file
Rapidly building a theme
Building a theme properly
Summary
9. Communicating with Our Users
Getting started
A look back
Modules send e-mails too!
Direct contact with a user
Mailing lists
External mailing lists
Automatic signup on user creation
Signup for anonymous users
Alternative e-mailing options
PHPList
Simplenews
Sending a newsletter with simplenews
Amazon Simple Email Service
Using content blocks to get our message across
Using theme customisations to indirectly communicate with our users
Inactive users: Please come back
Summary
10. Deploying and Maintaining Your Social Network
Installing the modules
Security
Security advisories
Server security
Software
Securing the site with a firewall
Shared hosting precautions
CAPTCHA
The CAPTCHA module
The reCAPTCHA module
SPAM prevention
Mollom
Passwords
Deploying
Choosing a domain name
Registering a domain name
Popular domain name registrars
Signing up with a hosting provider
Choosing a web hosting provider
Considerations for hosts for social networking websites
Popular web hosting providers
Setting the nameservers for the domain
Creating a database on the hosting account
With cPanel hosting control panel
With appropriate privileges on PHPMyAdmin
Exporting our local database
Importing our local database to the hosting account
Changing the database settings
Uploading the site
Testing
Maintenance
Cron
Looking up the secure cron URL
Performing maintenance
Upgrading Drupal
Reports
How can these help?
Backing up and restoring your social network
With cPanel
Restoring the site and database
Using the command line
Command-line access and Putty
Backing up the site and database
Restoring the site and the database
Do they work?
Summary
11. Easing Growing Pains
Basic performance tips
Introduction to caching and caching options
NoSQL options
Can't someone else do it?
Statistics
Sending e-mails
E-mail services
Hosted Apache Solr search
Using content delivery networks
CDN module
Code improvements and custom modules
Code profiling
Slow queries
Compression
Server performance and configuration
Apache
MySQL
Alternative web servers
Scaling our resources
VPS cloud hosting
Additional servers
Adding redundancy to our setup
Keep an eye out…
Summary
12. Promotion, SEO, User Retention, and Monetization Strategies
Promotion and marketing
Online advertising
Pay-Per-Click
Search engine PPC networks
Pay-Per-Action—A look to the future
Advertising space
Warning: Keep the search engines happy!
Getting penalized by search engines
Keeping them happy
Newsletter advertising
Newsletters
Social marketing
Viral marketing campaigns
Twitter
RSS feeds
Search Engine Optimization
On-site SEO
Headings
Internal links
Up-to-date, relevant content
Page meta data
Site speed
Search engine goodies! Sitemaps and tools
Off-site SEO
What to look for in an SEO company
User retention
E-mails for the user's action
User feedback
Hello there!
Monetization options
Final tips: Web stats
Modules to consider
Summary
A. Setting up a Local Development Environment
WampServer for Windows
Installing WAMPServer
WAMPServer overview
Configuring WampServer
GD2
Rewrite module
Linux
Install Apache
Enable the rewrite module and restart Apache
Install PHP
Enable MySQL and GD
Install MySQL
Install phpMyAdmin
Mac
Summary
B. Installed Modules
Chapter 1 to Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7 to Chapter 8
Chapter 9
Chapter 10
Chapter 11 to Chapter 12
Index

Drupal 7 Social Networking

Drupal 7 Social Networking

Copyright © 2011 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

First published: October 2011

Production Reference:1150911

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham B32PB, UK.

ISBN 978-1-849516-00-6

www.packtpub.com

Cover Image by Asher Wishkerman ( <[email protected]> )

Credits

Author

Michael Peacock

Reviewers

Kazi Ataul Bari

Nedo Laanen

Ronald J. Simon

Acquisition Editor

Sarah Cullington

Development Editors

Kartikey Pandey

Hithesh Uchil

Technical Editors

Pramila Balan

Joyslita D'souza

Project Coordinator

Joel Goveya

Proofreader

Aaron Nash

Indexer

Hemangini Bari

Graphics

Valentina D'silva

Production Coordinator

Aparna Bhagat

Cover Work

Aparna Bhagat

About the Author

Michael Peacock (www.michaelpeacock.co.uk) is a web developer and Zend Certified Engineer from Newcastle, UK with a degree in Software Engineering from the University of Durham.

After working as Managing Director and Lead Developer overseeing the development team at the web agency he co-founded almost five years ago, Michael stepped back from the business and now acts as Senior/Lead Web Developer on the telemetry project for Smith Electric Vehicles.

In October 2010, Michael presented his thoughts on specific web application architectures at the popular PHP North West conference, and has presented to the PHP North East user group on automated deployment systems and to North East technical community group Super Mondays on Jenkins Continuous Integration.

Michael loves working on web related projects, and is currently incubating a number of ideas for launch through his latest venture, Central Apps Limited (www.centralapps.co.uk).

He is the author of Drupal 7 Social Networking, PHP 5 Social Networking, PHP 5 E-Commerce Development, Drupal 6 Social Networking, Selling online with Drupal e-Commerce and Building Websites with TYPO3. Michael acted as technical reviewer for other publications like Mobile Web Development and Drupal for Education and E-Learning.

You can follow Michael on Twitter: www.twitter.com/michaelpeacock or find out more about him through his blog: www.michaelpeacock.co.uk.

Acknowledgement

I'd like to thank all the staff at Packt Publishing, in particular: Douglas Paterson, for working with me to develop my first book ideas; Sarah Cullington for working with me on developing this book; Joel Goveya, the Project Co-ordinator for helping keep the project on track and Karthikey Pandey, the Development Editor. Thanks are also due to the Technical Reviewers: Kazi Ataul Bari, Nedo Laanen, and Ronald J. Simon, who helped ensure the technical quality of the book was up to scratch.

I'd also like to thank everyone who left feedback about Drupal 6 Social Networking; their feedback really helped shape this book, so that as well as being updated to cover Drupal 7, it is more relevant, more interesting, and builds a more powerful Social Networking site.

My thanks also go to my friends and family, in particular my fiancée Emma for her support while working on the book.

Finally, I'd like to thank you, the reader; I hope you enjoy this book and produce a fantastic social network of your own. I look forward to seeing what you come up with, and hope you will provide me with your feedback so that Drupal 8 Social Networking can be even better still!

About the Reviewers

Kazi Ataul Bari was born in Comilla, Bangladesh. He has been working on PHP and MySQL, JavaScript, jQuery,CMS (Joomla, Drupal), Adobe Photoshop, Adobe Flash, and Action Script 3.0 for three years. Currently, he is working for GraphicPeople | Enfatico | WPP as Web Developer. He also worked at BRACNet Limited, and GoldenHash Technology as a Software Engineer and Quality Assurance Officer.

I would like to thank Hithesh Uchil, Joel Goveya, my grand father for giving me the encouragement to explore new opportunities, and my friend Fatema Akter Puspo for supporting me to work hard. Also, I would like to thank my Mom and Dad.

Nedo Laanen graduated in 2003, where he studied Applied Mathematics and Computer Science. He then started working for a large company in the computer industry. There he worked for several clients as a Novell System Administrator. Soon he developed a keen interest in Linux and Open Source software and started to pursue a career as a Linux professional at a Utrecht based company. Nedo has worked for companies like the Dutch department of the World Wide Fund in Zeist and the Dutch Council for Refugees in Amsterdam, as well as for several different Dutch Hospitals. He was also involved in the 'Antonius Open' project at the Antonius Hospital in Utrecht/Nieuwegein, a prestigious project of the Antonius hospital to cut back costs by implementing Linux and Open Source software in their computer network, replacing expensive proprietary software and eliminating vendor lock-in.

In 2011, Nedo started his own business as an all-round Linux engineer, providing Open Source solutions for other businesses: http://www.laanen-ict.nl.

Next to Linux and Open Source he is also an enthusiastic photographer (http://www.nedolaanen.nl). In 2009, he therefore started the website http://www.opensourcephotography.org to promote Open Source photography.

Nedo has also been a reviewer for Packt Publishing on the book GIMP 2.6 Cookbook.

Ronald J. Simon has been working with the development of shared information and database design dating back to the days before the Internet and has worked in many different areas of information management and writing documentation to support users.

Ron is also an Adjunct Instructor for Grand Valley State University and has worked in the legal field in Document management and security.

He is also an owner of RJS Designs, which is a small business consulting company.

I would like to thank my Coffee Machine for always being by my side.

www.PacktPub.com

Support files, eBooks, discount offers and more

You might want to visit www.PacktPub.com for support files and downloads related to your book.

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at <[email protected]> for more details.

At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

http://PacktLib.PacktPub.com

Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books.

Why Subscribe?

Fully searchable across every book published by PacktCopy and paste, print and bookmark contentOn demand and accessible via web browser

Free Access for Packt account holders

If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.

Preface

This book uses Drupal, a powerful and extendable Content Management System (CMS), to set up and manage a social networking website. This is achieved using a range of powerful and feature-rich social networking modules that are available, as well as creating a few of our own along the way. By using Drupal, the site can be built and extended rapidly and changed as the needs of our users and site change and evolve.

This book is packed with practical tips, not only for setting up a social networking site, but also for promoting and marketing the site, working with the site's users to help the social network grow, and preparing for growth so that our users get a reliable, enjoyable experience on the site.

What this book covers

Chapter 1, Drupal and Social Networking, looks into the basics, dealing with various social networking concepts, and also why you may wish to create a social network. You will start by looking at the concepts of social networking, Content Management Systems, and Drupal. Then you will be guided to install Drupal, look at its features, and see how it works.

Chapter 2, Preparing Drupal for a Social Networking Site, looks at Drupal in more detail, particularly at how to use its administration options, which should help you in building your site. This should prove to be a useful reference point in future. You'll be able to plan some of the static content for your site, and start to create content for it.

Chapter 3, User Content: Contributions, Forums, and Blogs, focuses very much on content; with these features in place you can now look at users, their profiles, and allow them to connect with one another to create a powerful social network.

Chapter 4, Users and Profiles, teaches how to manage users, roles, and their permissions. It talks about Gravatars and how to enable them. You'll learn how users can track the activity of each other and how to extend user profiles. Settings and rules for users will be talked about and you'll also learn how to give authenticated users a more relevant home page.

Chapter 5, Enabling User Interaction, explains how users can build relationships and friendships within the site, and how they can communicate with each other. With this, you will learn how to create a social site which is truly a network using Drupal.

Chapter 6, Social Seasoning, sprinkles in third-party social features to the site, including sharing content on other social networks, and using more advanced comment features from services such as Disqus.

Chapter 7, Module Development, rapidly teaches the basics of the Drupal 7 module system, through the creation of a suite of modules including a new bespoke content type and a map. This covers module development, extending the default content types, and allowing modules to interact with one another.

Chapter 8, Designing Our Site, discusses the default themes available to us, how we can customize it, where we can get new themes from, and the basics of the Drupal theming system. This provides the ground work for making your social network look the part.

Chapter 9, Communicating with Our Users, helps administrators communicate directly with users through e-mail, contact forms, and using the theme and reminders.

Chapter 10, Deploying and Maintaining Our Social Network, details the processes involved in taking a site from your local computer to the web. This discusses concepts including hosting, domain names, and the methods used to get the site running online. Once the site is online, it discusses how to maintain the social network.

Chapter 11, Easing Growing Pains, provides help and advice for scaling the social network and how to prepare with a large number of users. These tips speed up the site and show how to make the site more reliable when under load.

Chapter 12, Promotion, SEO, User Retention, and Monetization Strategies, looks into effectively marketing and promoting websites and social networking websites with online marketing techniques, search engine optimization, and user retention strategies. You'll also be looking briefly into how you may wish to monetize your site.

What you need for this book

For this book you will need:

A local development environment (see Appendix A)A text editor, such as Crimson Editor (http://www.crimsoneditor.com/)An FTP client to deploy your site online, such as FileZilla (http://filezilla-project.org/)An SSH client if you wish to maintain your site using the command line (http://www.chiark.greenend.org.uk/~sgtatham/putty/)

Who this book is for

This book is aimed at anyone looking to create their own social networking website, including:

Businesses: Building a social network around a product or service can improve your company profile and increase customer loyalty, while an internal social network gives you employees a place to keep resources, discuss ideas, raise concerns, and keep up-to-date on company policies.Hobbyists: Create a community around your hobbies and interests; create a local or distributed user group.Organizations and charities: Raise your profile, promote your events, services, and fundraisers, and get help from the community in organizing them.Families: For large families based across the country or across the globe, keep up-to-date with everyone, and let everyone know what you are up to.

You don't need any experience of Drupal or PHP to use this book. If you are a Drupal user you will find this book a great way to rapidly tailor an existing installation into a socially orientated website.

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 send an e-mail to <[email protected]>, and mention the book title via 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 e-mail <[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.

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

You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the 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 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 erratasubmissionform link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. 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 <[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.

Questions

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

Chapter 1. Drupal and Social Networking

Welcome to Drupal 7 Social Networking! During the course of this book we are going to learn how to develop a flexible, powerful, and interesting social networking site using the Content Management System, Drupal 7. We will start by looking at the concepts of social networking, Content Management Systems, and Drupal. Once we are more familiar with the concepts we will install Drupal, look at its features, and see how it works. By using a combination of existing features, modules, themes, and some simple custom development, we will enable user interaction, user contributions, and the ability for our users to communicate with each other.

In this chapter you will learn:

What social networking isAbout social networking conceptsWhat a Content Management System isWhat Drupal isWhy Drupal is an excellent platform for Social Networking sitesHow to install and configure Drupal

Throughout the book we will use Drupal, and our increasing knowledge of it to develop a site for a fictional project, DinoSpace!—a Social Networking site for keepers of pet dinosaurs.

Social Networking: An introduction

Social Networks are a relatively new aspect to the Web that are really taking off. Many businesses, organizations, communities, and families are using social networking to promote themselves, communicate better with others, and to engage with their audience.

Social networking relies upon users building up their own network of contacts on the site, which in turn introduces them to new contacts. On many social networking websites, it allows them to be found more easily, and for new contacts to be recommended or introduced, helping to grow the user network.

Let's look at an example of how a user's network of contacts can be built up:

This social network representation shows the connections between contacts. It also illustrates how a user may be able to discover friends of a friend, and friend recommendations (based on friends in common), making it easy for the user to build up their social network, to communicate with new people, or reconnect with lost contacts.

Social networks generally serve two primary functions; firstly they allow users to connect with each other and build a contact network as we have just discussed. However, they also provide a community with collaboration and contribution features, allowing the content and information within the social network to be grown by the users themselves. Later in this chapter we will discuss some of the features available in existing social networks and social networking software, to build up a list of key features we will need to include, as well as things we might like to include.

Business logic to social networks

There is some very compelling business logic to using both existing and custom social networks. Creating your own social network or social network tools gives a dedicated customer area where feedback on products and services can be obtained, for instance, use of support forums to discuss and resolve problems. Areas which allow customers to share tips, resources, and product care tips help promote those products and services.

Examples: Businesses making use of existing social networks and their own social networks

There are some examples of businesses making great use of existing social networks and their own social networking type websites to improve their businesses. Let's have a look at a few specific examples:

Dell: Twitter

Dell, a popular computer manufacturer, was recently able to attribute $2 million of sales to their Twitter account www.twitter.com/DellOutlet. By regularly posting discounts and discount codes to followers, Dell was able to entice more customers to their online shop to make a purchase. More information is available on the Mashable website: http://mashable.com/2009/06/11/delloutlet-two-million/.

NameCheap: Twitter

NameCheap is a domain name registrar, and they use Twitter for two purposes. Firstly, they collect and respond to feedback from customers mentioning their company, and more prominently, they run various competitions giving away free domain names. These viral competitions encourage more users to follow them, and promote the competition, therefore increasing their own brand awareness. The NameCheap Twitter account is http://twitter.com/namecheap.

BT: Twitter

British Telecom uses Twitter to help improve customer service and manage their reputation. You may have seen this used in response to customer complaints to try and assist them with their problems, and escalate matters such as fault testing and engineer call out. This makes them seem more caring (also emphasized by their choice of Twitter username www.twitter.com/BTCare), and increases customer satisfaction by resolving problems more quickly.

Netgear: Custom

While not strictly a social network, Netgear have various social aspects to their website, both through a dedicated community area and the support section of their website. The support section integrates community generated content from their discussion forums, and brings this into product pages, making it easier for customers to find answers to the questions that the staff have not answered directly. Discussion forum software is also quickly becoming social networking software to an extent, in its own right.

Why not join or use an existing social network?

There are already a number of popular and powerful social networks available, which we will discuss in a moment, so why would we want to create our own social network? We will want to create a social network for the following reasons:

Provideaservice: With the site we are going to create throughout this book we will be providing a service through the exchange of knowledge and information relating to owning pet dinosaurs. Having our own social network provides a fantastic platform for sharing and expanding this knowledge.Improvebusiness: A social network can allow businesses to interact informally with customers, gathering feedback and in some cases giving value to the customer. One particular instance of this that I have noticed is that radio stations often advertise their websites as social network type websites, where listeners can get in touch, connect with other listeners, request songs, share photographs, and so on.Improvecommunications: Communicate with users informally, easily, and cheaply—Drupal can be used for Intranets too and can easily handle group communication functions.Theyarefun!: Social networks help break down the barriers of time and distance, and are a good way to meet new people in a relatively safe way. Recent years have also seen an increase in the number of niche social websites focusing on dating and real-world socializing.

Some of the reasons I've just listed still don't answer why we should create our own social network, as opposed to using an existing one. Let's look at some of them in more detail.

Provide a service

There are many ways in which websites and social networks provide additional services which are relevant to the social network or the target audience, though these are often through third-party applications. For example, there are features for both Facebook and LinkedIn which can provide a list of books which a user has read; these link off to book retailers so that more information can be discovered and the books can be purchased. Additionally, some social networks contain knowledge bases of information which can be improved by the user.

With existing social networks, any additional service provided either directly through the social network or through third-party applications and plug-ins would, or could, be restricted in a number of ways. The terms and conditions of the social network would be the main restriction, followed by how the features themselves can be added.

For example, if we wanted to add a map of dinosaur-friendly restaurants to an existing social network, it would rely upon:

Data collection / use provisions with the social networks terms of servicePromotion within that social network, which can be a challengeProvisions for third party applications, which would most likely limit and restrict the functionality and designDesign and user interface guidelines enforced by the social network

Improve business

By tapping into the existing user base of established social networks, we can communicate with a new group of users, increasing awareness, and hopefully improving business. One slight flaw with existing social networks is providing extra enhancements.

Taking Facebook as an example, third-party developers create additional features, and embedded them as applications, and some of these applications add business functionality. One example allowed users to book a table at a restaurant. The limitation with using Facebook is that before information is sent to the application, the user is subjected to several dialogs asking for their confirmation. These dialogues are important to prevent abuse, and to ensure user data is used properly, however it is an obstacle for developers. As more and more applications become available, there is more competition for a user's attention, which recently has led to applications requesting users to invite their friends to use it. These mass invitations have the opposite effect, and discourage users from using the applications in question.

With our own social network, the data and functionality would be hosted by ourselves, giving us the freedom to extend the functionality of the social network to help us improve business as we see fit, leading to a more relevant and user friendly social network!

Improve communications

Social networks remove most barriers to communication, such as geographical location (the only barrier which remains is Internet access), and this is the case for both existing and custom Social Networks. The primary advantage over using our own system is that we are less restricted in how we can communicate with users. With existing social networks you must be connected to the user, and restrictions may be imposed over which communication methods you use within the social network, or which external communication details are shown to you.

Existing social networks

There are many existing social networks available, some of which are already very popular, and have some excellent features. I'd imagine you have heard of all these before, and more likely use them on a regular basis, but let's take a look at the most prominent features of some of these more popular sites.

Facebook

Facebook is very much a global social networking website for everyone over the age of 13, starting out for students at Harvard University, branching out to all universities, and now available for everyone. Features available include:

A customizable profileUsers can update their statusesUsers can connect with other users by adding them as "friends"Statuses of friends can be commented upon and users can indicate that they "like" a particular statusFriends can post messages to each other's profilesPhotos can be posted and sharedEvents can be posted and shared, with attendees sending their RSVPs onlineGroups can be created and joined, promoting specific activities or interestsTopics can be discussedThird-party developers can create their own applications for Facebook, to add more to the platform

LinkedIn

LinkedIn is a business social networking site which encourages business contacts to connect. Features available on LinkedIn include allowing users to:

Customize their profileConnect with colleaguesSee how users are connected to othersRecommend other users with respect to a jobIntegrate Twitter with their account profilesCreate and view business profiles

MySpace

MySpace is a social networking website used primarily by a younger audience, very popular with bands, particularly because of how many profiles can be customized with HTML, and how music can be embedded within profiles. Features available include:

Customizable profiles, complete with:
HTML customization, allowing users to customize the colors, look, and feel of MySpaceMusic integrationThe user's current moodComments
Groups: small subsets of usersMySpace TV: video sharingApplications through an APIForums: for discussionsPolls: to get user opinion

Twitter

Twitter is a microblogging social networking website, which primarily deals with very short messages of 140 characters or less. Despite this, it has a large number of prominent features, including:

Profiles can be customized, both in terms of colors and background imageUsers can update their statusUsers can reply to each other's status updatesUsers can repost another user's status update, using the ReTweet function

The ease of use and small set of core features have made Twitter very popular.