xF2 Add-on - Browser Detection | NulledTeam UnderGround | The Best Scripts Site In The World
Resource icon

xF2 Add-on Browser Detection 2.0.0

No permission to download
  • Read Our Rules

    Dont forget read our rules Nulled Team UnderGround Rules

  • You may not say thanks or replied bad language in a thread - Your reply will be removed and warning! You must be like us "overview" in the resource. You will be access to download in FREE SECTION ONLY! DO NOT PREMIUM SECTION! Is only upgrade to up account.
  • Please support our site and click on the advertised
  • Complete Installation Service

    Review Our XenForo Complete Installation Service
  • Multiple Accounts

    Dont forget we not allowed Multiple Accounts, so all of your accounts as well as your IP will ban

Compatible XF Versions 2.x
2.0, 2.1
A light-weight shim around Mobile_detect for XenForo 2

Usage (in templates)

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


Code:
You don't have permission to view the code content. Please Log in or register now. Log in or register now.

Code:
You don't have permission to view the code content. Please Log in or register now. Log in or register now.

Code:
You don't have permission to view the code content. Please Log in or register now. Log in or register now.
Usage (in php)

Code:
You don't have permission to view the code content. Please Log in or register now. Log in or register now.
XF2.1 Page caching

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

Code:
You don't have permission to view the code content. Please Log in or register now. Log in or register now.

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)
  • Like
Reactions: hanncrzzzz
Author
Admin
Downloads
7
Views
132
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Admin

Share this resource

AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock