万本电子书0元读

万本电子书0元读

顶部广告

Drupal 7 Social Networking电子书

售       价:¥

0人正在读 | 0人评论 9.8

作       者:Michael Peacock

出  版  社:Packt Publishing

出版时间:2011-09-21

字       数:265.7万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
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. 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.
目录展开

Drupal 7 Social Networking

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

累计评论(0条) 1个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部