1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 ipad/iphone home screen icon is Xenforo instead of mine!

Discussion in 'Troubleshooting and Problems' started by craigiri, Sep 4, 2013.

  1. craigiri

    craigiri Well-Known Member

    Users have reported that whereas before, the "home screen" bookmark to my site was a picture of the page, it is now the blue xenforo logo.

    I tried it on my iphone and they are correct.

    I already tried following some web instructions and putting a specially named icon in the root and xf directory.

    Does anyone know where this icon is coming from?

    Reference: http://www.apple.com/ios/add-to-home-screen/
     
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    Without verifying, it may be the logo.og.png.
     
  3. AndyB

    AndyB Well-Known Member

    FredC and 0xym0r0n like this.
  4. craigiri

    craigiri Well-Known Member

    I have done both of the above.....maybe it's cached (the logo.og.png).....

    I will check it later. It's strange that the apple-touch-icon.png didn't work. The file is there....
     
  5. Jeremy

    Jeremy XenForo Moderator Staff Member

    You need to specify the icon.
     
  6. craigiri

    craigiri Well-Known Member

    ?

    I put the proper size icon in the proper place as per apple.

    I also changed the logo.og.png to a copy of the one I custom-made.

    Where else do I specify?
     
  7. craigiri

    craigiri Well-Known Member

    I checked everywhere else on the site and the proper icon (the one I put with the apple name) is coming up. It's only in the XF directory where the XF one is coming up.

    It must be somehow tied to the XF script.....maybe .htaccess or something deeper.

    Can anyone else try this on their copy so we can see if it's something (a bug) in XF 1.2.1
     
  8. AndyB

    AndyB Well-Known Member

  9. craigiri

    craigiri Well-Known Member

    Don't think that is the problem. It would downsize it - according to the instructions you can make one bigger one and it will resize for all pads and phones (retina, etc.).
     
  10. AndyB

    AndyB Well-Known Member

    Your right.

    However I just tried it on my iPad 4 and it used your icon to create the "Add to Home Screen" button. So it's working fine as far as I can tell.
     
  11. AndyB

    AndyB Well-Known Member

    Just tried it on my iPhone 3GS and it also works fine.
     
  12. craigiri

    craigiri Well-Known Member

    So you are saying it works fine from my XF URL

    http://www.hearth.com/talk

    ???

    That would be great. Then it's only a cache problem now.....

    For me, it works everywhere on the site except the talk directory.
     
  13. AndyB

    AndyB Well-Known Member

    I tried it from http://www.hearth.com/ and it works fine.

    I just tried it from http://www.hearth.com/talk/ and it also works fine.

    Tried it on both my iPad4 and iPhone 3GS.
     
  14. Chris D

    Chris D XenForo Developer Staff Member

    Since XenForo 1.2 the touch icon is specified in the PAGR_CONTAINER template.

    This will override whatever icon you may have placed in the root.

    It gets the value from the style property for the open graph Facebook logo.

    Either edit the template with the desired path or just ensure the ogLogoPath property points to it.
     
    Digital Doctor and Jeremy like this.
  15. AndyB

    AndyB Well-Known Member

    I just looked at my PAGE_CONTAINER template it it appears at some point I commented out that line like this:

    Code:
    <!-- delete default icon -->
    <!--   
       <link rel="apple-touch-icon" href="{xen:helper fullurl, @ogLogoPath, 1}" />
    -->
    
     
  16. oman

    oman Well-Known Member

    I fixed this by changing the Facebook Open Graph logo. :)

    Worked perfectly. Didn't need to do anything else.
     
  17. craigiri

    craigiri Well-Known Member

    Thanks! I'll give it a shot.
    Seems like something which should be fixed, though, consider the amount of mobile users. Hopefully, if they feel so, one of the staff will move to bug reports, etc.

    Changed Facebook style path to:
    ../apple-touch-icon.png

    and it seems to work.
     
    Last edited: Sep 4, 2013
  18. Jeremy

    Jeremy XenForo Moderator Staff Member

    It'd be marked as designed. Any owner should update their logo.og.png, so the mobile users (I've never actually added a website to my home screen) would be taken care of as well as Facebook.
     
  19. AndyB

    AndyB Well-Known Member

    What is the path for this image?
     
  20. Chris D

    Chris D XenForo Developer Staff Member

    It's a style property search admin cp for ogLogoPath
     

Share This Page