WP-UserAgent

A simple User-Agent detection plugin that lets you easily insert icons and/or textual web browser and operating system details with each comment.

Author:Kyle Baker (profile at wordpress.org)
WordPress version required:2.0
WordPress version tested:5.5.5
Plugin version:1.1.8
Added to WordPress repository:17-06-2009
Last updated:16-10-2020
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:5
Plugin URI:https://www.kyleabaker.com/goodies/coding/wp-...
Total downloads:38 165
Active installs:300+
plugin download
Click to start download

WP-UserAgent is a simple plugin that allows you to display details about a computer’s operating system or web browser that your visitors comment from.

It uses the comment->agent property to access the User-Agent string. Through a series of regular expressions, this plugin is able to detect the operating system and browser which can be integrated in comments or placed in custom places through your template(s).

I’m adding new web browsers and operating systems frequently, as well as updating and optimizing the source code. Your feedback is very important, new features have been added by request, so if there’s something you would like to see in WP-UserAgent, leave a comment, and I’ll see what I can do.

WP-UserAgent was written with Geany – http://www.geany.org/
Images created with The Gimp – http://www.gimp.org/

Features

  • Detects most web browsers and popular operative systems (if you find one missing, please let me know!)
  • Shows web browser and operating system icons, names, and a link to their homepages (this will be customizable in future versions).
  • Shows web browser and operating system in the Admin comments management page (unless you’re using “custom” option).
  • Customizable, has its own Options Page where you can change the size of the web browser and operating system icons, where you want it to be displayed, and a few other options.
  • Option to only display web browser and operating system info in Admin section
  • Updated frequently to further extend web browser and operating system detection as well as source code improvements.
  • Published under GPLv3

Some of you may compare this to another well-known plugin named browsersniff. WP-UserAgent is a heavily modified and improved version of UserAgent-Spy, with several improvements over browsersniff also:

  • Easy standard installation, just upload to wp-plugins and activate it.
  • Customizable options.
  • No basic knowledge of PHP or editing WordPress templates required.
  • Published under GPLv3.

Screenshots
FAQ
ChangeLog