Topic: favicon

sir,

Is it possible to insert a favicon in my PunBB forum? If I use shortcut icon tag in main.tpl, then it will be shown as a shortcut or not?

BENGALI E LIBRARY
http://forum.banglalibrary.org, www.banglalibrary.org
Jyoti Tower, P-313, Nabapally, Salt Lake, Sector-IV, Kolkata-700105
E. M BYPASS, BUS STOP : CHINGRIHATA
PH : 033-23353176, +919831193298, +919836422308

Re: favicon

You can create your own extension with only one hook:

<hook id="hd_head"><![CDATA[
$forum_head['favicon'] = '<link rel="shortcut icon" href="http://punbb.informer.com/favicon.ico" />';
]]></hook>

which will add some favicon to your forums.

Re: favicon

THIS PROBLEM IS RESOLVED

BENGALI E LIBRARY
http://forum.banglalibrary.org, www.banglalibrary.org
Jyoti Tower, P-313, Nabapally, Salt Lake, Sector-IV, Kolkata-700105
E. M BYPASS, BUS STOP : CHINGRIHATA
PH : 033-23353176, +919831193298, +919836422308

4

Re: favicon

banglalibrary wrote:

THIS PROBLEM IS RESOLVED

where can I get this extension?

I want a faveicon displayed on my forum  wink

Re: favicon

http://punbb.informer.com/forums/topic/ … iles-free/

You need to know how to create an image/logo before though...
If you have an image use the above link to get to site that creates favicon for you...
Then just upload it to root. Done.

6

Re: favicon

KeyDog wrote:

http://punbb.informer.com/forums/topic/ … iles-free/

You need to know how to create an image/logo before though...
If you have an image use the above link to get to site that creates favicon for you...
Then just upload it to root. Done.

So uploading my faveicon to root will work without the need to change any code in the forum?

Re: favicon

yes

8

Re: favicon

KeyDog wrote:

yes

great. I love this forum application. Lightweight so I can save money on my hosting wink

9

Re: favicon

I have uploaded my faveicon to root but nothing shows up, do I need to put the code above somewhere?

10

Re: favicon

No code. I just tried it. Upload it to root and it shows up immediately in forum with absolutely NOTHING done anywhere.

Are you sure you uploaded a .ico file named favicon.ico to the root?!

11

Re: favicon

KeyDog wrote:

No code. I just tried it. Upload it to root and it shows up immediately in forum with absolutely NOTHING done anywhere.

Are you sure you uploaded a .ico file named favicon.ico to the root?!

yes, I have uploaded it to both my website root and the forum folder.

12

Re: favicon

try with google chrome browser....

13

Re: favicon

KeyDog wrote:

try with google chrome browser....

I was using chrome, then I tried with firefox and IE8 but still no luck sad

14

Re: favicon

upload your favicon to rapidshare or (your choice) and give a link...
want to see if it works on a random board....

15

Re: favicon

KeyDog wrote:

upload your favicon to rapidshare or (your choice) and give a link...
want to see if it works on a random board....

The faveicon works on my website, but as soon as I go to the forum subdirectory it disappears. I am probably doing something really stupid and missing the obvious

16

Re: favicon

example link...???

17

Re: favicon

KeyDog wrote:

example link...???


http://rapidshare.com/files/346805555/faveicon.ico.html

18

Re: favicon

maybe spelling it favicon.ico (not faveicon) in the folder where the forum is, aswell as in the root will help....

19

Re: favicon

KeyDog wrote:

maybe spelling it favicon.ico (not faveicon) in the folder where the forum is, aswell as in the root will help....

I always knew I wasn't that bright wink

thank you so much. works now  big_smile

20

Re: favicon

cool big_smile

Re: favicon

It's not good to spawn extensions...

Just add

// favicon

$forum_head['favicon'] = '<link rel="shortcut icon" href="favicon.ico" />';

after
89   $forum_head['title'] = '<title>'.generate_crumbs(true).'</title>';

in the header.php

Re: favicon

What tags are you talking about? Just add the code as I mentioned above, if you know how to work with code.