PDA

View Full Version : Forum Display Enhancements - UADisplay


EliasAlucard
03-01-2013, 11:00 PM
This plugin is a superior fork (http://en.wikipedia.org/wiki/Fork_%28software_development%29) based on nhawk's plugin:

https://vborg.vbsupport.ru/showthread.php?t=280899

Various issues led to me releasing this fork, in any case, if you're using nhawk's older plugin, you must uninstall it before you install UADisplay 1.1; I am not responsible for whatever it might screw up with your vBulletin database if you install UADisplay on top of his older plugin; they are not compatible with each other as far as I know.

I welcome code input, improvement and additional features requested by vBulletin.org members. However, if you want to help out, since this is a copyleft open source plugin, you must agree to release your code under the GNU GPL v3.

If you want me to add your browser/OS, you need to give me your unsupported user agent string. Go here:

http://id.furud.net/

^^ Copy/paste the full user agent string and post it in this thread, so that I can study the code, like this:

Mozilla/5.0 (Linux; Android 4.0.4; GT-I9300 Build/IMM76D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19

And you'll get this:

https://vborg.vbsupport.ru/external/2014/12/7.png

Features:

Display members' operating system and/or browser in postbit profile, threads and other areas.
Hover over logos for more detailed information.
Forbid usergroups from seeing a member's operating system/browser type.
Select the use of CSS Sprites or regular PNG logos.
Settings in Admin Control Panel

* INSTALLATION & UPGRADE*
----------------------------------
1) Upload the content of the 'upload' folder to your forum's root.
(If your forum's location is http://www.example.com/forums/, the root is /forums/)

2) Import the product XML file (product-uadisplay.xml) into the Product Manager in AdminCP.

3) Go to ACP->Settings->Options->EliasAlucard - User Agent Display Settings and make your selections for the add-on.

* History (Changelog) *
------------------------------
UADisplay changelog:

* v1.1.1 (06 March 2013)
- Yandex Browser
- GNU Hurd (better, more thorough GNU detection will be added in later releases)
- Corrected rekonq detection
- Old Netscape Navigator icon, now redone from a higher resolution, better looking source
- Full Arora detection this time
- Superbird
- Tapatalk
- QupZilla

* v1.1 (02 March 2013)
- New codebase, based on nhawk's/Snog's modification of X3mE's Simple Machines Forum plugin, which in turn was based on Marcin Krol's PHP Web Browser Identifier v0.9
- Full vBulletin 4 compatibility (UADisplay 1.0 had a different codebase and worked on vB4, but was mainly designed for vB3)
- Icons now have version numbers when hovered over by the mouse (if supported by the user agent string; this feature was lacking in UADisplay 1.0)
- Settings in Admin Control Panel (this was also lacking in UADisplay 1.0 and it is a new feature from nhawk's plugin)
- CSS sprites, also from nhawk's plugin
- Redid and resized all icons from 19 to 24 pixels; this may increase in a later update when I have time, to 29 pixels
- Changed location of uadisplay.php from includes folder to forum root for additional security; no need to have it in a sensitive folder like includes
- Added icons/identification for:
-- Android Mobile and Android Tablet (works only in Firefox for now), Android Opera
-- Android 1.5 to 4.2 (with specific icons, from Cupcake to Jelly Bean)
-- Android Browser
-- Arch Linux
-- Arora
-- Chrome OS
-- Chrome on iOS
-- Chromium
-- Comodo Dragon (Comodo removed their user agent string for some stupid reason something like after version 20, so it's not my fault if it doesn't show up any longer; email Comodo and complain)
-- Comodo IceDragon
-- CyanogenMod (just icon for now, full support in the next release)
-- Dolphin (experimental)
-- Fennec (older versions of mobile Firefox, up to 10.0.5; Mozilla dropped the Fennec string after v.10, so it's not my fault)
-- IceCat
-- iOS
-- iPad/iPod (this one was a real tricky hack, thanks Apple, for complying with web standards! "Great products" and "it just works", for iDiots!)
-- Midori
-- NetFrontLife
-- Rekonq
-- Sleipnir
-- Songbird
-- SRWare Iron
-- Tizen (icon, until Tizen is released)
-- Waterfox (still waiting for Waterfox developer to add Waterfox's unique user agent string, but icon is there until he adds it)
-- webOS
-- Windows Phone
-- various GNU/Linux distribution icons, not all of which are supported yet due to lack of specific user agent string (Sabayon, Trisquel etc.)
- Changed:
-- File names for various Windows icons; also updated Windows icons to circular, better looking versions, and removed redundant Windows names (Windows 7/Server 2008 R2 = Windows 7, etc., since most forum members post from their desktop operating systems, and not from the server versions)
-- FreeBSD, OpenBSD, DragonFly BSD and NetBSD now all show their own icons
- Updated identification of Ubuntu to version 13.04 (this may not be necessary seeing as how Canonical is increasingly removing version numbers in the user agent string for some odd reason, but it works up to 12.10 with older versions of Chromium, at least)
- Improved Ubuntu identifcation with Firefox
- Updated Chrome icon to modern version
- Removed:
-- Generic mobile devices; these are no longer needed since very few people browse the web with their old cell phones nowadays (and they certainly don't post with them on forums that much either), and they are conflicting with newer Android phones/tablets by the same manufacturers.
-- And some other changes I can't remember right now off of the top of my head

Mr_Devlin
03-02-2013, 11:06 AM
No Files Uploaded - lol. Author may have forgot to upload his mod.

EliasAlucard
03-02-2013, 11:20 AM
No Files Uploaded - lol. Author may have forgot to upload his mod.Nah, I was just doing the md5/sfv files, fixed and uploaded now, enjoy.

Nirjonadda
03-02-2013, 11:55 AM
Please post Admin CP Setting ScreenShot?

EliasAlucard
03-02-2013, 12:21 PM
Please post Admin CP Setting ScreenShot?Okay, done. Those are the settings I use, works fine.

Regards

BadgerDog
03-02-2013, 12:37 PM
Installed with thanks for testing on 4.1.3 .. :)

Regards,
Doug

Nirjonadda
03-02-2013, 12:46 PM
Thanks ! But Does it work with old post or only work with new post ?

BadgerDog
03-02-2013, 12:46 PM
Product installed correctly, although it took a very long pause before it started doing the "template" update routine... maybe doing something to database?

Activated it under options in AdminCP and turned on specific user groups, setting it to appear below user titles.

Checked forum and nothing appears in postbit anywhere ... :down:

Tried every other location to have it appear and still nothing .. :down:

Want to uninstall this, but I'm wondering if it will screw up my database if I try that?

At least in current state, site still runs and displays properly.

If anyone else un-installs this and it does that properly, please let me know...

Thanks to developer for his efforts .. :)

Regards,
Doug

EliasAlucard
03-02-2013, 12:53 PM
Product installed correctly, although it took a very long pause before it started doing the "template" update routine... maybe doing something to database?

Activated it under options in AdminCP and turned on specific user groups, setting it to appear below user titles.

Checked forum and nothing appears in postbit anywhere ... :down:

Tried every other location to have it appear and still nothing .. :down:

Want to uninstall this, but I'm wondering if it will screw up my database if I try that?

At least in current state, site still runs and displays properly.

If anyone else un-installs this and it does that properly, please let me know...

Thanks to developer for his efforts .. :)

Regards,
DougYou must enable OS and Browser, do it like I did in the screenshot, and it'll work. No, it won't screw up anything in your database if you uninstall it. But if you uninstall it, you'll lose UADisplay's plugin history, which is fine now, but if you have thousands/millions of posts with this plugin, you'll lose all their OS/Browser icons.

Thanks ! But Does it work with old post or only work with new post ?No, only new posts, since old posts didn't save the user agent string.

By the way, if you want me to add your browser/OS, you need to give me your unsupported user agent string. Go here:

http://id.furud.net/

^^ Copy/paste the full user agent string and post it in this thread, so that I can study the code, like this:

Mozilla/5.0 (Linux; U; Android 3.0; en-us; Xoom Build/HRI39) AppleWebKit/534.13 (KHTML, like Gecko) Version/4.0 Safari/534.13

Loki12
03-02-2013, 04:22 PM
Installed - looks great! My members are going to love this.

BadgerDog
03-02-2013, 04:40 PM
No, only new posts, since old posts didn't save the user agent string.


I didn't realize that... :o

So, I created a new test post and yes, the icons now appear ... :up:

Thanks.. I'll continue testing...

Regards,
Doug

Justinphx
03-02-2013, 10:17 PM
Installed and works fine on my V4.12.p2 .

Great additions in this mod and thanks for making all the operating systems/browsers current to 2013.

sadiq6210
03-03-2013, 07:55 AM
Installed + 5 stars + nominated

It is working perfect for me, appreciate your effort
But I don't like to increase the icons to 29px in future, 24px seems very big for me :)

- Redid and resized all icons from 19 to 24 pixels; this may increase in a later update when I have time, to 29 pixels

EliasAlucard
03-03-2013, 08:25 AM
Installed + 5 stars + nominated

It is working perfect for me, appreciate your effort
But I don't like to increase the icons to 29px in future, 24px seems very big for me :)I won't be making 29px the default. I'll probably add 19px and 29px in a separate folder later on, for those of you who want to use custom image size depending on which you think looks best. 24px is pretty good though, to capture the details on some of the finer logos.

The vB4 Postbit Controls is the only area where pixel size could be an issue, and it is limited to 27 pixels in height, so 29 pixels shouldn't work with that setting in mind. In any case, 24px will be default for some time to come, probably forever.

Baghira
03-03-2013, 09:02 AM
Hi there,

do you plan to detect IE on Windows Phone 7 and 8?

EliasAlucard
03-03-2013, 09:12 AM
Hi there,

do you plan to detect IE on Windows Phone 7 and 8?Sure. It's not working? Just give me the user agent string.

Baghira
03-03-2013, 09:29 AM
Don?t know really. will test it in near future ;) just have to solve another problem with tabbed forum home first^^ cant get this to work^^

EliasAlucard
03-03-2013, 09:38 AM
Don?t know really. will test it in near future ;) just have to solve another problem with tabbed forum home first^^ cant get this to work^^As far as I know, MSIE works on Windows Phone (I added support for Windows Phone in the 1.1 release, and user agent string for Internet Explorer on Windows Phone is the same as Windows).

EliasAlucard
03-04-2013, 05:22 PM
Ok guys, next release will include support for the Yandex Browser (http://en.wikipedia.org/wiki/Yandex_Browser). Any other browser that is not working with the current 1.1. release? If so, let me know so that I can add it, and don't forget to give me the user agent string. Thanks!

Loki12
03-04-2013, 05:52 PM
It conflicts with this template edit: How to reduce space in postbit (https://vborg.vbsupport.ru/showthread.php?threadid=230859).

davidg
03-04-2013, 10:00 PM
Superbird browser is detected as Safari

User Agent Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.11 (KHTML, like Gecko) SuperBird/23.0 Safari/537.11

sweetpotato
03-05-2013, 07:20 AM
Just replace nhawk's mod by this mod. Work for me but images loading slow
Thanks,

BadgerDog
03-05-2013, 10:24 AM
Sent a test post from my iPad and it shows with an IOS icon, but says IOS 5.0 (iPad) and not IOS 6.1.2 which is what is actually running on the iPad.

It also shows a Safari 5.1 browser, when it's actually running Atomic Browser, but that's ok as Atomic Browser permits the user to set and mimic whatever user agent you wish. I have set it to Safari 5.1, so it's reporting it correctly.

Hope this helps... :)

Regards,
Doug

EliasAlucard
03-05-2013, 10:48 AM
It conflicts with this template edit: How to reduce space in postbit (https://vborg.vbsupport.ru/showthread.php?threadid=230859).I'm not sure how much I can do about that, but if you go to UADisplay's admincp and place the icons in "In Postbit Controls", this will probably be fixed. If not, well, then there's not much I can do, unless the developer of that template wants to help out.

Superbird browser is detected as Safari

User Agent Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.11 (KHTML, like Gecko) SuperBird/23.0 Safari/537.11Thanks, never heard of that browser, but I've included it in the next release, and it's working fine.

Just replace nhawk's mod by this mod. Work for me but images loading slow
Thanks,I suggest you enable CSS then.

Sent a test post from my iPad and it shows with an IOS icon, but says IOS 5.0 (iPad) and not IOS 6.1.2 which is what is actually running on the iPad.

It also shows a Safari 5.1 browser, when it's actually running Atomic Browser, but that's ok as Atomic Browser permits the user to set and mimic whatever user agent you wish. I have set it to Safari 5.1, so it's reporting it correctly.

Hope this helps... :)

Regards,
DougDoes Atomic Browser have its own user agent string? Not all WebKit based browsers do. Please give me the user agent strings from the exact browsers you used, otherwise I can't do much if I can't use an identical UA string and replicate the problem to study it. Go here with your iPad:

http://id.furud.net

And give me the useragent.

BadgerDog
03-05-2013, 10:59 AM
I'm not sure how much I can do about that, but if you go to UADisplay's admincp and place the icons in "In Postbit Controls", this will probably be fixed. If not, well, then there's not much I can do, unless the developer of that template wants to help out.

Thanks, never heard of that browser, but I've included it in the next release, and it's working fine.

I suggest you enable CSS then.

Does Atomic Browser have its own user agent string? Not all WebKit based browsers do. Please give me the user agent strings from the exact browsers you used, otherwise I can't do much if I can't use an identical UA string and replicate the problem to study it. Go here with your iPad:

http://id.furud.net

And give me the useragent.

Native Apple Safari on iPad returns this ..

? Mozilla/5.0 (iPad; CPU OS 6_1_2 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B146 Safari/8536.25 ?

3rd party Atomic Browser on iPad returns this:

? Mozilla/5.0 (iPad; U; CPU OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3 ?

Regards,
Doug

EliasAlucard
03-05-2013, 11:39 AM
Native Apple Safari on iPad returns this ..

• Mozilla/5.0 (iPad; CPU OS 6_1_2 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B146 Safari/8536.25 •

3rd party Atomic Browser on iPad returns this:

• Mozilla/5.0 (iPad; U; CPU OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3 •

Regards,
DougWorks absolutely perfect, as you can see:

http://www.forumbiodiversity.com/showthread.php/40547-UADisplay-(vBulletin-browser-OS-user-agent-plugin)?p=1098739&viewfull=1#post1098739

I can't do anything about that Atomic browser if it doesn't have its own unique user agent string.

Which is why all browser developers should be informed about this thread, because part of the reason I'm taking this plugin so seriously (other than it being a very cool plugin), is about trying to influence web developers into a consistent user agent standard. Current user agent strings are all one big mess. Hopefully, this plugin will influence browser developers to think twice if they want their browser supported.

Edit:

By the way, it seems like you mixed up the Atomic browser with the native Safari browser; UADisplay is reporting exactly what the user agents are telling it to report, it can't detect if the user agents are fake.

BadgerDog
03-05-2013, 03:03 PM
Thanks .. :)

We're also seeing a lot of users starting to use a mobile device access APP called "Tapatalk" which is a front end for vBulletin access.

The OS icon comes up as "unknown" and the agent shows as this:

Mozilla/5.0 Firefox/3.5.6 Tapatalk 2/2.0.3

Perhaps you could add an icon of some sort that shows they posted with Tapatalk?

Here's an icon attached that they use...

Regards,
Doug

EliasAlucard
03-05-2013, 11:47 PM
UADisplay 1.1.1 released, enjoy ;)

BadgerDog
03-06-2013, 10:04 AM
Updated for testing with thanks .. :)

Question.. is the Tapatalk addition supposed to show "unknown", or the Tapatalk icon?

If the latter and at least on our site, it's still showing a ? unknown symbol for the OS..

Regards,
Doug

EliasAlucard
03-06-2013, 10:46 AM
Updated for testing with thanks .. :)

Question.. is the Tapatalk addition supposed to show "unknown", or the Tapatalk icon?

If the latter and at least on our site, it's still showing a ? unknown symbol for the OS..

Regards,
DougIt worked for me when I tried it. Could you give me the user agent string that's showing unknown?

BadgerDog
03-06-2013, 10:51 AM
It worked for me when I tried it. Could you give me the user agent string that's showing unknown?

I wonder if it's because I'm looking at a past thread that was created by a Tapatalk user and it still shows the old icons?

Will these new icons only appear on newly created threads going forward?

Thanks, appreciate the update and support ... :)

Regards,
Doug

djbaxter
03-08-2013, 01:22 AM
I found the icons supplied with this mod to be much too large for my forum. I've downsized all of them so that the max dimension (width or height) is 15 px.

Attached here in case anyone else wants smaller icons.

I don't know how to adjust the mod to accept the smaller icons as a CSS sprite, however, If the coder or anyone else can tell me how to that, I'd appreciate it.

EliasAlucard
03-08-2013, 05:56 AM
^^ Thanks, I was planning on providing several icon sizes (19px, 29px), so this was much appreciated. I'll include your zip in the next release.

djbaxter
03-08-2013, 01:05 PM
If you're running Windows, this "free for personal use" batch image resizer (can also do many other things like multiple renaming, etc.) works well: http://www.multipleimageresizer.net/download.aspx

iask
03-10-2013, 07:30 AM
Tapatalk work not iphone.

EliasAlucard
03-11-2013, 11:20 AM
^^ I need the user agent string.

BadgerDog
03-11-2013, 12:10 PM
Tapatalk work not iphone.

I found it works (sort of), but it displays Tapatalk as the operating system and FireFox as the browser, when in fact Tapatalk is an iPhone/iPad app running on IOS, so, something is mixed up... ;)

Regards,
Doug

sadiq6210
03-11-2013, 12:39 PM
I have a strange problem with this mod
It works perfect for few days and after that it stops suddenly!
This repeated many times

Now nothing is appearing
If I uninstall it and install it again then it will work but I don't want to lost the data after every period

What do you think? I didn't change anything, suddenly it stopped ! It is like a magic !
Do you have any idea about how can I know the causes of this issue?

EliasAlucard
03-11-2013, 01:17 PM
I found it works (sort of), but it displays Tapatalk as the operating system and FireFox as the browser, when in fact Tapatalk is an iPhone/iPad app running on IOS, so, something is mixed up... ;)

Regards,
Doug^^ That's because of the user agent string you provided for Tapatalk last time (https://vborg.vbsupport.ru/showpost.php?p=2408069&postcount=27):

Mozilla/5.0 Firefox/3.5.6 Tapatalk 2/2.0.3

It only reads the user agent string.

I have a strange problem with this mod
It works perfect for few days and after that it stops suddenly!
This repeated many times

Now nothing is appearing
If I uninstall it and install it again then it will work but I don't want to lost the data after every period

What do you think? I didn't change anything, suddenly it stopped ! It is like a magic !
Do you have any idea about how can I know the causes of this issue?Did you install any new plugins that could be conflicting with UADisplay? Did you edit anything in the uadisplay.php?

It has been working very stable for me non-stop, so I've never had this problem. You must have done something on your end, that's all I can think of.

sadiq6210
03-11-2013, 03:51 PM
Did you install any new plugins that could be conflicting with UADisplay? Did you edit anything in the uadisplay.php?

It has been working very stable for me non-stop, so I've never had this problem. You must have done something on your end, that's all I can think of.

No I didn't install new plugin nor edited the uadisplay.php
I updated from 1.1 to 1.1.1 (overwrite) and it is working now.

Thanks dear

BadgerDog
03-11-2013, 05:10 PM
^^ That's because of the user agent string you provided for Tapatalk last time (https://vborg.vbsupport.ru/showpost.php?p=2408069&postcount=27):

Mozilla/5.0 Firefox/3.5.6 Tapatalk 2/2.0.3

It only reads the user agent string.

That may be true, but the only way I could provide you with a user agent was to be outside the Tapatalk App using a browser when executing the link http://id.furud.net/

When the iPhone/iPad Tapatalk app is running, the user can't execute a browser link, so I have no idea what it would return, but it should return IOS as the operating system and the browser would be the Tapatalk icon....

Regards,
Doug

EliasAlucard
03-11-2013, 05:53 PM
^^ I see. Well, search for Tapatalk in your server logs then. I have Tapatalk disabled on my forum, so I can't use my own server logs. Please provide me with Tapatalk UAs from various operating systems (Android, iOS etcetera).

RichieBoy67
03-20-2013, 01:47 PM
Great work Elias!! I don't really need this but some of my clients may want it at some point so I clicked install.

If you need help working on it let me know.

Take care mate,
Rich

EliasAlucard
04-05-2013, 08:04 PM
Word 'round the campfire is that Google is forking WebKit into "Blink":

http://blog.chromium.org/2013/04/blink-rendering-engine-for-chromium.html

This means all Chromium based browsers in UADisplay must support Blink as well, or I may have to remove "webkit" from the identification string. We'll see. In any case, if Chrome suddenly stops working and shows the "unknown" icon, let me know so that I can fix it ASAP.

EliasAlucard
04-23-2013, 05:54 AM
So vBuletin 4.2.1 has finally been released:

http://www.vbulletin.com/forum/forum/vbulletin-announcements/vbulletin-announcements_aa/3962834-vbulletin-4-2-1-full-has-been-released

Has anyone upgraded to 4.2.1 and if so, does UADisplay work properly?

naisho
04-23-2013, 06:07 AM
Yes, it works fine on vb 4.2.1

EliasAlucard
04-23-2013, 09:34 AM
Yes, it works fine on vb 4.2.1Great, can anyone else corroborate this? No validation errors or anything? If so, I'm upgrading to 4.2.1 today. I'll also be releasing 1.1.2 soon, which will have some more browser support and also various icon sizes and for those who want to use them, the older Chrome/Chromium icons.

By the way, does anyone have any problems with placing the icons in the postbit controls? I've never noticed any broken styles with having them there, not sure what nhawk was referring to but it works just about perfect to have the icons in postbit controls, and it looks best to have it there in my opinion.

sweetpotato
04-23-2013, 10:50 AM
Just upgrade my site to 4.2.1. This mod works fine :D

sadiq6210
04-23-2013, 11:26 AM
which will have some more browser support and also various icon sizes and for those who want to use them.

Great
I need the smaller icons :)

djbaxter
04-23-2013, 12:48 PM
So vBuletin 4.2.1 has finally been released:

http://www.vbulletin.com/forum/forum/vbulletin-announcements/vbulletin-announcements_aa/3962834-vbulletin-4-2-1-full-has-been-released

Has anyone upgraded to 4.2.1 and if so, does UADisplay work properly?

I have upgraded 2 (out of 5) forums so far with this add-on in place. Working fine for me. All templates merged correctly during the upgrade.

A very easy upgrade, all in all.

I'd still like to get sprites for the smaller icon sizes I posted a while back.

kether1
05-17-2013, 02:06 PM
Thanks for this modification!

Did you get a chance to make the sprites for the smaller icons yet?
Kether

Taurus1
05-29-2013, 09:35 AM
How to get this to work properly with Tapatalk please? Not sure how to get the full user agent string while browsing with Tapatalk. Thanks.

vBarsiv
06-04-2013, 09:59 PM
Do have the appropriate one to the old version? Because i need for 3.8.x

I.G.O.T.A.
06-06-2013, 01:36 PM
I uploaded this all correctly and not working. I'm on vB 4.2.1. Any ideas for what I should check?

Gadget_Guy
07-02-2013, 02:25 AM
Will this version install into 3.8.x ?

I have the old version but would like to upgrade it to the latest if this will work.

D.

EliasAlucard
07-20-2013, 01:06 PM
I have upgraded 2 (out of 5) forums so far with this add-on in place. Working fine for me. All templates merged correctly during the upgrade.

A very easy upgrade, all in all.

I'd still like to get sprites for the smaller icon sizes I posted a while back.Yeah, I've been on vB 4.2.1 for a while now as well, UADisplay works great on it.

As for the smaller sized icons, the thing is, they take a lot of time to resize because you have to pay attention to a lot of details such as cropping, and sometimes, making the icon background transparent (some icons aren't transparent PNGs, so you have to remove some white background). Not only that, but it's a lot of work putting them all in one CSS-compatible PNG file (measuring the exact location in the XML file etc). I'll be redoing the various sizes when I have a lot of free time, which won't be anytime soon.

In the meantime, I'll be updating UADisplay soon with detection of the new WebKit/Blink based Opera, and next version of Android; I'm waiting for the official naming version of Android 4.3 and I may also add support for Internet Explorer 11 (Microsoft has changed the user agent from version 11) in this next update.

Do have the appropriate one to the old version? Because i need for 3.8.xI've retired UADisplay 1.0 but if you want a similar plugin, you can use Fighter1405's old plugin:

https://vborg.vbsupport.ru/showthread.php?t=219687

^^ However, that one has less functionality, less detection for newer operating systems and browsers, older icons, and more importantly, when you upgrade to vB4, while it works on vB4, it won't look as good as UADisplay 1.1+ so you'll probably have to disable or uninstall it, and install UADisplay 1.1+ anyway. So if you really want to use this plugin, I'd recommend upgrading to vB4; vBulletin 4 isn't bad by the way, it's vB5 that completely sucks.

Skyrider
08-15-2013, 08:53 AM
^^ Copy/paste the full user agent string and post it in this thread, so that I can study the code, like this:

Mozilla/5.0 (Linux; Android 4.0.4; GT-I9300 Build/IMM76D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19
Is there anyway such information can be view able by the admins? I really like to see more additional information (full user agent string) and history of user agent strings rather than showing what OS / Browser they are using in low detailed info.

djbaxter
08-30-2013, 11:46 AM
vBulletin 4.2.1

Blackberry Playbook shows up as unknown device.

BadgerDog
10-03-2013, 09:15 AM
Is there going to be an update to this excellent mod?

Running 1.1.1 and there seems to be user agents now that it can't identify or show icons for. I have a user with a brand new iPad and it's showing a "?" for the OS? (see pic)

He's accessing our site with Tapatalk and I have other users also using Tapatalk on iPads and the Tapatalk icon shows up for them, but not him? He's using the HD version of Tapatalk, so would that make the difference?

Thanks ..

Regards,
Doug

djbaxter
10-03-2013, 01:32 PM
I'm seeing more of those lately as well.

ahobilam
10-04-2013, 02:16 PM
It is not displaying anything in our forum 4.2.1
both in default style and customized style.
Uninstalled.

EliasAlucard
10-14-2013, 08:30 PM
Is there going to be an update to this excellent mod?I'm going to update it soon, and I would have updated it months ago. Thing is, I've been busy IRL, and my forum also got hacked, so I have to work on that before I can work on UADisplay. Among other things, I plan on adding support for MSIE11, Android 4.4 KitKat, and some other stuff (I've already fixed support for the new WebKit/Blink Opera browser).

It is not displaying anything in our forum 4.2.1
both in default style and customized style.
Uninstalled.You have to enable the icons through those checkboxes in admincp, check the screenshot in this thread.

iask
10-18-2013, 07:55 AM
Work not for Windows 8.1

EliasAlucard
10-20-2013, 10:56 PM
^^ Yeah, I'll be adding support for Windows 8.1 in the next update.

iask
11-17-2013, 04:45 AM
update ?

djbaxter
11-17-2013, 03:24 PM
update ?

You really should try to read first instead of wasting people's time. See just above your post:

I'm going to update it soon, and I would have updated it months ago. Thing is, I've been busy IRL, and my forum also got hacked, so I have to work on that before I can work on UADisplay. Among other things, I plan on adding support for MSIE11, Android 4.4 KitKat, and some other stuff (I've already fixed support for the new WebKit/Blink Opera browser).

sadiq6210
11-20-2013, 09:42 PM
Some users said that they are using IE while it shows (mozilla) icon

Maybe the used IE11 which is not added to this mod?

EliasAlucard
12-01-2013, 02:06 AM
Okay, I got my forum secured and up and running again, so I'll be releasing UADisplay 1.1.2 later this month, possibly next week. I'll skip the other icon sizes for now, takes too long to resize all of them and then fix them in the CSS. But I'll fix different icon sizes later on. Main priority now is adding more support for various browsers/OS. I've added IE11 and Windows 8.1, as well as Android 4.4. What else have I missed for the next update? Any new GNU/Linux distro with a new, unique user agent string, or all they all identifying as Linux and/or Ubuntu nowadays?

If anyone has PS4 and Xbox One user agent strings, please post them here.

Edit:

I found PS4's UA string.

sadiq6210
12-01-2013, 03:56 AM
I've added IE11 and Windows 8.1, as well as Android 4.4

This is the most important for us
Thanks for support

Robru
12-02-2013, 06:01 PM
Windows 8.1

Mozilla/5.0 (Windows NT 6.3; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0

sv1cec
12-04-2013, 09:58 AM
Installed on 4.2.2 but not showing any icons, no matter what. Removing.

EliasAlucard
12-05-2013, 01:08 PM
Installed on 4.2.2 but not showing any icons, no matter what. Removing.You have to actually enable the checkboxes, per these settings:

https://vborg.vbsupport.ru/attachment.php?attachmentid=144004&d=1362230443

sv1cec
12-05-2013, 01:16 PM
I think I did. Only for admins.

I'll give it another shot.

EliasAlucard
12-05-2013, 01:58 PM
I think I did. Only for admins.

I'll give it another shot.You also have to enable the rest ("Enable UA/Display" etcetera). And only new posts show browser/OS icons, not old ones.

sv1cec
12-05-2013, 04:08 PM
Stupid me, I was waiting for the icons to display on older posts

It works, sorry for being stupid.

sadiq6210
12-18-2013, 11:40 PM
Any update for IE11 & win8 ?

EliasAlucard
12-22-2013, 08:33 PM
Any update for IE11 & win8 ?In a few days or so ;)

iask
01-04-2014, 08:33 AM
Any update ?

iask
02-16-2014, 06:37 AM
Any update for IE11 & win8

z3r0
09-25-2014, 04:14 PM
Any update for IE11 & win8

I've just added 8.1 and IE11.

BadgerDog
09-25-2014, 04:38 PM
I've just added 8.1 and IE11.

Thanks...

Appreciate you stepping in and updating it.. :up:

Regards,
Doug

EliasAlucard
10-07-2014, 02:12 PM
New update will be released soon, terribly sorry about the lack of updates recently, but I've just not had the time/energy for this and other stuff.

BadgerDog
10-28-2014, 10:09 AM
Any news on official update to handle new versions of browsers?

Also, I have a user who's user agent doesn't show up....

On his computer, he's using aSpyBot (http://www.safer-networking.org) for protection against malware, adware, and spyware. He says he's also running Disconnect (https://disconnect.me) to protect his online privacy.

I assume that one or both of these add-ons are blocking UADisplay from being able to detect his user agent and display it?

Thanks...

Regards,
Doug

sv1cec
11-09-2015, 12:28 PM
Any chance of having an upgrade on this? Windows is now at version 10 and this mod is still at 8.1. We would appreciate a newer version.

z3r0
11-09-2015, 03:01 PM
Give this a try, I've only given it a quick test but it seems to do the trick.

Added - Windows 10 & Edge Browser.

Icons need to be added to the images/uadisplayicons folder

sv1cec
11-09-2015, 03:19 PM
I'll give it a shot, thanks man!

EliasAlucard
11-15-2015, 10:49 PM
Hello, thanks for keeping this plugin up to date guys, but I'll update it soon with all the new relevant browsers and operating systems, I've just been too busy with life in general to tinker with this, but I haven't given up on this plugin.

rhody401
03-30-2016, 11:25 AM
Great plugin. Hopefully you have time to update it soon with the past 3 years of new browsers and operating systems.

BadgerDog
03-30-2016, 11:34 AM
Original developer hasn't been on since last November...

I wonder if we could get someone else to update this mod?

Regards,
Doug

BadgerDog
05-03-2016, 10:16 AM
Anyone able to take over and update this excellent mod?

It's been really helpful to our site ..

Thanks .. :)

Regards,
Doug

z3r0
06-14-2016, 09:09 AM
Works fine on my sites.

z3r0
06-16-2016, 08:02 AM
Well you sort it out and post the fix then, as I said it works fine on all my sites.

Ok I'll concede I misnamed the icon in the upload, it should be icon_edge.png but other than that it's fine.

X-or
06-16-2016, 11:06 AM
Well you sort it out and post the fix then, as I said it works fine on all my sites.

Ok I'll concede I misnamed the icon in the upload, it should be icon_edge.png but other than that it's fine.

It isn't fine, I have looked at your code, and you didn't know what you were doing. There is not a chance it can display a proper win 10 or edge icon.

No offense, I know you were just trying to help others, but you should add a disclaimed "I'm not a developer, so use at your own risk" instead of risking messing up people's sites. This is just common sense.

I've filed a report.

EliasAlucard
09-25-2016, 11:46 AM
Anyone able to take over and update this excellent mod?Not needed, I'm working on it now! Just added Windows 10, and I'll be adding Vivaldi, Edge, PS4 etc. soon too, and other browsers and operating systems. However, code suggestion (if needed, such as improving bugs, adding new features or whatever) is much welcome in this thread, with the understanding that you release the code into a GPL v3 (https://en.wikipedia.org/wiki/GNU_General_Public_License) licensed software.

New updated should be released in a matter of days or so! :)

draco.mf
09-26-2016, 05:45 PM
EliasAlucard You can also update the Tapatalk icon to the latest one :)

draco.mf
09-27-2016, 02:48 AM
Please also consider to add the configuration option to hide "unknown" icon is system/browser is unknown.

In case of Tapatalk it looks weird...

draco.mf
09-27-2016, 02:54 AM
Last suggestion:

I looked into code and maybe is a good time to use separate image files for each system/browser display instead of use one image file for all of them and use pixel positioning to "cut-off" from one big image. I think You know what i mean ;)

In case when You want to replace the icon is really hard to do this and set of 168 images are useless now if are not used for display...

BadgerDog
10-06-2016, 10:36 AM
New updated should be released in a matter of days or so! :)

Any news... I really like this mod and it would be great to be able to update it...

Thanks .. :)

Regards,
Doug

EliasAlucard
10-14-2016, 05:22 AM
EliasAlucard You can also update the Tapatalk icon to the latest one :)I'll look into it!

Please also consider to add the configuration option to hide "unknown" icon is system/browser is unknown.

In case of Tapatalk it looks weird...Well, for one thing, I find the unknown icon useful for browsers and operating systems I haven't yet added, so whenever someone posts with an unknown system, I discover them faster that way (and can check out the user agent string of the member in question), so it's good for detecting that stuff.

Last suggestion:

I looked into code and maybe is a good time to use separate image files for each system/browser display instead of use one image file for all of them and use pixel positioning to "cut-off" from one big image. I think You know what i mean ;)

In case when You want to replace the icon is really hard to do this and set of 168 images are useless now if are not used for display...You can already do that, by turning off CSS sprites in the settings. Once that is done, you can manually use whatever icon you want (you have to resize the new icons you want manually, though).

Any news... I really like this mod and it would be great to be able to update it...

Thanks .. :)

Regards,
DougYeah I'm working on it, I've added a lot of new icons for various operating systems and browsers, fine tuning the remaining stuff now, will release an update soon. Sorry for taking so long, but I'm busy with other stuff as well!

BadgerDog
10-21-2016, 12:41 PM
Yeah I'm working on it, I've added a lot of new icons for various operating systems and browsers, fine tuning the remaining stuff now, will release an update soon. Sorry for taking so long, but I'm busy with other stuff as well!

Thanks .. :up:

Really looking forward to the update .. :)

Regards,
Doug

BadgerDog
11-29-2016, 11:52 AM
Any further news on an update to this great mod!! :up:

Regards,
Doug

Ashlar217
11-30-2016, 07:36 PM
I'm waiting for this also :)

BadgerDog
12-31-2016, 03:34 PM
Happy New Year to everyone .. :)

Any news on an update?

Regards,
Doug

rhody401
01-04-2017, 12:20 PM
It has been 4 years, i think he has abandoned it. One of us should add the new icons and strings, to give this old add-on a new lease on life.

BadgerDog
01-04-2017, 12:30 PM
It has been 4 years, i think he has abandoned it. One of us should add the new icons and strings, to give this old add-on a new lease on life.

I would if I knew how.... ;)

It also has some bugs that need to be cleaned up, including one that causes a weird arrow icon when someone uses Linux Android (6.0)

It only appears when a member has that setup... :confused:

I can't show it in the screen shot, but when you hover you mouse over it, some text that looks like the Linux UserAgent feedback string appears.

Regards,
Doug

Stratis
01-04-2017, 12:54 PM
It has been 4 years, i think he has abandoned it. One of us should add the new icons and strings, to give this old add-on a new lease on life.


I'll look into it!

Well, for one thing, I find the unknown icon useful for browsers and operating systems I haven't yet added, so whenever someone posts with an unknown system, I discover them faster that way (and can check out the user agent string of the member in question), so it's good for detecting that stuff.

You can already do that, by turning off CSS sprites in the settings. Once that is done, you can manually use whatever icon you want (you have to resize the new icons you want manually, though).

Yeah I'm working on it, I've added a lot of new icons for various operating systems and browsers, fine tuning the remaining stuff now, will release an update soon. Sorry for taking so long, but I'm busy with other stuff as well!

He will update it, be patient :)

X-or
01-08-2017, 12:04 AM
He will update it, be patient :)

Maybe he will, maybe he won't.
This is a free product and the author owes us nothing.

I would see nothing wrong if someone else who isn't completely incompetent updated it.

Stratis
01-08-2017, 05:07 AM
Maybe he will, maybe he won't.
This is a free product and the author owes us nothing.



Yes you have a point here, but that's not a rule for all. Here are many guys that help us for free.
I have a forum with support for free to.


We will see :)

BadgerDog
01-08-2017, 09:15 AM
Well I wouldn't have an issue chipping in and paying someone to take over and updating this add-on..

Thanks.. :)

Regards,
Doug

seb5594
02-07-2017, 01:25 PM
Update for vB 4.2.3 would be nice :up:

Milance
05-02-2020, 07:39 PM
Doesn't show me Edge for Windows 10

lagrace
03-16-2021, 09:07 PM
hello I have this error in the options in vb 4.2.5 php 7.4.15

syntax error, unexpected 'usergroupid' (T_STRING) on line 9 in D:\wamp64\www\testmgc\includes\adminfunctions_opti ons.php(596) : eval()'d code
#0 D:\wamp64\www\testmgc\includes\adminfunctions_opti ons.php(53): print_setting_row(Array, Array)
#1 D:\wamp64\www\testmgc\admincp\options.php(1187): print_setting_group('uad_settings', 0)
#2 {main}


Fatal User Error: syntax error, unexpected 'usergroupid' (T_STRING) on line 9 in ....\includes\adminfunctions_options.php(596) : eval()'d code in ....\vb\vb.php on line 286
Trace Data:
#1 : vbstop() called in ....\includes\class_core.php on line 6089
#2 : vbulletin_error_handler() called in on line
#3 : trigger_error() called in ....\vb\vb.php on line 286
#4 : vB::handleException() called in on line

Var Type:
[ NULL ]

Var Data:
null


here is the part of the code

" . eval('$options="";

$groups = $vbulletin->db->query_read("SELECT usergroupid, title FROM " . TABLE_PREFIX . "usergroup ORDER BY title");

$usergroups = array();

while ($usergroup = $vbulletin->db->fetch_array($groups))
{
$usergroups[$usergroup['usergroupid']] = $usergroup['title'];
}

foreach($usergroups AS $usergroupid => $usergrouptitle)
{
$options .= "\\t\\t<label for=\\"setting[$setting[varname]]$usergroupid\\" title=\\"item id: $usergroupid\\"><input type=\\"checkbox\\" tabindex=\\"1\\" name=\\"setting[$setting[varname]]"."[$usergroupid]\\" id=\\"setting[$setting[varname]][$usergroupid]\\" value=\\"$usergroupid\\"" . iif(strpos(",$setting[value],", ",$usergroupid,") !== false, \' checked="checked"\') . iif($vbulletin->debug, " title=\\"name=&quot;setting[$setting[varname]]&quot;\\"") . " />$usergrouptitle</label><br />\\n";
}
return "<span class=\\"smallfont\\">\\n$options\\t</span>";') . "

carmine3838
03-20-2021, 03:28 PM
vbulletin 4.2.5 does not work

Milance
04-08-2021, 06:01 AM
Chrome is displayed to me when I'm on Edge
Please help