Advertisement:

Author Topic: Favicon Help  (Read 58201 times)

Offline jbraum

  • Semi-Newbie
  • *
  • Posts: 40
Favicon Help
« on: December 20, 2006, 09:38:56 AM »
Here's what I've done but I'm not seeing my favicon

Put the favicon in the default theme and pasted the following code
Code: [Select]
<link rel="shortcut icon" type="application/ico" href="/favicon.ico" /> before the </head> in the index.template.php.  I'm using a different theme is this my problem?

Offline Gary

  • Sorceress's Knight
  • Lead Customizer
  • SMF Super Hero
  • *
  • Posts: 18,352
  • Gender: Male
  • So this is the luck of the draw...
    • Gazmanafc on Facebook
    • garygadsdon on LinkedIn
    • @Gazmanafc on Twitter
    • The Bongo Comics Fan Forum
Re: Favicon Help
« Reply #1 on: December 20, 2006, 10:34:12 AM »
Try

Code: [Select]
<link rel="shortcut icon" href="favicon.ico" />

and upload favicon.ico into your main the forum root directory.

-AwwLilMaggie
Gary M. Gadsdon
Do NOT PM me unless I say so

War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

Offline jbraum

  • Semi-Newbie
  • *
  • Posts: 40
Re: Favicon Help
« Reply #2 on: December 21, 2006, 10:49:46 AM »
Did that but no favicon.  Might be a dumb question but do I need to put the code on the index.php in the root directory where the favicon is.  Now I have the code in the default theme - index.template.php and in the same php page in the theme I currently use.

Offline Alan S

  • Sophist Member
  • *****
  • Posts: 1,250
  • Gender: Male
  • Monkey see Monkey do
Re: Favicon Help
« Reply #3 on: December 21, 2006, 11:00:29 AM »
Dont put the code in the index.php , It could screw up your forum , Put it in the index.template.php

at the very start before all the other code so its like

Code: [Select]
<head>
<link rel="shortcut icon" href="favicon.ico" />
</head>
<?
-----Smf Code------ ?>
SMF 7 is where it gets good. That has time travel. You can go back and post before the guy who flamed you. :P

Offline jbraum

  • Semi-Newbie
  • *
  • Posts: 40
Re: Favicon Help
« Reply #4 on: December 21, 2006, 11:25:52 AM »
Got it!  Thanks...

Offline Chris™

  • Jr. Member
  • **
  • Posts: 178
Re: Favicon Help
« Reply #5 on: January 03, 2007, 08:54:27 PM »
How do we make a .ico?

Offline Gary

  • Sorceress's Knight
  • Lead Customizer
  • SMF Super Hero
  • *
  • Posts: 18,352
  • Gender: Male
  • So this is the luck of the draw...
    • Gazmanafc on Facebook
    • garygadsdon on LinkedIn
    • @Gazmanafc on Twitter
    • The Bongo Comics Fan Forum
Re: Favicon Help
« Reply #6 on: January 04, 2007, 10:15:55 AM »
You can just use a graphic program like Photoshop and just add the .ico extension to the filename.

-AwwLilMaggie
Gary M. Gadsdon
Do NOT PM me unless I say so

War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

Offline Alan S

  • Sophist Member
  • *****
  • Posts: 1,250
  • Gender: Male
  • Monkey see Monkey do
Re: Favicon Help
« Reply #7 on: January 04, 2007, 11:44:36 AM »
Or you can just upload a normal image to here and it will be resized and put into ico format automaticaly.

http://www.favicongenerator.com/
SMF 7 is where it gets good. That has time travel. You can go back and post before the guy who flamed you. :P

Offline weightman

  • Sr. Member
  • ****
  • Posts: 700
Re: Favicon Help
« Reply #8 on: July 01, 2007, 02:45:48 PM »
Quote
Dont put the code in the index.php , It could screw up your forum , Put it in the index.template.php

at the very start before all the other code so its like

Code:

<head>
<link rel="shortcut icon" href="favicon.ico" />
</head>
<?
-----Smf Code------ ?>
This worked for me. The favicon mod nor any of the code in the others threads did not.

Thanks

Offline meMilly

  • Newbie
  • *
  • Posts: 1
Re: Favicon Help
« Reply #9 on: June 23, 2008, 12:50:25 PM »
Dont put the code in the index.php , It could screw up your forum , Put it in the index.template.php

at the very start before all the other code so its like

Code: [Select]
<head>
<link rel="shortcut icon" href="favicon.ico" />
</head>
<?
-----Smf Code------ ?>

THANK you! :) I had tried everything else!

* meMilly whistles happily and looks at her new favicon.

Offline Deprecated

  • SMF Hero
  • ******
  • Posts: 3,499
Re: Favicon Help
« Reply #10 on: August 02, 2008, 01:14:57 AM »
Just a bit more advice for you. Some browsers are non-compliant or otherwise cornfused. Use this in your header instead:

Quote
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="icon" href="/favicon.ico" type="image/x-icon" />

That will get a few more browsers to work correctly, with both forms of the tag.

Offline s_m_f_forumuser

  • Semi-Newbie
  • *
  • Posts: 18
Re: Favicon Help
« Reply #11 on: October 31, 2009, 05:24:20 PM »
Just a bit more advice for you. Some browsers are non-compliant or otherwise cornfused. Use this in your header instead:

Quote
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="icon" href="/favicon.ico" type="image/x-icon" />

That will get a few more browsers to work correctly, with both forms of the tag.

When I do that the font size on my complete SMF board gets larger (too big). Strange?

Offline bitman

  • Semi-Newbie
  • *
  • Posts: 11
Re: Favicon Help
« Reply #12 on: May 20, 2010, 11:39:43 AM »
Dont put the code in the index.php , It could screw up your forum , Put it in the index.template.php

at the very start before all the other code so its like

Code: [Select]
<head>
<link rel="shortcut icon" href="favicon.ico" />
</head>
<?
-----Smf Code------ ?>

I did this and yes it worked BUT: It breaks the Image Verification picture upon registering.
I'd love to have the favicon back but not at the expense of new users.

Help!  :)

:Ron



kat

  • Guest
Re: Favicon Help
« Reply #13 on: May 20, 2010, 11:49:55 AM »
Don't worry about any coding.


Just put the favicon in the root of your forum.


Browsers will find it, automatically, now.


Best to have them 16×16pixels in size.

Offline bitman

  • Semi-Newbie
  • *
  • Posts: 11
Re: Favicon Help
« Reply #14 on: May 20, 2010, 12:02:00 PM »
Don't worry about any coding.


Just put the favicon in the root of your forum.


Browsers will find it, automatically, now.


Best to have them 16×16pixels in size.

Thanks Kat.

Love your avatar - busts me up.

Well that doesn't seem to work for me. I have the 16x16 .ico in the root of the forum folder but I don't see it displaying the icon in the url.

kat

  • Guest
Re: Favicon Help
« Reply #15 on: May 20, 2010, 12:07:41 PM »
For reasons that I did know, but forget, it can take a while.


Try emptying your cache. ;)


The avatar kinda fits, here... I get like that, with some posters.


They seem rather dense, sometimes. ;)

Offline bitman

  • Semi-Newbie
  • *
  • Posts: 11
Re: Favicon Help
« Reply #16 on: May 20, 2010, 12:15:51 PM »
For reasons that I did know, but forget, it can take a while.


Try emptying your cache. ;)


The avatar kinda fits, here... I get like that, with some posters.


They seem rather dense, sometimes. ;)

I've cleared the cache with no avail, but you are supported by many elsewhere on other forums so I'll dig around and if I fix it, I will post here.

Thanks Kat.

kat

  • Guest
Re: Favicon Help
« Reply #17 on: May 20, 2010, 12:21:10 PM »
No sweat, mate.


Odd thing, those favicons.


They tend to show-up almost straight away, in Opera.


With other browsers, it seems to take a while.

Offline bitman

  • Semi-Newbie
  • *
  • Posts: 11
Re: Favicon Help
« Reply #18 on: May 20, 2010, 12:34:49 PM »
I found a post that said to add:

<html>
<head>
<title>WEBSITE NAME</title>
<LINK REL="SHORTCUT ICON" HREF="favicon.ico">
<head>
<html>

To the end of index.php.

I did that and the favicon is back. Nothing elese seems broken but time will tell.

:Ron

kat

  • Guest
Re: Favicon Help
« Reply #19 on: May 20, 2010, 12:38:58 PM »
Well, you got there, in the end, so all's good! :)