Page 1 of 1

My own logo on the right side?

Posted: Tue Jan 24, 2006 11:07 pm
by erikhrast
Hello...

Is it possiblle to add another logo (phpbb on the left) or small banner on the right side of forum header?

Thanks,
Eric

Posted: Tue Jan 24, 2006 11:19 pm
by Reggie ray
Wht dint you Replace the PHPBB logo with yours ? - thats optinal to keep - as long as you keep the Link at the bottom you can chnage what ever you want (as far as i know)

Posted: Wed Jan 25, 2006 7:44 am
by erikhrast
I already have my own logo on the left. But I want another logo on the right side...

Posted: Wed Jan 25, 2006 11:14 am
by biscuitkeeper
Yes.. you can add anything you wish as long as it isn't illegal of course :wink:

Just edit overall_header.tpl to include the new image (you might have to add tables to lay the images out better)

BK

Posted: Thu Jan 26, 2006 12:55 pm
by erikhrast
I'm not such expert in php.
I need some example code... where could I get it?

Thanks...

Posted: Thu Jan 26, 2006 1:24 pm
by TheJCMan
If you are not very good at coding but have a WYSIWYG editor like Dreamweaver, then you can open the file overall_header.tpl and edit it manually that way on the design page.

If you dont have a page editor like that try the following :

Code: Select all

# 
#-----[ OPEN ]--------------------------------------------- 
#
templates/subSilver/overall_header.tpl

#
#-----[ FIND ]---------------------------------------------
#
<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>
				<td align="center" width="100%" valign="middle"><span class="maintitle">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}<br />&nbsp; </span> 
				<table cellspacing="0" cellpadding="2" border="0">
					<tr> 
						<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_FAQ}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a>&nbsp; &nbsp;<a href="{U_SEARCH}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>&nbsp; &nbsp;<a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>&nbsp; &nbsp;<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>&nbsp; 
						<!-- BEGIN switch_user_logged_out -->
						&nbsp;<a href="{U_REGISTER}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a>&nbsp;
						<!-- END switch_user_logged_out -->
						</span></td>
					</tr>
					<tr>
						<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_PROFILE}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>&nbsp; &nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>&nbsp; &nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>&nbsp;</span></td>
					</tr>
				</table></td>
			</tr>
		</table>

# 
#-----[ REPLACE WITH ]---------------------------------------
#
<table width="100%" cellspacing="0" cellpadding="0" border="0">
			<tr> 
				<td width="8%" align="center" valign="middle"><a href="{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
				<td align="center" width="89%" valign="middle"><span class="maintitle">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}<br />&nbsp; </span> 
				<table cellspacing="0" cellpadding="2" border="0">
					<tr> 
						<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_FAQ}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a>&nbsp; &nbsp;<a href="{U_SEARCH}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>&nbsp; &nbsp;<a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>&nbsp; &nbsp;<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>&nbsp; 
						<!-- BEGIN switch_user_logged_out -->
						&nbsp;<a href="{U_REGISTER}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a>&nbsp;
						<!-- END switch_user_logged_out -->
						</span></td>
					</tr>
					<tr>
						<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_PROFILE}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>&nbsp; &nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>&nbsp; &nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>&nbsp;</span></td>
					</tr>
				</table></td>
			    <td align="center" width="8%" valign="middle"><a href="{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
			</tr>
		</table>

# 
#-----[ IN-LINE FIND ]---------------------------------------------
#
<td align="center" width="8%" valign="middle"><a href="{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td>

# 
#-----[ IN-LINE FIND ]---------------------------------------------
#
<a href="{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a>
Edit that line to show your oen logo, or alternativly edit the whole line/section to your liking.

Posted: Thu Jan 26, 2006 2:08 pm
by Andrew Kucienski
If you are going to use Dreamweaver read this first: How to customize Macromedia Dreamweaver MX

This might also be a good tutorial for you: How to edit your forum's header and footer. Includes information on how to specify your own, custom logo.

Posted: Thu Jan 26, 2006 5:14 pm
by erikhrast
TheJCMan ... your code is working, but the white background disappers... why?

Posted: Thu Jan 26, 2006 5:22 pm
by TheJCMan
erikhrast wrote: TheJCMan ... your code is working, but the white background disappers... why?


What white background ?

No colours should have been altered in that code as all I did was add an extra column.

Have you got an example such as a link to your forum ?

Posted: Thu Jan 26, 2006 5:38 pm
by erikhrast
I solve the problem... thank you all!

Posted: Thu Jan 26, 2006 5:46 pm
by TheJCMan
erikhrast wrote: I solve the problem... thank you all!


What was the problem out of curiosity ?