Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
UADisplay Details »»
UADisplay
Version: 1.1.1, by EliasAlucard EliasAlucard is offline
Developer Last Online: Jul 2020 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.x.x Rating:
Released: 03-01-2013 Last Update: 03-05-2013 Installs: 47
DB Changes Uses Plugins
Re-useable Code Additional Files  
No support by the author.

This plugin is a superior fork 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:



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

Download Now

File Type: zip UADisplay_v1.1.1.zip (586.7 KB, 356 views)

Screenshots

File Type: jpg UADisplay_admincp.jpg (79.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
davidg, Loki12, Robru, sadiq6210

Comments
  #32  
Old 03-06-2013, 10:51 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EliasAlucard View Post
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
Reply With Quote
  #33  
Old 03-08-2013, 01:22 AM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Attached Files
File Type: zip uadisplayicons.zip (146.3 KB, 12 views)
Reply With Quote
2 благодарности(ей) от:
EliasAlucard, sadiq6210
  #34  
Old 03-08-2013, 05:56 AM
EliasAlucard's Avatar
EliasAlucard EliasAlucard is offline
 
Join Date: Nov 2009
Location: Sweden
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^^ 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.
Reply With Quote
  #35  
Old 03-08-2013, 01:05 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #36  
Old 03-10-2013, 07:30 AM
iask iask is offline
 
Join Date: Jan 2010
Location: Home
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tapatalk work not iphone.
Attached Images
File Type: png 10-3-2013 08-30-00.png (3.3 KB, 0 views)
Reply With Quote
  #37  
Old 03-11-2013, 11:20 AM
EliasAlucard's Avatar
EliasAlucard EliasAlucard is offline
 
Join Date: Nov 2009
Location: Sweden
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^^ I need the user agent string.
Reply With Quote
  #38  
Old 03-11-2013, 12:10 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iask View Post
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
Attached Images
File Type: png Screen Shot 2013-03-11 at 8.10.30 AM.png (56.4 KB, 0 views)
Reply With Quote
  #39  
Old 03-11-2013, 12:39 PM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #40  
Old 03-11-2013, 01:17 PM
EliasAlucard's Avatar
EliasAlucard EliasAlucard is offline
 
Join Date: Nov 2009
Location: Sweden
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BadgerDog View Post
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:

Mozilla/5.0 Firefox/3.5.6 Tapatalk 2/2.0.3

It only reads the user agent string.

Quote:
Originally Posted by sadiq6210 View Post
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.
Reply With Quote
  #41  
Old 03-11-2013, 03:51 PM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EliasAlucard View Post
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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:38 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06403 seconds
  • Memory Usage 2,366KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (6)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete