Drupal 7 Social Networking


Drupal 7 Social Networking
eBook: $26.99
Formats: PDF, PacktLib, ePub and Mobi formats
$22.94
save 15%!
Print + free eBook + free PacktLib access to the book: $71.98    Print cover: $44.99
$44.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • Step-by-step instructions for putting together a social networking site with Drupal 7
  • Customize your Drupal installation with modules and themes to match the needs of almost any social networking site
  • Allow users to collaborate and interact with each other on your site
  • Requires no prior knowledge of Drupal or PHP; but even experienced Drupal users will find this book useful to modify an existing installation into a social website

Book Details

Language : English
Paperback : 328 pages [ 235mm x 191mm ]
Release Date : September 2011
ISBN : 1849516006
ISBN 13 : 9781849516006
Author(s) : Michael Peacock
Topics and Technologies : All Books, CMS and eCommerce, Content Management (CMS), Drupal, Open Source

Table of Contents

Preface
Chapter 1: Drupal and Social Networking
Chapter 2: Preparing Drupal for a Social Networking Site
Chapter 3: User Content: Contributions, Forums, and Blogs
Chapter 4: Users and Profiles
Chapter 5: Enabling User Interaction
Chapter 6: Social Seasoning
Chapter 7: Module Development: Rapidly Improve your Social Network
Chapter 8: How We Can Design Our Site
Chapter 9: Communicating with Our Users
Chapter 10: Deploying and Maintaining Your Social Network
Chapter 11: Easing Growing Pains
Chapter 12: Promotion, SEO, User Retention, and Monetization Strategies
Appendix A: Setting up a Local Development Environment
Appendix B: Installed Modules
Index
  • Chapter 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
    • 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
    • Summary
    • Chapter 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
          • 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
          • Test content in action!
      • Planning our site
        • Static content
        • Grouping content
      • Starting to build our site
        • Using taxonomy
          • Creating the vocabulary
      • Summary
      • Chapter 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
        • Chapter 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
              • 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
          • Chapter 5: Enabling User Interaction
            • DinoSpace!: A review
            • Preparation: Installing the modules
            • Relationships
              • Planning user relationships
              • Managing and creating relationships
                • Creating a relationship type
                • 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
                • 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
            • Chapter 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
              • Chapter 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
                • Chapter 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
                      • 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
                  • Chapter 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
                        • 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
                    • Chapter 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
                          • SPAM prevention
                          • 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
                          • Using the command line
                          • Do they work?
                      • Summary
                      • Chapter 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
                        • Chapter 12: Promotion, SEO, User Retention, and Monetization Strategies
                          • Promotion and marketing
                            • Online advertising
                              • Pay-Per-Click
                              • Advertising space
                              • 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
                          • Appendix 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
                            • Appendix 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

                              Michael Peacock

                              Michael Peacock (www.michaelpeacock.co.uk) is an experienced Senior/Lead Developer and a Zend Certified Engineer from Newcastle, UK, with a degree in Software Engineering from the University of Durham. After spending a number of years running his own web agency, managing the development team, and working for Smith Electric Vehicles on developing their web-based Vehicle Telematics platform, he currently serves as a CTO for Ground Six (www.groundsix.com), an ambitious tech company, where he leads the development team and manages the software development processes. 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. Other publications Michael has been involved in include Mobile Web Development, Drupal for Education and E-Learning, and Jenkins Continuous Integration Cookbook, for which he acted as a Technical Reviewer. Michael has also presented at a number of user groups and conferences including PHP UK Conference, Dutch PHP Conference, ConFoo, PHPNE, PHPNW, and Cloud Connect. You can follow Michael on Twitter, @michaelpeacock, or find out more about him through his blog, www.michaelpeacock.co.uk.
                              Sorry, we don't have any reviews for this title yet.

                              Code Downloads

                              Download the code and support files for this book.


                              Submit Errata

                              Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                              Sample chapters

                              You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                              Frequently bought together

                              Drupal 7 Social Networking +    Java EE 7 with GlassFish 4 Application Server =
                              50% Off
                              the second eBook
                              Price for both: $41.55

                              Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                              What you will learn from this book

                              • Build a social networking site from the ground up using Drupal 7
                              • Use a combination of features, modules, and simple customization to allow user interaction, contributions, and communication
                              • Import content from the Internet to your site using the Aggregator module
                              • Create user profiles, set up roles and permissions, and handle security settings
                              • Use Drupal's modular system to create modules to add functionality
                              • Customize the look and feel of your site by enabling and installing new themes, ensuring that your site is distinctive
                              • Deploy and maintain your social networking site on the Internet using the maintenance mode, reports, and cron to keep everything running smoothly
                              • Recover from virus attacks and hacking attempts on your social network by making and maintaining regular backups, in case the worst should happen
                              • Promote and market your social network using advertisements, advertising networks, other social networks, and search engine optimization
                              • Let your users contribute to the site, from those who wish to add a little content to those who wish to help run the site on a daily basis

                              In Detail

                              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.

                              A complete walkthrough for creating, developing, growing, and maintaining a Social Networking website using Drupal 7

                              Approach

                              This book is packed with clear instructions and careful explanations for creating a powerful social networking site using Drupal 7. With each chapter, you add new features and content until your social network is ready to be released to the Internet where it can grow.

                              By the end of this book, you will have a powerful social network which you can either choose to model on the case-study, or create to your own unique design.

                              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.

                               

                              Code Download and Errata
                              Packt Anytime, Anywhere
                              Register Books
                              Print Upgrades
                              eBook Downloads
                              Video Support
                              Contact Us
                              Awards Voting Nominations Previous Winners
                              Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                              Resources
                              Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software