万本电子书0元读

万本电子书0元读

顶部广告

Building Websites with PHP-Nuke电子书

售       价:¥

11人正在读 | 0人评论 9.8

作       者:Douglas Paterson

出  版  社:Packt Publishing

出版时间:2005-11-25

字       数:742.8万

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

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

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Written in a clear, easy to read style, the book provides a tutorial on setting up a website with PHP-Nuke. Each topic is tackled in a clear, practical way with many examples to consolidate your learning. This book is written to help you create a fully-featured website as quickly as possible. Basic knowledge of HTML will help if you intend to explore customizing your own theme, and a basic knowledge of PHP will help if you want to get the most from the chapters on extending PHP-Nuke.
目录展开

Building Websites with PHP-Nuke

Table of Contents

Building Websites with PHP-Nuke

Credits

About the Author

Preface

What This Book Covers

What You Need To Use This Book

Conventions

Reader Feedback

Customer Support

Errata

Questions

1. An Introduction to PHP-Nuke

What PHP-Nuke Can Do for You

The Visitor Experience

The Management Experience

What Exactly is PHP-Nuke?

Modular Structure

Themed Interface

Multi-Lingual Interface

PHP-Nuke as an Open-Source Content Management System

Open Source

Content Management System

Getting Help in the PHP-Nuke Community

The Dinosaur Portal

Summary

2. Installing PHP-Nuke

Downloading PHP-Nuke

Extracting PHP-Nuke

Downloading the Patches

Applying the Patches

Preparing the PHP-Nuke Database

Creating the Database

Creating a Database User

Populating the Database

Configuring PHP-Nuke

Putting PHP-Nuke Files into the Web Server Root

Testing the Installation

Database Connection Problem

No Data in the Database

Still Having Problems?

Summary

3. Your First Page

Your New Homepage

Blocks

Modules

A Fistful of Default Modules

Creating the Super User

Becoming the Administrator

A New Welcome

Editing Text in PHP-Nuke

HTML Rules

Forbidden Tags

Adding Links

Adding Images

HTML Editor in PHP-Nuke 7.7

Time For Action—Changing the Welcome Message

Restricting User Access

Summary

4. Managing the Site

Your Site, Your Database

Visiting the Administration Area

Site Preferences

Turning off the Graphical Icons

The Cookie Crumbles

Backing Up the Site Database

Managing Blocks

Types of Blocks

Block Positioning

Block Visibility

The Blocks Administration Area

Time For Action—Changing Block Position

Adding Blocks

Options for All Blocks

Time For Action—Adding a Static Block

Adding Other People's News with RSS/RDF Blocks

Time For Action—Creating a New Headline Site

Time For Action—Adding the RSS/RDF Block

Adding a File Block

Time For Action—Adding the Total Hits Block

What Just Happened?

Managing Modules

Time For Action—Activating Modules

Editing Module Properties

Invisible Modules

Time For Action—Editing the Top 10

Adding New Modules

Time For Action—Installing a Simple Module

What Just Happened?

Summary

5. Managing Users

Ingredients of a User

Setting Up a New User

Time For Action—Setting Up a New User Manually

What Just Happened?

Subscribing a User

Time For Action—Registering as a User

What Just Happened?

Graphical Code for User Registration

Seeing Who's Who

The Your Account Module

Editing the User Profile

Your Account Configuration

Talking to the World with Public Messages

It's My Block and I'll Cry if I Want to...

Private Messages

User Journal

Your Journal Entries

Adding a Journal Entry

Viewing your Journal Entries

Peeking into the Journals of Others

Rewarding the User

Points on Offer

Time For Action—Awarding Points for Viewing Pages

What Just Happened?

Restricting Module Access to User Groups

Time For Action—Restricting the Statistics Module to Frequent Page Viewers

What Just Happened?

Managing Other Administrators

Authors versus the Super User

Creating an Author

Summary

6. Story Management with PHP‑Nuke

The Story Story

The Story Publication Process

Finding and Interacting with Stories

Organizing Stories

Topics

Categories

Planning the Dinosaur Portal Topics and Categories

Topic Management

Time For Action—Creating New Topics

What Just Happened?

Time For Action—Editing Topics

What Just Happened?

Deleting a Topic

Adding Stories

Time For Action—Adding a New Story

What Just Happened?

Category Management

The Visitor View of a Story

Related Links, Scoring, and Friends

Everyone Has an Opinion... Comments

Time For Action—Posting a Comment

What Just Happened?

Time For Action—Replying to a Comment

What Just Happened?

Seeing Your Comments

Controlling Comment Posting

Allowing Comments

Disallowing Comments

Restricting Comment Posting to Registered Visitors

Administrator Removal of Comments

Filth Filter

Karma and Comment Moderation

Comments in Moderation

Time For Action—Enabling Comment Moderation

What Just Happened?

Time For Action—Moderating Comments

What Just Happened?

Multiple Comment Moderation

Customizing the User View of Comments

Time For Action—Filtering out Comments

What Just Happened?

Story Management

Editing Stories

Deleting Stories

User-Submitted Stories

Setting Up the Mail Notification

Visitor Story Submission

Approving Stories

Finding Stories

From the Homepage

From the Topics module

From the Search module

From the Story Archive

From the Categories Menu Block

Special Administrator

Points and Prizes

Sharing your News

Polls and the Surveys Module

Attaching a Poll to a Story

The Surveys Module

Survey Management

Summary

7. Content Management Modules

Content

Time For Action—Creating a Content Category

What Just Happened?

Time For Action—Adding a Content Page

What Just Happened?

The Content Block

Managing Categories

Special Administrator

Restricting Access

Points and Prizes

FAQ

Time For Action—Adding a FAQ Category

What Just Happened?

Time For Action—Adding a FAQ

What Just Happened?

Managing FAQs

Editing a FAQ

The FAQ Block

Special Administrator

Restricting Access

Points and Prizes

Encyclopedia

Time For Action—Adding a new Encyclopedia

What Just Happened?

Time For Action—Adding a new Entry

What Just Happened?

Managing the Encyclopedia

Viewing the Encyclopedia

The Encyclopedia Block

Special Administrator

Restricting Access

Points and Prizes

Web Links and Downloads

Time For Action—Creating a Web Link Category Structure

What Just Happened?

Time For Action—Adding a Web Link

What Just Happened?

Interacting with Web Links

Checking the Web Link

Modifying Web Link Details

Reporting Broken Links

Submitting Web Links

Managing Web Links

Modifying Web Links

Managing User-Submitted Web Links

Managing User-Submitted Modification Requests

Managing User-Submitted Broken Link Notifications

Validating Links

Changing Category Structure

Time For Action—Moving Categories

What Just Happened?

Web Links Block

Special Administrator

Restricting Access

Points and Prizes

Reviews

Submitting Reviews

Interacting with Reviews

Managing Reviews

Customizing the Reviews Welcome Page

The Reviews Block

Special Administrator

Restricting Access

Points and Prizes

Module Feature Comparison

Summary

8. Managing the Discussion Forums

Forum Structure

The Forums Administration Area

Forum Configuration

Creating a Category

Creating a Forum

The Visitor Experience

Posting a Topic

Forum Permissions

Creating Groups

Setting Forum Permissions

Setting Group Permissions

Joining Groups

Approving the Membership Application

Moderating the Forum

Setting a Forum Moderator

Summary

9. Customizing Layout with Themes

What Does a Theme Control?

Appearance

Page Layout

Theme Management

Theme File Structure

Installing a New Theme

Removing an Existing Theme

From an Existing Theme to a New Theme

Starting Off

Replacing Traces of the Old Theme

Templates and PHP Files

PHP Files

Templates

Changing the Page Header

Time For Action—Changing the Site Logo Graphic

What Just Happened?

Time For Action—Changing the Site Header Layout

What Just Happened?

Time For Action—Fixing and Adding the Topics List

What just Happened?

Time For Action—Adding a Welcome Message to the User

What Just Happened?

Time For Action—Adding the User Avatar

What Just Happened?

Time For Action—Adding a Horizontal Navigation Bar

What Just Happened?

Time For Action—Changing Some Background Colors

What Just Happened?

Working with the Stylesheet

Time For Action—Background Image with Style

What Just Happened?

Time For Action—Changing the Links

What Just Happened?

Time For Action—Changing the OpenTable() Function

What Just Happened?

Time For Action—Styling the Navigation Bar

What Just Happened?

Changing Blocks

Time For Action—Show Right-Hand Blocks on All Pages

What Just Happened?

Time For Action—Hide Right-Hand Blocks For Certain Modules

What Just Happened?

Time For Action—Making the Block Titles Uppercase

What Just Happened?

Time For Action—Creating a New Block

What Just Happened?

Time For Action—Making Right-Hand Blocks Different from Left-Hand Blocks

What Just Happened?

Changing Story Layout

Creating a Rounded Box

Creating the Corner Images

Creating the HTML

Creating the CSS

Time For Action—Change the Format of Stories on the Front Page

What Just Happened?

Variables Available in Story Formatting

Changing the Layout of the Story Extended View

Changing the Footer

Adding a Favicon

Including Custom Files

Page Output from Start to Finish

Summary

10. Programming PHP-Nuke

What Happens When a Page is Requested?

Where Does PHP-Nuke Get Information From?

Requesting a Page

Creating a Block

Time For Action—Creating the Database Table

What Just Happened?

Time For Action—Creating the Text File

What Just Happened?

Time For Action—Creating the Block Code

What Just Happened?

Data Access in PHP-Nuke

Module File and Folder Structure

Creating a User Submissions Module

Module Development Steps

Creating the Module Folder

Creating the Database Tables

The Visitor Code—the index.php File

Overall Structure of the Module index.php File

Tracking Down the Code for a Module Operation

Inviting the User to Submit an Item

Getting User Information

Preparing the ShowTypes() Function for Languages

Displaying the Form for User Input

Preparing to Add the Encyclopedia Entry

Storing the Submission

The User Submission Administration Area

Creating the Modules Administration Menu Entry

Selecting the Correct Administration Area

Creating the Administration Code

Displaying the List of Submitted Items

Editing and Approving the Submitted Item

Displaying the Submitted Item

Accepting the Submitted Item

Removing a Submitted Item

Deleting a Submitted Item

Extending the Module

Extending at the Front End

Extending at the Administration End

Summary

A. Installing XAMPP

Index

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

发表评论

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

买过这本书的人还买过

读了这本书的人还在读

回顶部