OS & Browser Detection (version 1.5 is out) [20. 09. 2010.]

Started by Branko., December 06, 2008, 05:23:42 AM

Previous topic - Next topic

snoopy_virtual

Quote from: villasg on August 14, 2015, 07:38:18 AM
Quote from: cieplutki on August 10, 2015, 02:41:37 PM
Add windows 10 and Egde broweser (internet explorer) who check

Hi again

Edge 20.10240.16384.0 recognized as "42.0.2311.135 Chrome 42.0.2311.135"

Quote from: snoopy_virtual on August 13, 2015, 12:15:10 AM
Even better


// EDGE 
if(preg_match('/Edge\/([0-9a-z\+\-\.]+).*/si', $user_agent, $tmp_array) && !$client_data['browser'])
      {
      $client_data['browser'] = "Edge" . ($tmp_array[1] ? " ".$tmp_array[1] : "");
      $client_data['browser_icon'] = 'msie';
      }


Just in case they change the number 12.0 in a couple of weeks  8)

the same happened with this opinion .......

Any solution please ?


And Edge icon attached

The solution would be to use this:


// EDGE 
if(preg_match('/Edge\/([0-9a-z\+\-\.]+).*/si', $user_agent, $tmp_array) && !$client_data['browser'])
      {
      $client_data['browser'] = "Edge" . ($tmp_array[1] ? " ".$tmp_array[1] : "");
      $client_data['browser_icon'] = 'edge';
      }  


But to put it further up in the file, before the catch for Chrome

Around line 266 I think.

El verdadero sabio es aquel que lo ve todo, lo estudia todo, lo analiza todo y molesta poco.
A true wise man is he who sees everything, studies everything, analyses everything and hardly ever annoys.

villasg

Quote from: snoopy_virtual on August 14, 2015, 06:31:15 PM
But to put it further up in the file, before the catch for Chrome

Around line 266 I think.

Work this solution ! ! !



And chrome work fine too ! !


cieplutki





.


Innos

Quote from: cieplutki on August 15, 2015, 03:56:04 AM
Windows 10
Edge browser
Internet Explorer on mobile

I am using 2.0.12

After installing this now I get:
"The database value you're trying to insert does not exist: id_board"

Either I try to create a new thread or post a reply

Any ideas?

cieplutki

uninstall the update 2.0.12 most bbcode does not work  on it.




.

IVKE13

Hello,

where can I find add-on for detection of windows 10, anodoid (mobile)

shadav

Quote from: IVKE13 on July 11, 2021, 05:46:44 AM
Hello,

where can I find add-on for detection of windows 10, anodoid (mobile)
well seeing that the last post in this thread was back in 2016 (5 years ago) and seeing that the mod was last updated back in 2014 (7 years ago) I highly doubt that windows 10 was added to it just yet...
and well the mod author hasn't been active since 2015 (6 years ago), I wouldn't hold my breath for an updated

and per the original post it seems windows 7 was the highest version they went to with this mod
Quote from: Branko. on December 06, 2008, 05:23:42 AM
* Version 1.1 (18. 01. 2009.)
- Fixed Unefined index error in Subs-Post.php (SMF 2.x)
- Windows 7 support included
- Swedish translation added (thanks to P_cool)
- Portugeese translation added (thanks to joomlamz)
- Polish translation added (thanks to saneone)
- Spanish translation added (thanks to M-DVD)

although if you search this thread for windows, there are a few posts that may help you out

Advertisement: