Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
Drupal 7 Social Networking
Drupal 7 Social Networking

Drupal 7 Social Networking: Build a social or community website with friends lists, groups, custom user profiles, and much more

eBook
€8.99 €28.99
Paperback
€37.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Drupal 7 Social Networking

Chapter 2. Preparing Drupal for a Social Networking Site

Now that we have looked into social networking, how we can use Drupal as a social networking platform, and we have installed Drupal, we need to start preparing our Drupal installation for use as a social networking site!

In this chapter you will learn:

  • How Drupal works

  • How to use Drupal

  • How to use the administration tools within Drupal

  • About taxonomy and RSS within Drupal

  • More about planning your site and its content

How Drupal works


Before we start building our social networking site, it is important to take a step back and look at Drupal in a little more detail, to see how it works and the thought process behind it. Having a better understanding of this will help when planning, expanding, and managing our site!

An abstract framework

Although in the previous chapter Drupal was described as a content management system, it can more accurately be described as a content management framework. Whilst being a content management system—in that it is a system which is used for managing content within a website—Drupal places more emphasis upon the ability to easily customize and configure it.

Drupal is an abstract framework, because instead of focusing on specific types of site, and solutions to those, it focuses on more generic problems and approaches to them, which makes Drupal useful for more situations. With a little customization Drupal can be tailored more to a specific type of site.

Nodes

Nodes are what make...

Administering Drupal—An overview


Now that we have a basic understanding of how Drupal works, let's look through the administration area in more detail, making appropriate changes to settings where necessary to improve the suitability of our Drupal installation for a social networking site.

Note

It is important to note that the focus of this book is about using Drupal as a platform to create a social networking site. As a result, we won't be able to discuss each of the various features of Drupal in as much detail as deserved. We will of course cover everything that we need to, in sufficient detail, to use the features successfully for our social networking site.

Logging in

Before we can access Drupal's administrative tools, we need to log in as an administrator. The login box is on the left-hand side of our Drupal installation (http://localhost/drupal7/). Let's log in with the user account we created during the installation process:

Once logged in, we have access to the administrative toolbar...

Content types and taxonomy: A detailed look


In the previous versions of Drupal, there was a very popular suite of modules called CCK (Content Construction Kit), the main purpose of which was to make it easier for administrators to create new customized content types, with more options and fields available to them. Much of the Content Construction Kit code has now been brought into the core Drupal 7 installation, negating the need to install the module. As a result of this, the core taxonomy module has been updated to make use of this feature, to make it easier to define how content can be categorized.

Tip

What is taxonomy?

Taxonomy is a powerful module which makes it easy for us to group and categorize our content. This could be by entering a keyword, a series of keywords, or selecting a category from a drop-down list. Categorized content can then be aggregated and displayed together through useful lists of content.

Let's have a look at customizing content types and how taxonomy links into...

Planning our site


We now have a basic understanding of how Drupal works, and what the various aspects of its administration section do. So let's now start planning our site!

When working on new, interesting, and exciting projects, such as a new website like this one, it is often tempting to jump right in at the deep end and start building the site. But that would be a bad idea. If we planned our website and its content carefully, then we should be able to offer our visitors a much better social network than we would if we just went straight into creating the site.

Let us first focus on the content we create for our site, as opposed to the content our users will create for us. This way we can prepare the site and its preliminary content and structure, and then begin to think about how our users are going to interact and contribute. This also allows us to try and contain the non-community aspect of the site. We set up this content now, so that we can focus on our users and build a true social...

Starting to build our site


Now that we have a basic plan of our site's static content, we can start to build the static elements of our site.

Using taxonomy

Let's start with taxonomy. Since this is a way of categorizing content, it makes sense to set this up before we start creating content.

Creating the vocabulary

We need to go to Structure | Taxonomy | Add vocabulary to define a group of terms to categorize our content with. Enter a name of Dinosaur Breed and a description of specific breed of dinosaur, before clicking the Save button. We will use this to categorize content which relates to specific breeds of dinosaur:

With the vocabulary created, we now need to add terms to it, using the add terms link:

Here we can add the various breeds of dinosaur to the vocabulary using the create term form:

Now that we have a new vocabulary with terms associated with it, we need to link it to the appropriate content types. We need to go to Structure | Content types | Basic page | Manage fields.

From here...

Summary


In this chapter, we looked at Drupal in more detail, particularly at how to use its administration options, which should help us in building our site. This should prove to be a useful reference point in future. We also planned some of the static content for our site, and started to create this content for it.

Our Drupal site is now ready to become a social networking site! We can now move forward with more interactive and dynamic features.

Left arrow icon Right arrow icon

Key benefits

  • 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

Description

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.

Who is this book 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.

What you will learn

  • 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

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Sep 21, 2011
Length: 328 pages
Edition : 1st
Language : English
ISBN-13 : 9781849516013
Languages :
Concepts :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Sep 21, 2011
Length: 328 pages
Edition : 1st
Language : English
ISBN-13 : 9781849516013
Languages :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 37.99
Drupal 7 Social Networking
€37.99
Total 37.99 Stars icon
Banner background image

Table of Contents

12 Chapters
Drupal and Social Networking Chevron down icon Chevron up icon
Preparing Drupal for a Social Networking Site Chevron down icon Chevron up icon
User Content: Contributions, Forums, and Blogs Chevron down icon Chevron up icon
Users and Profiles Chevron down icon Chevron up icon
Enabling User Interaction Chevron down icon Chevron up icon
Social Seasoning Chevron down icon Chevron up icon
Module Development: Rapidly Improve your Social Network Chevron down icon Chevron up icon
How We Can Design Our Site Chevron down icon Chevron up icon
Communicating with Our Users Chevron down icon Chevron up icon
Deploying and Maintaining Your Social Network Chevron down icon Chevron up icon
Easing Growing Pains Chevron down icon Chevron up icon
Promotion, SEO, User Retention, and Monetization Strategies Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.7
(3 Ratings)
5 star 33.3%
4 star 0%
3 star 66.7%
2 star 0%
1 star 0%
Michael B. Apr 09, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The definitive guide to building a Drupal social network.
Amazon Verified review Amazon
marlo_42 Jun 16, 2012
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
I am an experienced Drupal site builder. What I want is a book that is densely packed with specific technical and practical information about implementing Facebook and Twitter and SEO. This is NOT that book. This book is a newbie Drupal book that uses some social features as examples.Full Disclosure: I have not read this book. I encourage anyone who has read it to write a review, and then we can label this review as "not helpful."
Amazon Verified review Amazon
Saf Dec 18, 2011
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
This is book concentrated on a UI kind of development with some good examples with codes but it doesn't explain enough from a programming side nor it did touch enough in modules. It is good buy if you want to add a few more tips to your collection.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.