Managing Online Forums, a manual for the community admin

Bookmark and Share

Replacing the Default phpBB Logo

Replacing the Default phpBB Logo

Postby JohnMcK » November 18th 2003, 5:19 pm

subSilver and many other templates include the phpBB logo by default. This is usually the first thing that board owners want to change (myself included).

There are two ways to do this without changing the template. Both of these explanations assume that you are using subSilver, the methods would be similar for other templates.

Method 1:

First, open \templates\subSilver\overall_header.tpl and find this code:

Code: Select all
<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center"> 
   <tr> 
      <td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0"> 
         <tr> 
            <td><a href="{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td> 


The logo is specified here:

Code: Select all
<img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /> 


You can upload your new logo to \templates\subSilver\images,and edit the above line to specifiy the name of your logo file. So it would look something like:

Code: Select all
<img src="templates/subSilver/images/my_logo.gif" border="0" alt="{L_INDEX}" vspace="1" /> 


You can specify other supported image formats if your logo is not a .gif.

Method 2:

1. Name your logo "logo_phpBB.gif".
2. Upload it to \templates\subSilver\images\ replacing the existing logo.

Note: This method will only work with .gif files. You CANNOT rename a .jpg as a .gif and use it.

John McKernan (JohnMcK)
Retired phpBBHacks.com Support Team Member
User avatar
JohnMcK
Dedicated User
 
Posts: 3868
Joined: April 7th 2003, 4:34 pm
Location: Quakertown, PA

Return to phpBB 2: Customizing Your phpBB

Who is online

Users browsing this forum: No registered users and 0 guests