How do I "check" the users browser?

  • Time
  • Show
Clear All
new posts
  • John Campbell
    Senior Member
    • Nov 2004
    • 340

    How do I "check" the users browser?

    Is there a template condition that would give back an answer for a browser?
    a if statment of some sort?

    I am trying to check to see if the user has IE do this (in the template) if not... do this.

    Firefox has some issues with my html so I would love to have this.

  • John Campbell
    Senior Member
    • Nov 2004
    • 340

    Please guys I just need to know is there a conditional that will tell me if the user has IE or not in the templates?

    Thank you


    • Steve Machol
      Former Customer Support Manager
      • Jul 2000
      • 154488

      Please wait 24 hours before bumping your threads.

      Do a search for: is_browser
      Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
      Change CKEditor Colors to Match Style (for 4.1.4 and above)

      Steve Machol Photography

      Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


      • John Campbell
        Senior Member
        • Nov 2004
        • 340

        Sorry wasnt intended to be a bump I had something that was messing up and I was loosing members.

        You know how it is. You have around 30 seconds to get what ever is going wrong fixed or everyone leaves.

        I went with this.
        <if condition="is_browser('ie')">
        sound code or would you know of a better method?


        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.