News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

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

Exsharaen

At first installation I was quite surprised... the information has already been translated to Indonesian! I checked here but no translation yet... I think it's because I translated snoopy_virtual's httpBL mod :D

Here's my translation for Indonesian (UTF-8 if you don't mind):

Quote$txt['OS_Browser_Compatible'] = 'kompatibel';
$txt['OS_Browser_OS'] = 'Sistem Operasi';
$txt['OS_Browser_Unknown'] = 'Tidak Diketahui';
$txt['OS_Browser_Browser'] = 'Peramban';
$txt['permissiongroup_simple_view_os_browser'] = 'Lihat sistem operasi & peramban terdeteksi pada tulisan';
$txt['permissionname_view_os_browser'] = 'Lihat sistem operasi & peramban terdeteksi pada tulisan';
$txt['permissionhelp_view_os_browser'] = 'Jika aktif, anggota akan melihat sistem operasi dan peramban pada tiap tulisan, jika terdeteksi.'

Thanks for the mod :)

NanoSector

Simple Browser is detected as IE, for everybody's interest.

I didn't feel like digging even more into VB to just change SB's engine name from IE to SB.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Jorge D. Fuentes

I installed this solely because it would help me with HTTP-BL.
However, HTTP-BL's new version comes with a mini-version of this which lets me know the info without it going to the user's profile info when they post/reply.

So I uninstalled this... but I have a problem.  The area under the Member where this info goes... is now a long empty batch of space.
Here's an example of what happened.  Again, right now both the OS/Browser Plugin (yours), as well as the HTTP-BL Plugin, are uninstalled, but the table seems permanently changed:

snoopy_virtual


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.

shakaran

My blog: http://www.shakaran.net
Quijost: professional & reliable webhosting (with SMF support) http://www.quijost.com
Tivion: a player for streaming TV and Radio channels http://www.shakaran.net/blog/tivion
Spanish RPG game: http://www.apogeus.es & http://www.apogeus.es/ao

NanoSector

Quote from: Jorge D. Fuentes on December 28, 2010, 08:31:01 PM
I installed this solely because it would help me with HTTP-BL.
However, HTTP-BL's new version comes with a mini-version of this which lets me know the info without it going to the user's profile info when they post/reply.

So I uninstalled this... but I have a problem.  The area under the Member where this info goes... is now a long empty batch of space.
Here's an example of what happened.  Again, right now both the OS/Browser Plugin (yours), as well as the HTTP-BL Plugin, are uninstalled, but the table seems permanently changed:

Is there anyone with a big avatar?
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."


jmpenasse

#307
Hi !

First, many thanks for this mod !  :)

here is my small contribution :

french translation :

$txt['OS_Browser_Compatible'] = 'compatible';
$txt['OS_Browser_OS'] = 'OS';
$txt['OS_Browser_Unknown'] = 'Inconnu';
$txt['OS_Browser_Browser'] = 'Navigateur';
$txt['permissiongroup_simple_view_os_browser'] = 'Voir dans les messages le Navigateur et l\'OS détectés';
$txt['permissionname_view_os_browser'] = 'Voir dans les messages le Navigateur et l\'OS détectés';
$txt['permissionhelp_view_os_browser'] = 'Si activé, le membre verra dans chaque message le Navigateur et l\'OS détectés, si disponibles.';



I've something to suggest : could you add the langage used by the browser ?

My own OS is detected as "Windows Server Home/Server 2003". In fact my OS is :
Windows XP Professional x64 Edition Version 2003 Service Pack 2
For information, my browser useragent  string is :
Mozilla/5.0 (Windows; U; Windows NT 5.2; fr; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
HTH

cheers

TheListener

Mod has been installed yet despite setting permissions and checking all files intact nothing shows.

Am using RC4

żεχเ๏ภ

I'm using the latest version of Flock, which is indeed a version of Chrome... It but it is different. And it detects my browser as "Browser:
Chrome 7.0.517.442"

So.. It's no big deal, just saying. Thought someone might want to know.




Jason

TheListener

Quote from: Brack1 on January 22, 2011, 07:27:46 AM
Mod has been installed yet despite setting permissions and checking all files intact nothing shows.

Am using RC4

BUMP

Masterd


TheListener

Quote from: Masterd on January 25, 2011, 02:50:44 PM
Do you have anything in your error log?

No errors in the error log.

The annoying thing is the mod works perfect on the test forum.

(Looks good too.)

Edit: Sorted the problem out. It now works on the main forum. I cheated by using the test forums display template file.

:o

Masterd



Arantor

I believe that was a question only missing the politeness and detail - whether this is going to be updated for 2.0 RC5 or not.
Holder of controversial views, all of which my own.


Masterd


Enc0der

Quote from: Leto Atreides II on August 12, 2010, 11:01:27 PM
I tried installing this a couple of times and kept getting the same error message:

Quote6.     Execute Modification     ./Sources/Display.php     Test failed
Apparently in /Sources/Display.php, I'm supposed to find:

Find[Select]
k.message AS is_repped

Add After[Select]
, m.ua_os, m.ua_browser, m.ua_os_icon, m.ua_browser_icon

... I opened /Sources/Display.php manually, there is no 'k.message AS is_repped' anywhere in the code. I even searched for parts of it - 'message' and 'repped' - in case the coding was there but different; but I couldn't find any of it.

I'm running SMF 2.0 RC3 on this particular forum:

http://www.kriegbrut.org/boards/board/index.php


Same here.
Please fix and make this mod compatible with RC5.

Thank you

NanoSector

My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Masterd

Quote from: Enc0der on March 08, 2011, 07:34:54 AM
Same here.
Please fix and make this mod compatible with RC5.

It's working just fine on my SMF 2.0 RC5 forum. Can you attach your Display.php?

Advertisement: