Create a New Theme

Creating a style for Fully Modded phpBB 2 based on the default is very easy. Follow the steps below and you'll have a new theme on your board within minutes. This tutorial will help you create your own styles so that they are compatible with Fully Modded phpBB 2. Each section is split in to sub sections. To make a new style you will need a few tools to make the job easier, we recommend the following:

i. Renaming & Editing Files

First, make a copy of the subSilver/ directory located in the templates/ directory. Make sure the subSilver directory that you copy is in its' original state and has not been modified or altered at all. If you are not sure of this, then I suggest downloading it again to be safe.

Copy the subSilver/ directory into the templates/ directory creating a duplicate (it should be called 'Copy of subSilver'). Rename the copied directory to whatever your new template name is going to be, for this example our theme will be named FullyModded.

Next, we need to rename the two (2) main style files, the stylesheet and the image configuration file.

  • subSilver.cfg rename to FullyModded.cfg
  • subSilver.css rename to FullyModded.css

Next, we need to edit four (4) files in the new FullyModded/ directory and find all references of 'subSilver', changing them all to our new template name, 'FullyModded'. If you have a find and replace tool this is a good time to use it; you must replace 'subSilver' with your new template name, e.g. FullyModded.

  • prillian/prefs_tabs.tpl
  • FullyModded.css
  • radio.php
  • theme_info.cfg

Note: Replace the word 'FullyModded' with your actual template name. Directory name and all filenames are case sensitive, so 'FullyModded', 'Fullymodded', 'fullyModded', and 'fullymodded' are not the same and when following the renaming instructions above you should make sure you have correct filename case everywhere.

ii. Image Creation

Creating any extra images for your new style can be an easy process providing you have the right software. To create images you can either:

  • Download the subSilver SDK from phpBB and change the colours of the images.
  • Use a software package such as Adobe Photoshop and make you own images based on what you want your style to look like.

iii. Changing the Layout

Changing the layout of your style can be very complex or very easy depending on how much you know about HTML and css.

You could seperate the categories which are shown here or you could make your own header. The best way to this is in Dreamweaver by using these steps:

  • Open a blank HTML document and erase everything in the code section.
  • Open 'templates/FullyModded/overall_header.tpl' and copy what's in it and paste it in the code section on the blank HTML document.
  • Open 'templates/FullyModded/index_body.tpl' and copy what's in it and paste it below the overall_header code in the code section on the blank HTML document.
  • Open 'templates/FullyModded/overall_footer.tpl' and copy what's in it and paste it below the index_body code in the code section on the blank HTML document.
  • Go back to the HTML document and right-click on the design view, then goto CSS Styles, then Attach Style Sheet, then find your-new-template-name.css and attach it to your document, then find formIE.css and attach that to your document. Now you should be able to see how your style looks like now it has the css on it.

iv. Viewing Finished Products

Login as an Administrator, go to Admin -> Styles & Templates -> Add New. If you see your new style in the list of available styles to install then you did everything correctly. You can install the style and edit it. If you don't see your new style in that list then you did something incorrectly (probably forgot to edit theme_info.cfg or forgot to rename subSilver.cfg)

Or, you could install both an Apache server and Fully Modded phpBB locally on your machine and have a live view of you style or you could view it the Dreamweaver way which is stated above.

Disclaimer

This theme tutorial is complied from tutorials from LimitDesigns, and CyberAlien, and has been modified and adapted to Fully Modded phpBB (FM2017.4.05+).