Older Browser Check On a SmugMug Site

RogersDARogersDA Registered Users Posts: 3,502 Major grins
edited February 28, 2010 in SmugMug Support
Can we implement on out sites a browser version check to determine if an older version; e.g., IE6, is installed and give a polite hint to upgrade and/or state that the site may not work with that browser?

Comments

  • pilotdavepilotdave Registered Users Posts: 785 Major grins
    edited February 11, 2010
    RogersDA wrote:
    Can we implement on out sites a browser version check to determine if an older version; e.g., IE6, is installed and give a polite hint to upgrade and/or state that the site may not work with that browser?

    Or better yet, switch those people to a compatible version of the site. I'm stuck using IE6 on my work computer.

    Dave
  • jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited February 12, 2010
    RogersDA wrote:
    Can we implement on out sites a browser version check to determine if an older version; e.g., IE6, is installed and give a polite hint to upgrade and/or state that the site may not work with that browser?
    A Google search will show you a number of options.

    The #1 hit in my search showed this HTML:

    <!--[if lt IE 7]>
    <p>Hm. You should upgrade your copy of Internet Explorer.</p>
    <![endif]-->
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • SamirDSamirD Registered Users Posts: 3,474 Major grins
    edited February 12, 2010
    jfriend wrote:
    A Google search will show you a number of options.

    The #1 hit in my search showed this HTML:

    <!--[if lt IE 7]>
    <p>Hm. You should upgrade your copy of Internet Explorer.</p>
    <![endif]-->
    Interesting piece of code. Where would one put this?
    Pictures and Videos of the Huntsville Car Scene: www.huntsvillecarscene.com
    Want faster uploading? Vote for FTP!
  • jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited February 12, 2010
    SamirD wrote:
    Interesting piece of code. Where would one put this?
    Wherever you want the message to display (header, footer, biobox, gallery description, etc...). You can of course, put your own custom HTML in for the message.
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • SamirDSamirD Registered Users Posts: 3,474 Major grins
    edited February 12, 2010
    jfriend wrote:
    Wherever you want the message to display (header, footer, biobox, gallery description, etc...). You can of course, put your own custom HTML in for the message.
    Cool! Know of a good simple script like this for FF?
    Pictures and Videos of the Huntsville Car Scene: www.huntsvillecarscene.com
    Want faster uploading? Vote for FTP!
  • jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited February 12, 2010
    SamirD wrote:
    Cool! Know of a good simple script like this for FF?
    Apparently I wasn't clear on this. You don't need a script. If you want this in your custom footer, then just insert this into your custom footer and change the part in red to say whatever you want it to say:
    <!--[if lt IE 7]>
    <p>[COLOR=red]Hm. You should upgrade your copy of Internet Explorer.[/COLOR]</p>
    <![endif]-->
    

    It will only display when it's IE6 or earlier.
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • SamirDSamirD Registered Users Posts: 3,474 Major grins
    edited February 13, 2010
    jfriend wrote:
    Apparently I wasn't clear on this. You don't need a script. If you want this in your custom footer, then just insert this into your custom footer and change the part in red to say whatever you want it to say:
    <!--[if lt IE 7]>
    <p>[COLOR=red]Hm. You should upgrade your copy of Internet Explorer.[/COLOR]</p>
    <![endif]-->
    

    It will only display when it's IE6 or earlier.
    Well, I meant the code posted as 'the script'. Bad terminology on my part.

    Is there a simple version detection method like this for FF? Most of the browser version detection code I find is javascript that tries to narrow down version number.
    Pictures and Videos of the Huntsville Car Scene: www.huntsvillecarscene.com
    Want faster uploading? Vote for FTP!
  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited February 13, 2010
    pilotdave wrote:
    Or better yet, switch those people to a compatible version of the site. I'm stuck using IE6 on my work computer.

    Dave
    For visitors, SmugMug fully supports IE6. For site owners, we're beginning to not support IE6 for a few things (like Easy Customizer for example).
  • jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited February 13, 2010
    SamirD wrote:
    Well, I meant the code posted as 'the script'. Bad terminology on my part.

    Is there a simple version detection method like this for FF? Most of the browser version detection code I find is javascript that tries to narrow down version number.
    What problem are you trying to solve? Are you trying to display a message if a user is using an old version of Firefox? That really shouldn't be necessary. Firefox users upgrade and are not held back to a 9 year old version by their companies.
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • SamirDSamirD Registered Users Posts: 3,474 Major grins
    edited February 13, 2010
    jfriend wrote:
    What problem are you trying to solve? Are you trying to display a message if a user is using an old version of Firefox? That really shouldn't be necessary. Firefox users upgrade and are not held back to a 9 year old version by their companies.
    No immediate problem, but I never saw such a quick and handy version checker for IE, so I thought there may be one for FF too. Just a tool to put in my programming hat. thumb.gif
    Pictures and Videos of the Huntsville Car Scene: www.huntsvillecarscene.com
    Want faster uploading? Vote for FTP!
  • pilotdavepilotdave Registered Users Posts: 785 Major grins
    edited February 13, 2010
    Andy wrote:
    For visitors, SmugMug fully supports IE6. For site owners, we're beginning to not support IE6 for a few things (like Easy Customizer for example).

    Hmmm, I don't have my work computer to show a screenshot, but galleries don't work unless they're in one of the older styles like traditional or the old journal. It's possible there is some setting that's preventing the AJAX stuff from working.

    Dave
  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited February 15, 2010
    pilotdave wrote:
    Hmmm, I don't have my work computer to show a screenshot, but galleries don't work unless they're in one of the older styles like traditional or the old journal. It's possible there is some setting that's preventing the AJAX stuff from working.

    Dave
    Yes Dave - you must have Javascript turned on in the browser. It's also possible you have image blocking, or other security in that browser or PC, blocking SmugMug.
  • RogersDARogersDA Registered Users Posts: 3,502 Major grins
    edited February 27, 2010
    It's a bit intrusive, but I am tired of IE 6.
    So here is what is right on top in my Custom Header

    [html]<!
    >
    <!-- Warning text and links for those with older IE browsers -->
    <!
    >
    <!--[if lt IE 7]>
    <p align="center"><font size="1" color= #000000><br>
    <img src="/photos/798114787_cA7Ko-O.jpg" alt="You are using an unsupported web browser" /></a><br><br>
    <a href="http://www.mozilla.com/&quot; target="_blank">
    <img src="/photos/798524752_Wuiq3-150x150.gif" border="0" alt="Go get Firefox!" /></a>&nbsp&nbsp&nbsp
    <a href="http://www.microsoft.com/windows/Internet-explorer/&quot; target="_blank">
    <img src="/photos/798524764_LyBVW-150x150.gif" border="0" alt="Go get Internet Explorer!" /></a>&nbsp&nbsp&nbsp
    <a href="http://www.apple.com/safari/&quot; target="_blank">
    <img src="/photos/798524756_wmukP-150x150.gif" border="0" alt="Go get Safari!" /></a>
    </p></font>
    <![endif]-->[/html]

    If anyone else wants to use it then feel free to grab it and the images.
  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited February 28, 2010
    RogersDA wrote:
    It's a bit intrusive, but I am tired of IE 6.
    So here is what is right on top in my Custom Header

    [html]<!
    >
    <!-- Warning text and links for those with older IE browsers -->
    <!
    >
    <!--[if lt IE 7]>
    <p align="center"><font size="1" color= #000000><br>
    <img src="/photos/798114787_cA7Ko-O.jpg" alt="You are using an unsupported web browser" /></a><br><br>
    <a href="http://www.mozilla.com/&quot; target="_blank">
    <img src="/photos/798524752_Wuiq3-150x150.gif" border="0" alt="Go get Firefox!" /></a>&nbsp&nbsp&nbsp
    <a href="http://www.microsoft.com/windows/Internet-explorer/&quot; target="_blank">
    <img src="/photos/798524764_LyBVW-150x150.gif" border="0" alt="Go get Internet Explorer!" /></a>&nbsp&nbsp&nbsp
    <a href="http://www.apple.com/safari/&quot; target="_blank">
    <img src="/photos/798524756_wmukP-150x150.gif" border="0" alt="Go get Safari!" /></a>
    </p></font>
    <![endif]-->[/html]

    If anyone else wants to use it then feel free to grab it and the images.

    So I went to your site in IE6 and I can't even view use it at all? That seems a bit draconian, and will in the end, only punish yourself, since someone at a corporate office stuck with IE6 won't be able to see your awesome photography.

    SmugMug is built to work fully for visitors in IE6. We don't like having to support it, but we do, since so many folks still have to use it. http://www.moonriverphotography.com/ I don't want to shut out any visitors.
  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited February 28, 2010
    pilotdave wrote:
    Hmmm, I don't have my work computer to show a screenshot, but galleries don't work unless they're in one of the older styles like traditional or the old journal. It's possible there is some setting that's preventing the AJAX stuff from working.

    Dave
    Dave, SmugMug is fully supported for visitors in IE6. Even the new styles (SmugMug, Thumbnails, Slideshow, Journal, etc). If you are having issues it's very likely due to a security setting or other security software. Please write our Support Heroes and we'll sort you out thumb.gif
  • RogersDARogersDA Registered Users Posts: 3,502 Major grins
    edited February 28, 2010
    Andy wrote:
    So I went to your site in IE6 and I can't even view use it at all? That seems a bit draconian, and will in the end, only punish yourself, since someone at a corporate office stuck with IE6 won't be able to see your awesome photography.

    SmugMug is built to work fully for visitors in IE6. We don't like having to support it, but we do, since so many folks still have to use it. http://www.moonriverphotography.com/ I don't want to shut out any visitors.
    Yeah it's a bit rough on my part. I just got tired of tweaking the homepage to make a lot of the elements work for IE6. The graphics don't display correctly, the slideshow is cut-off, and I stopped trying to get the enter site button to work (heck - that does not work for IE 8, either, so i guess I need to dig into that a bit more).
Sign In or Register to comment.