phpBBHacks.com - Create a Template in phpBB 2 from subSilver
House M.D. fans unite at DrGregHouse.com
StatsForums Home   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in
FAQFAQ   SearchSearch   MemberlistMemberlist   TutorialsTutorials   ContactContact Us
Add Us:     MySpace     Facebook     StumbleUpon
Username:    Password:
Remember Me?    
Create a Template in phpBB 2 from subSilver
BlinkList
del.icio.us
Furl
linkaGoGo
reddit
Simpy
Mister Wong
Yahoo! My Web

Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2: Hack and Template Authoring
 See a User Guidelines violation? Please contact us.
Author Message

Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 12597
Location: Harbinger, NC, U.S.A.

PostPosted: February 13th 2003, 9:53 pm    Post subject: Create a Template in phpBB 2 from subSilver Reply with quote

Adapted by from a post by Sarah Coleman.

For the purpose of this post, let's assume that your existing template is subSilver and that you want to create a template called yourname.

(Replace yourname with the name of your template - one word).

Start by making a copy of the directory called subSilver, which is located inside the "templates" directory of phpBB 2. Call the new directory "yourname".

Inside "yourtemplate," there will be two files that you need to rename:

subSilver.cfg - rename to yourname.cfg
subSilver.css - rename to yourname.css

DO NOT rename theme_info.cfg.

After that, you need to replace all instances of the words subSilver with the word yourname, inside the "yourname" directory. Use your HTML editor or other software to do a "search and replace" because there are at least a couple of hundred!

Now you have to change the images. Open each one in your graphics editor and make whatever changes you want to - don't forget to make sure you're editing the images inside the yourname directory - NOT the subSilver directory!

When you're done with the images, upload the entire "yourname" directory to the templates directory on your server and chmod yourname/theme_info.cfg to 666.

Go into your Administration Panel on phpBB 2 and click on "Create" under Styles Admin. Select yourname from the drop-down list and complete the form using the values that you want - don't worry - you can tweak and make changes later on if it doesn't look the way you want it to at first.

When you've done that, click "Save Settings" at the bottom. phpBB 2 will tell you that you now need to export the theme.

To do that, click 'Export' under Styles Admin and select yourname from the drop-down menu. phpBB 2 should be able to install the theme automatically and report back to you that the export was successful.

Now you should be able to go into the "Configuration" panel under General Admin and select yourname from the drop-down list of available templates.

It's important to remember before you start that this isn't a quick job. It's going to take a fair bit of time and patience and trial and error to get your board looking just right - but it's worth it!

If after you've seen your new theme you decide that you need to make adjustments, you'll have to chmod theme_info.cfg back to 666 again before you edit it in the Administration Panel. Also, the Admin Panel won't change everything you want to change, you will most likely have to make some changes to yourname.css.

When you've got everything the way you want it, you should ALWAYS chmod theme_info.cfg back to 644 to prevent accidents or malicious attacks on your template.

Good luck!
_________________
Patrick O'Keefe - phpBBHacks.com Administrator
Author, Managing Online Forums (New Book)

Have a suggestion or a bit of feedback relating to phpBBHacks.com? Please contact me!
User Guidelines - phpBBHacks.com Awards - Featured phpBB - About Us - Supported Sites - Utilities

Nominate in the phpBBHacks.com Awards 2008!
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2: Hack and Template Authoring All times are GMT - 6 Hours
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Links: Big Message Boards - Free JavaScript - phpBB2 - phpbb styles - Suporte phpBB - phpBB.it - phpBB Česky - phpBB Turkiye - phpBBArabia.com - phpBB-fr.com - Romanian phpBB online community - phpBB-TW.net - phpBBservice.nl - phpBB Brasil

Network: iFroggy Network Blog - iFroggy Hosting - SportsForums.net - KarateForums.com - YanksBlog.com - PhotoshopForums.com - DeveloperCube - Managing Online Forums - ManagingCommunities.com - CommunityAdmins.com - DrGregHouse.com - Bad Boy Blog - BadBoyForums.com - SodaRatings.com - Patrick O'Keefe

< Advertising - Contact Us - Staff - User Guidelines >

Copyright © 2001-2008. iFroggy Network, phpBBHacks.com. All Rights Reserved. Privacy Policy. We Support phpBBHacks.com (of course!).
Powered by phpBB © phpBB Group. phpBB SEO. Hosted by 100MegsWebHosting. We are in no way affiliated with the phpBB Group. phpBB is copyright to the phpBB Group.