Favicon?

Discussion in 'LB Suggestions, Questions and Idea' started by Banners, Oct 24, 2014.

  1. Banners

    Banners - Rookie -

    Joined:
    Oct 23, 2014
    Messages:
    51
    Likes Received:
    74
    Trophy Points:
    18
    Offline
    The site is coming along nicely. Thanks for the work you all have put in.

    Is anybody working on a Favicon? (i.e. the logo that shows up in the tab of your browser).
     
  2. thkthebest

    thkthebest Administrator Staff Member

    Joined:
    Sep 6, 2014
    Messages:
    1,679
    Likes Received:
    2,299
    Trophy Points:
    113
    Offline
    Yes, Barnstable already made one. You can see it here:

    http://lakersball.com/favicon.ico

    It's also in the source code. I'm not sure why it's not showing up on Chrome, but it does show up on Iceweasel and Firefox. I haven't checked IE.

    If someone can explain why it's not showing up on Chrome, then let me know.
     
    Last edited: Oct 24, 2014
  3. Banners

    Banners - Rookie -

    Joined:
    Oct 23, 2014
    Messages:
    51
    Likes Received:
    74
    Trophy Points:
    18
    Offline
    I checked the source code and did a little research. The only thing I could think of was changing rel="shortuct icon" to "icon"

    <link rel="shortcut icon" type="image/x-icon" href="http://lakersball.com/favicon.ico" />

    <link rel="shortcicon" type="image/x-icon" href="http://lakersball.com/favicon.ico" />

    Full disclosure, I'm not a web designer...but that seemed to be the common way to define the favicon when I researched it.
     
    trodgers likes this.
  4. thkthebest

    thkthebest Administrator Staff Member

    Joined:
    Sep 6, 2014
    Messages:
    1,679
    Likes Received:
    2,299
    Trophy Points:
    113
    Offline
    We actually did try that for about 2 or 3 weeks, and it also had the same problem.

    Moderns browsers should automatically look for "favicon.ico" in the root folder anyway, but for some reason, it's just not working in Chrome.
     
  5. Banners

    Banners - Rookie -

    Joined:
    Oct 23, 2014
    Messages:
    51
    Likes Received:
    74
    Trophy Points:
    18
    Offline
    hmm, only other thing I can think of is to just specify the file.

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

    This might work because you are specifying the root directory previously in the head section.

    <base href="http://lakersball.com/" />
     
  6. thkthebest

    thkthebest Administrator Staff Member

    Joined:
    Sep 6, 2014
    Messages:
    1,679
    Likes Received:
    2,299
    Trophy Points:
    113
    Offline
    It shouldn't make a difference, but we actually did also try both relative and absolute paths a while ago. Neither worked on Chrome.
     
  7. Barnstable

    Barnstable Supreme Fuzzler of Lakersball.com Staff Member

    Joined:
    Aug 31, 2014
    Messages:
    5,496
    Likes Received:
    9,972
    Trophy Points:
    113
    Location:
    Los Angeles
    Offline
    Yeah, not sure what's happening there. I think thk and I have been trying since before the forum opened up, but you're right @Banners , it is something that needs to be fixed in Chrome.
     
  8. Barnstable

    Barnstable Supreme Fuzzler of Lakersball.com Staff Member

    Joined:
    Aug 31, 2014
    Messages:
    5,496
    Likes Received:
    9,972
    Trophy Points:
    113
    Location:
    Los Angeles
    Offline
    It was suggested that the problem may be with the favicon I made, so I created on on a favicon creation website, and that one didn't work either.
     
  9. Banners

    Banners - Rookie -

    Joined:
    Oct 23, 2014
    Messages:
    51
    Likes Received:
    74
    Trophy Points:
    18
    Offline
    Also, Safari is doing the same thing.

    At this point I'd just be guessing...maybe there is/will be a web guru who will join.

    1. Everything I've read says to make sure the favicon.ico file is in the root directory with index.html. It seems like it is, but not sure how you have root setup.
    2. Read something about needing www. in the path, even though the server will work with just http://
    3. Not sure if the base href in the meta section could be causing an issue. Maybe if it was before meta, or that wasn't in the meta section??
     
  10. Kasumi

    Kasumi Lakers Girl

    Joined:
    Oct 4, 2014
    Messages:
    109
    Likes Received:
    137
    Trophy Points:
    43
    Occupation:
    Coffee
    Location:
    Seattle
    Offline
    I checked my site, whose favicon does show in Chrome - here's the code I'm using:
    <link rel="icon" href="FULL URL" type="image/gif"/>

    Here's the code on LB:
    <link rel="shortcut icon" type="image/x-icon" href="FULL URL" />

    My image is not in the root directory, but the full URL (no "www.") is in the HTML code. Despite my code showing the image type as a gif, the image is a .ico file.
     
  11. therealdeal

    therealdeal Moderator Staff Member

    Joined:
    Sep 7, 2014
    Messages:
    27,684
    Likes Received:
    57,985
    Trophy Points:
    113
    Offline
    It's visible on mine now with Chrome.
     
  12. Banners

    Banners - Rookie -

    Joined:
    Oct 23, 2014
    Messages:
    51
    Likes Received:
    74
    Trophy Points:
    18
    Offline
    confirmed. cleared the cache, reload and good to go.

    What was the fix.
     
    trodgers likes this.
  13. thkthebest

    thkthebest Administrator Staff Member

    Joined:
    Sep 6, 2014
    Messages:
    1,679
    Likes Received:
    2,299
    Trophy Points:
    113
    Offline
    If it's showing up now, it probably was just a caching issue. I still don't see it on mine unless I use incognito mode.

    You brought up a good point about the www/non-www though. I thought Xenforo redirected one to the other out of the box, but it isn't. The www and non-www are acting as separate domains so we'll get that fixed soon.
     
    trodgers likes this.
  14. Barnstable

    Barnstable Supreme Fuzzler of Lakersball.com Staff Member

    Joined:
    Aug 31, 2014
    Messages:
    5,496
    Likes Received:
    9,972
    Trophy Points:
    113
    Location:
    Los Angeles
    Offline
    I see it now on the top tab, still not on the url bar, but it's a start. @Banners and @thkthebest, I'll fix the problem with the www redirection.
     
  15. Banners

    Banners - Rookie -

    Joined:
    Oct 23, 2014
    Messages:
    51
    Likes Received:
    74
    Trophy Points:
    18
    Offline
    my understanding is that chrome does not typically show it in the url bar unless it is a "Identity Verified" company. This is typically a bank type of company.
     
  16. thkthebest

    thkthebest Administrator Staff Member

    Joined:
    Sep 6, 2014
    Messages:
    1,679
    Likes Received:
    2,299
    Trophy Points:
    113
    Offline
    Are you guys talking about the address bar? Because Chrome doesn't display favicons there. They display the security protocol.
     
    Last edited: Oct 28, 2014
  17. Barnstable

    Barnstable Supreme Fuzzler of Lakersball.com Staff Member

    Joined:
    Aug 31, 2014
    Messages:
    5,496
    Likes Received:
    9,972
    Trophy Points:
    113
    Location:
    Los Angeles
    Offline
    Ok, great. Success!!
     

Share This Page