Recommended Stuff
Recent
Recent blog posts
- Five perhaps not-so-known PHP tricks for leaner and cleaner code
- PHPEclipse and PDT
- Kilowatts & Vanek are back, better than ever
- The future of my phpBB templates
- Checking in
- Web Design or the Art and Science of Solving Problems (Part 1)
- Lost in thought
- An easy way to display a customized menu in your Drupal theme
- Back on the blog with a CSS rant
- Eternal* fame on the red planet for free
Search this site with Google
Changing moderator and administrator user link colors for the Who's Online list
A question often asked is about how to change the link colors for moderator and administrator user listed in the Whos Online box and on the Whos Online page. Its relatively easy, you will need to edit the colors for font color 2 and font color 3 in Administration Panel -> Styles Admin -> Management.
Part 4 - Template editing continued
This fourth part of the guide covers a number of techniques and methods Ive used as well as provide answers to some common questions. It is recommend you at least look through this section to see if there's anything you might find useful.
Variables, blocks and switches
Variables
Perhaps you recall that word I mentioned earlier: variable, it may seem like a complex concept but it really isn't. There are variables in basic algebra which we all learn in school. When programming, an expression such as x = 4 will assign the value 4 to the variable x. Variables in phpBB templates work exactly the same way, they represent a value: for example an integer (whole number) or a string (fragment of text).
Do it with style
As I explained in Part 1, a template consists of template files and at least one theme. A theme is basically formalized CSS. A template can have several themes associated with it, all of which may have different fonts, colors and table background images.
The parts that make up the whole
As you see a template consists of several files, each file is used for a certain part of the template. Some files are used for multiple pages. The developers of phpBB have been quite ingenious in using the same files for several different functions to keep the number of files to a minimum.
Part 3 - Editing your new template
Step 3: Installing your new template
If you replaced the files in the download location, as instructed, copy the myTemplate/ folder from the templates/ folder there to either the template design boards templates/ folder on the server or to the phpBB templates/ folder located in your local web servers web root folder, depending on your setup.