News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Add Favicon (favories/bookmark icon)

Started by hadesflames, March 09, 2007, 05:03:51 PM

Previous topic - Next topic

karlbenson

simplemachines uses an .ico

Ol' Wombat

Quote from: karlbenson on November 30, 2007, 10:27:03 PM
simplemachines uses an .ico

I always used .ico and never had any issues with favicons in IE or any Mozilla clone - not sure where it is coming from that it should work with other formats?

Cladestino

For Portuguese PT:

Quote<file name="$languagedir/Modifications.portuguese.php" error="skip">
<operation>
   <search position="end" />
<add><![CDATA[
$txt['header_favicon_url'] = 'URL da Imagem Favicon:';
$txt['header_favicon_url_desc'] = 'Deve ser uma imagem/ficheiro .png, .gif ou .ico com 16x16
   <br />Use uma imagem/ficheiro .ico para melhor compatibilidade (ex: IE7)
   <br />Deixar em branco para desactivar
   <br />(<a href="http://en.wikipedia.org/wiki/Favicon" target="_blank">Ajuda</a>)';
]]></add>
</operation>
</file>

Quote<file name="$languagedir/Modifications.portuguese-utf8.php" error="skip">
<operation>
   <search position="end" />
<add><![CDATA[
$txt['header_favicon_url'] = 'URL da Imagem Favicon:';
$txt['header_favicon_url_desc'] = 'Deve ser uma imagem/ficheiro .png, .gif ou .ico com 16x16
   <br />Use uma imagem/ficheiro .ico para melhor compatibilidade (ex: IE7)
   <br />Deixar em branco para desactivar
   <br />(<a href="http://en.wikipedia.org/wiki/Favicon" target="_blank">Ajuda</a>)';
]]></add>
</operation>
</file>

jurdim

Just installed it and works fine great mod
I use IE7 and it showed imidiately after installation

Gr Jurgen

karlbenson

I have reuploaded this mod and screenshots for it.

I am in the process of doing it for ALL my other mods aswell.  Please bear with me.

Mrs.Rattitude

Hi,

I just downloaded this and tried to upload the package and it comes back with an error message of "The package you tried to upload either is not a valid package or has become corrupted."

Any suggestions?


No.Body

This is a great mod but i don't know what is the problem  with mine coz wont work.  Anyways, found another option though by editing the index.template.php and adding the code there.

mike123acc

Hi all

I wonder if someone could help me. As some others here, this mod doesn;t work for me. I'm using 1.1.4.

I installed it through SMF (maybe that is the problem?).

Anyway, a couple of people here have mentioned they inserted the code in the index.template.php. Could someone tell me where it goes in that file, and what code I should use for a standard favicon.ico. I'm only using 1 template, and the users have no option to switch so I pressume this is an easy job.

Just not that good with php......

thanks in advance

weightman

I didn't edit any code at all or install any mods to add my favicon. I just uploaded the favicon titled favicon.ico to the my SMF root directory, SMF/images and my theme images directory (SMF/Themes/YourthemeHere/images (only one should be necessary but I did all three anyway just to make sure) and the favicon appeared automatically. Make sure you clean your browser cache before you assume it didn't work.

Cheers

mike123acc

OK, thanks for that.

Will give that a go.

Pip2andahalf

Hi there... I had favicon 1.1 installed on my forum and working perfectly, and I just moved it to a new host, and for some reason it is not functioning now. I went to uninstall it so as to reinstall, but the uninstallation tests failed, so I'm a bit lost...

My default theme is babylon, here is the error list:

1.     Execute Modification     ./Themes/default/Settings.template.php                             Test failed
2.    Execute Modification    ./Themes/default/../babylon/Settings.template.php                  Test failed
3.    Execute Modification    ./index.php                                                                       Test failed
4.    Execute Modification    ./Themes/default/languages/Modifications.english.php                Test failed
5.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php     Skipping file
6.    Execute Modification    ./Themes/default/languages/Modifications.english_british.php    Skipping file
7.    Execute Modification    ./Themes/default/languages/Modifications.english_british-utf8.php    Skipping file


@rturo

Here you have the Spanish_es Translation for this MOD

Quote
<file name="$languagedir/Modifications.spanish_es.php" error="skip">
<operation>
   <search position="end" />
<add><![CDATA[
$txt['header_favicon_url'] = 'URL de la Imagen Favicon:';
$txt['header_favicon_url_desc'] = 'Debe ser una imagen png/gif/ico de 16x16
   <br />Use .ico para mayor compatibilidad (ej IE7)
   <br />Dejar en blanco para deshabilitar
   <br />(<a href="http://es.wikipedia.org/wiki/Favicon [nofollow]" target="_blank">Ayuda</a>)';
]]></add>
</operation>
</file>


[nofollow]

fecu2008

Installation no problem, put the url in and no problems in firefox.  Its an ico too, but will not show up on ie :(   was a solution found? oh, great mod :)

sparky33

still doesn't work for me
www.dublinforums.org

www.renaultforums.co

58tbird

Just wanted to say thank you Karl!  You've made lots of good mods (not sure how many of yours I'm using), and this one really helps to put a professional touch on my forum.  I appreciate all your hard work, and I always take a moment to look at mods with your name attached.

raelpsf

To use don't insert "www". eg. www.yousite.com [nofollow] (not use).. this correct is: http://yousite.com [nofollow]

Darkness_

Works fine for my
In FF and IE.

Only one thing to say to the ones who have a problem with IE
I think IE takes favicon.ico automaticly.
Because I uploaded a favicon.ico
this one worked for FF and IE
When I canged it to a .gif picture, FF took the new pictute, but IE took the favicon.ico

karlbenson

ie7 only supports .ico files.
That is why.

Darkness_

I understand that but I'm now using the link for the .gif, but IE automaticly takes the .ico
that's a bit strange

karlbenson

1. It can get stored in your cache/temporary internet files. So you may need to clear it to get a change to appear.
2. Browsers can attempt to find it automatically. Since IE7 only works with .ico files, it will automatically try to find a favicon.ico in your base domain.

Advertisement: