Log in

View Full Version : Show UserAgent in Who`s Online


ian@TS
08-04-2003, 10:00 PM
Simple hack to allow you to see the useragent in the who`s online page along with the IP/Host address.

Useful for keeping track of search engine spiders and other bots fetching pages on your forums.

ian@TS
08-05-2003, 11:40 AM
What is *should* look like :)

Tenpit
08-05-2003, 11:52 AM
Another one here https://vborg.vbsupport.ru/showthread.php?s=&threadid=50307

Oblivion Knight
08-05-2003, 02:15 PM
Hmm.. I installed this and nothing appears to have changed.. :paranoid:

The blurred line is just a single line stating the IP address.. Default behaviour.

ian@TS
08-05-2003, 03:47 PM
argh, didnt realise there was already a hack (searched for "useragent" not "user agent" :( )

Hmm.. I installed this and nothing appears to have changed..

As the hack was originally, it would only work with Admin Options > Who`s Online > Resolve IPs turned on.

Added 2 steps to the attachment above, should work either way now :)

Oblivion Knight
08-06-2003, 09:25 AM
Yesterday at 05:47 PM ian@TS said this in Post #5 (https://vborg.vbsupport.ru/showthread.php?postid=423454#post423454)
As the hack was originally, it would only work with Admin Options > Who`s Online > Resolve IPs turned on.

Added 2 steps to the attachment above, should work either way now :) In step 5 of your instructions, $key should be $count in both instances..

Thanks for the pointer, it's working like a treat now! :)

ian@TS
08-06-2003, 06:00 PM
Ooops, lazy cut`n`pasting...

fixed now, thanks :)