Password
thejavasea.com
A light-weight shim around
Please Login or Register to view 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.


Code:
Please Login or Register to view content


XF2.1 Page caching

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

PHP:
Code:
Please Login or Register to view 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.
Author
Marks-Man
Downloads
7
Views
744
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Marks-Man

Latest updates

  1. 2.2.0

    Implement caching wrapper around Mobile_detect::match calls. Forward unknown function calls to...
Tags
add ons browser detection browser detection download add ons browser detection xenforo add ons browser detection xon
Top