vB4 IE11 browser detection and fixes

  • Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Radio

    ven0m

    Administrator
    Staff member
    Administrator
    Moderator
    Platinum
    xenForo 2.x.x
    xenForo 1.x.x
    Contributor
    vBulletin All Access Pass
    The Chest
    Verified
    Ultra Platinum VIP
    Platinum VIP
    Gold VIP
    Silver VIP
    Premium
    Member
    Jul 17, 2005
    20,497
    7,735
    321
    localhost
    Heisenberg submitted a new resource:

    - IE11 browser detection and fixes

    vB Version: 4.2.1

    IE11 gets along pretty well with vB4, though file downloads get a bit wonky due to some changes in how IE is detected.

    Please note, that 4.2.2 and beyond ALREADY includes these changes.

    In includes/functions.php find:

    Code:
    // detect macintosh

    Add above:

    Code:
    // Detect Modern IE11+
            if (strpos($useragent, 'trident') !== false AND !$is['opera'] AND !$is['ie'])
            {
                preg_match('#rv:([0-9\.-]+)#', $useragent, $regs);...

     
    Last edited: