Add Favicon (favories/bookmark icon)

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

Previous topic - Next topic

hadesflames

Can you include your index.template.php file?

Vincent Volmer

Hello hadesflames
Thanks for your answer.

Hereby the 2 index.template.php

I didn't know which file you needed. So I posted the files from the default theme and the custom theme. Also the index.php

Regards,
Vincent Volmer

hadesflames

The favicon mod doesn't seem to be installed, as the index.template.php file for the default theme should at least have the edits. Try parsing the mod and installing it manually.

MordyT

Want to see SMF in action? Head over to RvOClan.info

Eclipse16V

Nice Mod

Thanks

German Lang
$txt['header_favicon_url'] = 'Favicon Bild URL:';
$txt['header_favicon_url_desc'] = 'Bild sollte 16x16 groß sein und als .png/.gif/.ico Format sein.
<br />Nutze .ico für beste compatibilit&auml;t (z.B. IE7)
<br />Leer lassen um kein Favicon zu nutzen.
<br />(<a href="http://de.wikipedia.org/wiki/Favicon" target="_blank">Hilfe</a>)';


German UTF8 Lang
$txt['header_favicon_url'] = 'Favicon Bild URL:';
$txt['header_favicon_url_desc'] = 'Bild sollte 16x16 groß sein und als .png/.gif/.ico Format sein.
<br />Nutze .ico für beste compatibilität (z.B. IE7)
<br />Leer lassen um kein Favicon zu nutzen.
<br />(<a href="http://de.wikipedia.org/wiki/Favicon" target="_blank">Hilfe</a>)';
I worked with:
SMF 2 in German

Shop:
SID Giessen

hadesflames

Quote from: MordyT on March 08, 2010, 09:06:09 PM
Is this good for SMF 2.0RC3?

Yes, it works on RC3.

Quote from: Eclipse16V on March 14, 2010, 07:35:49 AM
Nice Mod

Thanks

German Lang
$txt['header_favicon_url'] = 'Favicon Bild URL:';
$txt['header_favicon_url_desc'] = 'Bild sollte 16x16 groß sein und als .png/.gif/.ico Format sein.
<br />Nutze .ico für beste compatibilit&auml;t (z.B. IE7)
<br />Leer lassen um kein Favicon zu nutzen.
<br />(<a href="http://de.wikipedia.org/wiki/Favicon" target="_blank">Hilfe</a>)';


German UTF8 Lang
$txt['header_favicon_url'] = 'Favicon Bild URL:';
$txt['header_favicon_url_desc'] = 'Bild sollte 16x16 groß sein und als .png/.gif/.ico Format sein.
<br />Nutze .ico für beste compatibilität (z.B. IE7)
<br />Leer lassen um kein Favicon zu nutzen.
<br />(<a href="http://de.wikipedia.org/wiki/Favicon" target="_blank">Hilfe</a>)';


Thanks a lot! Added =]

TheListener

Woohoo

Have a Darth Vader penguin favicon at www.parascifi.net

Have a cows head favicon at www.mkaware.co.uk

imrich

Thanks for this mod.

It seems to be working as it fixes an issue for me for RC3. I can't have my forum favicon.ico in my root / folder, it must be in my forum folder. This mod fixes that.

When I install it, there are errors in the log:

http://www.myurl.tld/forum/index.php?action=admin;area=packages;sa=install2;package=Faviconv1.3.zip;pid=08: Undefined index: theme
File: /public_html/forum/Sources/Packages.php
Line: 935

Otherwise it seems to be working. Perhaps a bug in "Packages.php"? It can't find the variable 'theme'.

TheListener


numus

 Details:
Found the web page at:
http://www.sdx-developers.com (44.18 KB)

Found the default favicon (favicon.ico)

Found favicon at:
http://www.sdx-developers.com/favicon.ico (2.49 KB) 

This favicon has 2 images/icons.

   (16*16 pixels, 16777216 max colors)
   (16*16 pixels, 256 max colors)

Could not find a <link ...> tag that specify a favicon.

It isn't showing up in IE 7 tho

fmofmpls

#190
Hello. Just installed mod on smf 1.11 without any troubles. The add favicon field is there where it should be in current theme> settings. I added the url of my ico file and still no favicon showing? Did I miss something? Using Firefox as my browser.

Thanks!

* update - works now. Problem solved.

hadesflames

Quote from: imrich on April 01, 2010, 05:33:09 PM
Thanks for this mod.

It seems to be working as it fixes an issue for me for RC3. I can't have my forum favicon.ico in my root / folder, it must be in my forum folder. This mod fixes that.

When I install it, there are errors in the log:

http://www.myurl.tld/forum/index.php?action=admin;area=packages;sa=install2;package=Faviconv1.3.zip;pid=08: Undefined index: theme
File: /public_html/forum/Sources/Packages.php
Line: 935

Otherwise it seems to be working. Perhaps a bug in "Packages.php"? It can't find the variable 'theme'.


I doubt it's my mod, as it does not edit Packages.php

Arantor

No, that's an SMF RC2 + RC3 bug when you install on non default themes.
Holder of controversial views, all of which my own.


Nirose

It doesn't seem to work for me on 1.1.11 as it installed without problems but there isn't any options on the themes and layout page to add a favicon anywhere.


hadesflames

It's in Admin > Configuration > Current Theme

shed

Quote from: Arantor on April 20, 2010, 01:50:14 PM
No, that's an SMF RC2 + RC3 bug when you install on non default themes.

im having the same issues. is there a way to fix it?

thanks

Ned.net

Hi,

thanks for that great mod :)

here's the french translation :


$txt['header_favicon_url'] = 'URL de la Favicon :';

$txt['header_favicon_url_desc'] = 'doit être une image 16x16 png/gif/ico

<br />Préferer .ico pour une compatibilité IE7

<br />Laisser vide pour désactiver

<br />(<a href="http://fr.wikipedia.org/wiki/Favicon" target="_blank">Help</a>)';


hth
no shame not knowing,
a lot not learning
------------------------
Il n'y a aucune honte à ne pas savoir
mais beaucoup à ne pas apprendre

unformatted_

After successful install cant see where I can configure. Uploaded de ico no root folder, but still not visible. any help?

klra

This mod would not install as it came (for 1.1.11)

I modded the package-info file, adding 1.1.12

Worked great!

Here is the modded info -

<?xml version="1.0"?>
<!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">
<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
<name>Favicon</name>
<id>ccbtimewiz:favicon</id>
<type>modification</type>
<version>1.3</version>
<install for="1.0.15 - 1.99.99, 1.1.12">
<readme type="file" parsebbc="true">readme.txt</readme>
<modification>install.xml</modification>
<modification>languages.xml</modification>
</install>
<uninstall for="1.0.15 - 1.99.99, 1.1.12">
<modification reverse="true">install.xml</modification>
<modification reverse="true">languages.xml</modification>
</uninstall>
<install for=""2.0 - 2.0 RC3"">
<readme type="file" parsebbc="true">readme.txt</readme>
<modification>install2.xml</modification>
<modification>languages.xml</modification>
</install>
<uninstall for=""2.0 - 2.0 RC3"">
<modification reverse="true">install2.xml</modification>
<modification reverse="true">languages.xml</modification>
</uninstall>
</package-info>

Vladi246

#199
Anything for RC4 ? How to add favicon ?
Because today i upgraded to RC4 and after that i didn't have  the options to add favicon ,and version not support RC4 !
Do you have info about this is work on RC4 ?
Tanks
Quote from: klra on November 13, 2010, 05:46:21 PM
This mod would not install as it came (for 1.1.11)

I modded the package-info file, adding 1.1.12

Worked great!

Here is the modded info -

<?xml version="1.0"?>
<!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">
<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
<name>Favicon</name>
<id>ccbtimewiz:favicon</id>
<type>modification</type>
<version>1.3</version>
<install for="1.0.15 - 1.99.99, 1.1.12">
<readme type="file" parsebbc="true">readme.txt</readme>
<modification>install.xml</modification>
<modification>languages.xml</modification>
</install>
<uninstall for="1.0.15 - 1.99.99, 1.1.12">
<modification reverse="true">install.xml</modification>
<modification reverse="true">languages.xml</modification>
</uninstall>
<install for=""2.0 - 2.0 RC3"">
<readme type="file" parsebbc="true">readme.txt</readme>
<modification>install2.xml</modification>
<modification>languages.xml</modification>
</install>
<uninstall for=""2.0 - 2.0 RC3"">
<modification reverse="true">install2.xml</modification>
<modification reverse="true">languages.xml</modification>
</uninstall>
</package-info>


Advertisement: