Add Favicon (favories/bookmark icon)

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

Previous topic - Next topic

[кѕ]ваηε-σ

maybe a little off topic, but here's a link to a download page that has the .ico plugin for photoshop. It will allow you to save images in the .ico format.

http://www.telegraphics.com.au/sw/#icoformat

Click my sig, I dare you. (you might enjoy it)


I have 1337 M0DЄЯΑŦ0Я ѕκιŁŁѕ.


Quote from: ваηε-σ, #lëñņðN`, мµŋτς[02:42] [кѕ]ваηε-σ: I just pwned microsoft and completely ghosted one hard drive onto another. Two computers with the exact same operating system, exact same everything.
[02:42] ⌠Ķζ⌡мµŋτς ©  / DarkForce: lmfao, XD
[02:43] *[Ҝﮘ] #lëñņðN` ¨εﮘ`: hahahaha, noice

Marcus Forsberg

Swedish translation

$txt['header_favicon_url'] = 'Favicon Url:';
$txt['header_favicon_url_desc'] = 'Måste vara en 16x16 png/gif/ico bild
   <br />Anv&auml;nd .ico f&ouml;r b&auml;sta resultat (ex IE7)
   <br />L&auml;mna tomt fouml;r att inaktivera
   <br />(<a href="http://en.wikipedia.org/wiki/Favicon" target="_blank">Hj&auml;lp</a>)';

scottps6

this doesn't work for me, are there any other modifications required for 1.1.5?  I have a custom themes settings but have added the code and get the section to fill in on the settings page but it does not seem to work.

Great mod if I can get it working though!

scottps6

cancel that! it does work, just don't put "www." in the url

b33z

Quote from: Pegasys on March 13, 2007, 10:23:23 AM
Yes. Just adding that one line of code... and also replacing the default favicon.ico in the domain's root folder, does everything that this mod is supposed to do. Except, of course, allow you to set or change the name & type of the favicon in your admin panel. However, if you are going to change your favicon, you will have to upload/FTP the new file to your site anyway. And as long as the new favicon file has the same name, etc, it will be used automatically without and need to change code or settings in your admin panel. So I don't really see the use for this mod.

I supose it might be helpful to those who only use the default theme and are not comfortable manually editing the index.template.php file to add that single line of code. But its also one more setting in the database that has to be continually read-in... and who needs that minor bit of overhead if not neccessary?
i completely agree.

Quote from: Pegasys on March 13, 2007, 10:23:23 AM
No, I couldn't get this mod to work so I uninstalled it. Just that single code line added to the index.temeplate.php should get the icon to show in the FF2 tabs. At least, that's what it took for me to finally get the FF tabs to show the icon.
same* as me

Quote from: Pegasys on March 13, 2007, 10:23:23 AM
Its quite possible that different solutions are required for different hosts as all hosts do things differently. Its also possible that this mod was tested and works fine on all hosts that are set up similarly to the mod author's host. That would explain why it apparently does not work for so many others.


* We do know that IE 6 defaults to looking for a favicon.ico in the root folder of the domain. It uses this favicon to display in the Favorites and the address box/bar.

* Firefox 2 also seems to use the root folder favicon for its address bar and Bookmarks. But not the tabs.

* On my host, a default favicon.ico file of the host's logo was already installed in the domian root folder. Yet, even when I replaced it with a custom icon for my website, FF2 still displayed the host's default icon on the tabs. I'm not sure where FF2 was getting it from. But adding that single line of code apparently over-rode whatever default FF2 was using and my site icon finally displayed in the FF2 tabs.
again, the same* situation i was in.

*= I use FF 3

in the end, i too just used the "link rel" method. worked perfect. gonna keep it that way.
thanks to all.

DirtRider

Quote from: scottps6 on May 03, 2008, 03:52:57 PM
this doesn't work for me, are there any other modifications required for 1.1.5?  I have a custom themes settings but have added the code and get the section to fill in on the settings page but it does not seem to work.

Great mod if I can get it working though!

Same here  :( not working
http://www.triumphtalk.com

"The real question is not whether machines think but whether men do. "

citizenerased

very good a mod. thanks :)

Deal

Quote from: [кѕ]ваηε-σ on April 14, 2008, 01:48:45 AM
maybe a little off topic, but here's a link to a download page that has the .ico plugin for photoshop. It will allow you to save images in the .ico format.

http://www.telegraphics.com.au/sw/#icoformat

A great open source alternative is XnView: see feature list here:

http://pagesperso-orange.fr/pierre.g/xnview/enfeatures.html

Dariano

I'm using another theme, not the Babylon one. But when I install and apply the mod there is one big chunk of error message on the top of the forum. Anybody knows how to fix this and let the Favicon appear?

Thanks in advance.

cqinzx

Thank you for this mod.  I really appreciate it. Now my site looks more like my theme. 7hanks

BTW: this mod also works on 1.1.6

Neo_TE

Yes.

This MOD works with 1.1.6 and also with dilbermc theme.

Thank You Very Much.

:D

ccbtimewiz

That's because I took control of the mod and released a small fix for the entire 1.1.x series. :P

I plan on updating it further for SMF 2.0. Along with my other mods. :)

karlbenson

Thanks for taking over this mod ccbtimewiz

ccbtimewiz

Anytime Karl. Thanks for letting me take it over. :)

mr703himself

i got the mod to work but i have this above my banner

$txt['header_favicon_url'] = 'Favicon Image URL:'; $txt['header_favicon_url_desc'] = 'Must be a 16x16 png/gif/ico image
Use .ico for best compatibility (eg IE7)
Leave blank to disable
(Help)';

how do i remove this?

www.allbeatz.com is my site and ull see what i mean

ccbtimewiz

Open ./Themes/default/languages/modifications.english.php

Move the ?> tag to the end of the file with nothing after it.

mr703himself

Quote from: ccbtimewiz on October 01, 2008, 09:39:30 PM
Open ./Themes/default/languages/modifications.english.php

Move the ?> tag to the end of the file with nothing after it.

i did that and nothing happend

the file looks like this

Quote
$txt['header_favicon_url'] = 'Favicon Image URL:';
$txt['header_favicon_url_desc'] = 'Must be a 16x16 png/gif/ico image
   <br />Use .ico for best compatibility (eg IE7)
   <br />Leave blank to disable.
   <br />(<a href="http://en.wikipedia.org/wiki/Favicon" target="_blank">Help</a>)';
?>

did i do it right?

ccbtimewiz

Do the same for modifications.english-utf8.php

mr703himself


justjim

#139
I tried to install this mod through the Package Manager and received an error

Type Action Description
1. Execute Modification ./Themes/default/Settings.template.php Test successful
2. Execute Modification ./Themes/default/../babylon/Settings.template.php Skipping file
3. Execute Modification ./index.php Test failed
4. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
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

Do you have any suggestions?

Thanks in advance

Edit: Forgot to mention I already have Add Favicon.ico Support 1.0 
Installed, should I remove it first then install the Favicon 1.2   package?

Advertisement: