WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Minor Feature Request ( solution)

[Resolved] 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • (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

    @scribu

    You know, that’s exactly what I was thinking a few days ago.

    In the development version (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 ‘[Resolved] Minor Feature Request ( solution)’ is closed to new replies.