Title: Minor Feature Request ( solution)
Last modified: August 20, 2016

---

# Minor Feature Request ( solution)

 *  Resolved [JK](https://wordpress.org/support/users/justin_k/)
 * (@justin_k)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/minor-feature-request-solution/)
 * Hey Scribu/Gamerz,
 * Just a minor feature request: it would be great if the detailed useronline page
   included the useragent as well; that would make it easier to identify who your
   visitors are, as well as potentially miscategorized visitors (bot/nonbot) for
   forwards-compatibility.
 * It’s a one-line change; template-tags.php, line 220 from:
 *     ```
       $output .= "<p><strong>#$nr - $name</strong> $user_ip $_on $date<br/>$page_title $current_link $referral_link</p>\n";
       ```
   
 * to:
 *     ```
       $output .= "<p><strong>#$nr - $name</strong> $user_ip $_on $date<br/>$page_title $current_link $referral_link<br/>$user->user_agent</p>\n";
       ```
   
 * [http://wordpress.org/extend/plugins/wp-useronline/](http://wordpress.org/extend/plugins/wp-useronline/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [JK](https://wordpress.org/support/users/justin_k/)
 * (@justin_k)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/minor-feature-request-solution/#post-3204710)
 * (For example, I’ve had it in there for about 5 minutes and I’ve already identified
   a few bots being misidentified as users: ‘rogerbot’ and ‘Sosospider’) 🙂
 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/minor-feature-request-solution/#post-3204732)
 * You know, that’s exactly what I was thinking a few days ago.
 * In the [development version](http://downloads.wordpress.org/plugin/wp-useronline.zip)(
   2.83-alpha), when you hover over the user IP, you’ll see the user agent, instead
   of the hostname.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Minor Feature Request ( solution)’ is closed to new replies.

 * ![](https://ps.w.org/wp-useronline/assets/icon.svg?rev=978026)
 * [WP-UserOnline](https://wordpress.org/plugins/wp-useronline/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-useronline/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-useronline/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-useronline/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-useronline/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-useronline/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [scribu](https://wordpress.org/support/users/scribu/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/minor-feature-request-solution/#post-3204732)
 * Status: resolved