PunBB Resource

Your ultimate PunBB resource!

Keywords:

    (Extended)

You are not logged in.

#1 2007-03-07 01:28:34

Koos
Administrator
Registered: 2007-01-14
Posts: 524
Website

Favicon

I want to use a favicon for my forum - but I am not sure how to do this. Should I perhaps edit the header.php file to contain the link to the favicon? Or is there an easier way?

Offline

 

#2 2007-03-07 11:54:28

gizzmo
Member
From: Earth, Milkyway Galaxy
Registered: 2004-08-05
Posts: 252

Re: Favicon

edit the tpl files


Gizzmo

Offline

 

#3 2007-03-07 12:23:49

Koos
Administrator
Registered: 2007-01-14
Posts: 524
Website

Re: Favicon

Thanks. I edited the main.tpl file and it worked.

Offline

 

#4 2008-11-15 00:53:49

videofiles-org
Member
Registered: 2006-12-07
Posts: 10

Re: Favicon

Hi there! Question: What is code i need to add to which EXACT code needed  to get IE or any other browser to show the favicon in punbb?

Code:

<html dir="<pun_content_direction>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<pun_char_encoding>" />
<base href="http://mysite.com/" />
    <link rel="shortcut icon" href="http://mysite.com/favicon.ico" />
    <meta http-equiv="pragma" content="no-cache" />

<pun_head>

in main.tpl? Thanks!

Last edited by videofiles-org (2008-11-15 00:54:16)

Offline

 

#5 2008-11-19 08:18:17

MattF
Member
From: South Yorkshire, England
Registered: 2007-03-16
Posts: 415

Re: Favicon

I.E is a bitch to sort, but that code above looks fine. All other browsers will work fine with just 'icon' instead of 'shortcut icon'. You can list both in the header. I believe I.E only shows the favicon if you have bookmarked the site?

Offline

 

#6 2008-11-20 19:02:29

videofiles-org
Member
Registered: 2006-12-07
Posts: 10

Re: Favicon

Thanks. Yes after restart it also appeared in IE7 (even without bookmark). In Chrome and Firefox the icon appeared with just refresh. Maybe just IE cache issue.

Cheers.

Offline

 

#7 2009-06-04 08:01:36

joe.banana
Member
From: ph
Registered: 2009-05-15
Posts: 30
Website

Re: Favicon

thanks a lot! it worked! smile

Offline

 

Board footer

Based on PunBB
© Copyright 2002–2005 Rickard Andersson

© Copyright 2004–2006 Kristoffer Jansson

User contributed files are property of their respective owners.