New posts New resources New threads Most answered Most reaction Most viewed threads

Welcome to My iptv forum

  • Everyone is invited! My iptv forum is for everyone, new and advanced user alike!
  • Searching is key! Before you post a question, use the forum search feature to determine whether your topic has already been covered.
  • Do not start flame wars! If someone has engaged in behavior that is detrimental to the discussion -- spamming, harassment, etc -- report the post and we'll take a look.
  • Resource icon
    xF2 Add-on
    < Previous | Next >
    A light-weight shim around
    Please, Log in or Register to view URLs content!
    for XenForo 2

    Usage (in templates)

    The add-on injects the global variable $xf.mobileDetect, check that the variable is set before calling any methods to prevent errors during upgrades or if the add-on is disabled.

    HTML:
    Please, Log in or Register to view codes content!

    HTML:
    Please, Log in or Register to view codes content!


    HTML:
    Please, Log in or Register to view codes content!

    PHP:
    Please, Log in or Register to view codes content!


    XF2.1 Page caching

    The integration mobile detection with XF2.1+ full-page caching, add to the config.php this;

    PHP:
    Please, Log in or Register to view codes content!

    Contributing features or bug fixes
    Please create a Github Pull request via the "More information." link.

    Contributions

    If you appreciate this add-on, please consider a contribution via PayPal. Details will be provide via private conversation.

    Please contact me if you wish for different licencing arrangements.

    Licence

    See MobileDetectLicense.md for Mobile-Detect's licence (MIT licensed)

    Latest updates

    1. Browser Detection 2.3.0

      This add-on is now available on atelieraphelion.com Require XenForo 2.2+ Require php 7.2+...
    2. 2.2.0 - Feature/Maintenance update

      Implement caching wrapper around Mobile_detect::match calls. Forward unknown function calls to...
    3. 2.1.3 - Compatibility update

      3rd party add-on compatibility fix, rework how html element css injection works

    Similar resources

    18,028Threads
    63,130Messages
    62,344Members
    Pigfarmer44Latest member
    Top