Book Image

phpBB: A User Guide

Book Image

phpBB: A User Guide

Overview of this book

phpBB is a free, open source Internet community application, with outstanding discussion forums and membership management. Written in the PHP scripting language, and making use of the popular MySQL database, phpBB is a standard among web hosting companies throughout the world, and is one of the most widely-used bulletin board packages in the world. This book is an abridged version of "Building Online Forums with phpBB 2", (ISBN 1904811132), focusing on a complete set of topics to help you set up and run your own phpBB-powered online community. This book gives you the power to use phpBB to set up and run your own online discussion forums with ease. It takes you through the whole process of setting up your phpBB site, and helps you create, customize, and manage your own online community with phpBB. Written by experienced phpBB administrators and enthusiasts, the emphasis is on simple and practical guidance for you to get the most from phpBB. Packed with step-by-step examples, this book is your ideal guide to learning phpBB.
Table of Contents (11 chapters)

Customizing through the Stylesheet


The quickest way to overhaul the look of a forum is to change its colors, fonts, and other visual (but non-graphical) decorations. When we looked at the basic elements of a style earlier, we learned that a theme defines and controls these concepts through the formatting rules of a Cascading Style Sheet (CSS). CSS formatting rules add stylistic data, such as specifications for fonts, colors, sizes, borders, and spacing to a document structured with a markup language like HTML. Since phpBB creates documents of this kind to display a forum, the preferred method for changing these parts of the outward appearance of the forum is CSS.

CSS rules can be stored in three different places: in an external CSS file such as subBook.css, in overall_header.tpl, or in a combination of the overall_header.tpl method with some database storage. subSilver uses the combination method, and therefore subBook will also do the same.

Editing the Stylesheet in the Admin Panel

We can...