vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Display Enhancements - UADisplay (https://vborg.vbsupport.ru/showthread.php?t=285373)

EliasAlucard 07-09-2012 10:00 PM

UADisplay
 
UADisplay is an abbreviation of User Agent Display. This is my modification (or update if you will) of Fighter1405's original plugin:

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

Because he hasn't made a post since 2009, I decided to update his useful plugin with the latest operating systems and browsers in mind (which were lacking in his version), and also I've added a lot of other operating systems (Windows 7, Android, iOS, various Linux distributions, *BSDs, etc.) and other obscure and rarely used browsers, among other user agents. I also redid the icons completely, this time with a height of 24 pixels (previously it was 18 pixels).

If you've been using Fighter's old version, I'd recommend to uninstall his plugin before you install my version, since it's not possible to have them both installed.

I intend to add OS and browser version numbering too, kind of like you can see here:

http://www.emulab.it/forum/index.php?topic=422

This one is a bit complicated though, as it requires a lot of code and I'm not sure if this is even supported by vBulletin 3. I know it works in vBulletin 4 however. If you want to give me a helping hand and suggestions with the code, I could add this faster, as I'm newbie programmer and still learning.

What this plugin does is to add two icons in the postbit of operating system and browser. An example of what it looks like, using Android 4 Ice Cream Sandwich:

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

Install steps:
1. Upload the icon folder to images/useragent
2. Import the XML file through Manage Products in admincp

EliasAlucard 07-10-2012 09:16 PM

Those of you who have downloaded it and installed it, I'd appreciate any feedback from you, what you think can be improved and updated and added or removed. Any browser or operating system you think should be included? All user agent strings (complete at that, from the server logs and not from the who's online php page) are welcome.

tommydamic68 07-10-2012 10:16 PM

any instructions? i have uploaded folder with icons to www.mysite/images/useragent and uploaded the xml file. no icons though.

EliasAlucard 07-10-2012 10:20 PM

Quote:

Originally Posted by tommydamic68 (Post 2346802)
any instructions? i have uploaded folder with icons to www.mysite/images/useragent and uploaded the xml file. no icons though.

No instructions are needed. You need to import the XML file in admincp, and then the plugin should work.

tommydamic68 07-10-2012 10:24 PM

nope, uploaded folder, installed xml no icons. using 3.8.7

tommydamic68 07-10-2012 10:30 PM

Maybe a post bit legacy issue?

EliasAlucard 07-10-2012 10:34 PM

Quote:

Originally Posted by tommydamic68 (Post 2346805)
nope, uploaded folder, installed xml no icons. using 3.8.7

I'm using 3.8.7 and it's working just fine.

Quote:

Originally Posted by tommydamic68 (Post 2346810)
Maybe a post bit legacy issue?

Yeah, could be. Do you have any other postbit plugins installed? It could be that you've tampered with your postbit using other plugins or something. It's difficult to say what your problem is. It would be nice if someone else could duplicate your problem.

tommydamic68 07-10-2012 10:49 PM

yeah, i do have some other template mods. oh well, worth a try.

thanks,

EliasAlucard 07-11-2012 05:28 AM

Quote:

Originally Posted by tommydamic68 (Post 2346816)
yeah, i do have some other template mods. oh well, worth a try.

thanks,

Could you try temporarily disabling those mods to see if it works?

cheech47 07-11-2012 06:16 AM

Works perfect for me on 3.8.7, I Had an old plugin that was similar but this new one is ace :D


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

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01030 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete