XF 1.X Eklentiler - Browser Detection (Mobile/MSIE) | Xenforo Türkçe Destek, XenForo Eklenti ve Tema Topluluğu
Kaynak ikonu

XF 1.X Eklentiler Browser Detection (Mobile/MSIE) 1.3.3

indirmek için izniniz yok
Versiyon
xfversion 13, xfversion 14, xfversion 15
Addon Presentation

This Addon will allow you to check if the browser is Internet Explorer or is on a mobile device.

XenForo has its own function to check if the browser is on a mobile device or not but its coding is not finished yet. This addon will add some detection features thanks to the following script "
Lütfen içeriği görebilmek için Giriş yap veya üye ol.
".

This addon will also check if the browser is our beloved Internet Explorer and which is version (very useful for theme developers)

Installation

1) Upload the files in your forum directory
2) Import the addon xml file

Read me or get killed
  • If some addon requires this addon to be install, you just need to install it, that's all. No need to do anything else
  • To check how to use the new conditionals (available in templates and php using the XenForo visitor object), please read the Faq

The below paragraph was originally inside the FAQ, but the number of characters has exceeded 20 000:

For developers
If you don't want to force your user to install this addon, just use the visitor_setup listener and copy the structure of this addon. Change only the class names and the following line:

Kod:
$visitor = XenForo_Visitor::getInstance();

  //Check if mobile
  if( class_exists('Sedo_DetectBrowser_Listener_Visitor') && isset($visitor->getBrowser['isMobile']))
  {
  //External Addon
  $isMobile = $visitor->getBrowser['isMobile'];
  }
  else
  {
  //XenForo
  $isMobile =  XenForo_Visitor::isBrowsingWith('mobile');
  }
Yazar
XFdestek
İndirilme
3
Görüntüleme
283
İlk yayınlama
Son güncelleme
Değerlendirme
0.00 yıldız(lar) 0 rating
Lütfen Javascript'i etkinleştirin!Javascript'i etkinleştirin!