There is a section in the event/listener.php file for the Windows phone. Down past line 500.sc4t wrote: 03 Nov 2017, 11:12 Hello!
How to add Windows Mobile Phones?
Exemple: Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 640 XL LTE Dual SIM) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Mobile Safari/537.36 Edge/13.10586
Code: Select all
case (preg_match('/(iris|3g_t|windows ce|windows Phone|opera mobi|windows ce; smartphone;|windows ce; iemobile)/i',$user_agent));
$status = $this->user->lang['WSP'];
$mobile_browser = $windows;
break;(iris|3g_t|windows ce|windows Phone|opera mobi|windows ce; smartphone;|windows ce; iemobile)
Change that section to this...
Code: Select all
case (preg_match('/(iris|3g_t|windows ce|windows Phone|opera mobi|windows ce; smartphone;|windows ce; iemobile)/i',$user_agent));
if (preg_match('/Lumia 640 XL/i',$user_agent))
{
$status = $this->user->lang['L640XL'];
}
else
{
$status = $this->user->lang['WSP'];
}
$mobile_browser = $windows;
break;Code: Select all
'WSP' => 'Windows Smartphone',Code: Select all
'L640XL' => 'Lumia 640 XL',
I have you added at my place.







