xenvn

Browser Detection - Xenforo 2 2.3.0

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:
You must log in to view
(5 lines)

Code:
You must log in to view
(6 lines)

Code:
You must log in to view
(5 lines)

PHP
PHP:
You must log in to view
(2 lines)

XF2.1 Page caching
The integration mobile detection with XF2.1+ full-page caching, add to the config.php this;
PHP:
You must log in to view
(5 lines)
 

Attachments

Last edited by a moderator:
Top