UBB.Dev
Posted By: JoshPet Beta-[6.5] Online User Info for 6.5 - 07/04/2004 3:45 AM
Mod Name / Version: Online User Info for 6.5

Description: What this will do is allow you to view the user agent string and referer information of an anonymous user provided there is any. If there is referer information an icon will be displayed that provides a link to the location the anonymous user came from. The referer information is also displayed in the "alt" display of the icon by mousing over it. User agent information is intersting as you can see if it's a google bot browsing your site or whatnot. (not always though)


Working Under: UBB.Threads 6.5

Mod Status: Beta

Any pre-requisites: 6.5

Author(s): JoshPet

Date: 07/03/04

Credits: JustDave - www.chattersonline.com

Files Altered: ubbt.inc.php, online.php, online.tmpl

New Files: viewrefer.gif

Database Altered: 3 fields added to the w3t_Online table (O_Agent, O_Refer, O_IPaddy)

Info/Instructions:

Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.

Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.


Attached File
116294-online-userinfo.6.5.zip  (209 downloads)
Posted By: ChAoS_dup1 Re: Beta-[6.5] Online User Info for 6.5 - 09/02/2004 1:46 AM
FYI
The mouseover info isn't displaying when using FireFox but it works in IE. I havent tried any other browsers
Posted By: JoshPet Re: Beta-[6.5] Online User Info for 6.5 - 09/02/2004 7:29 AM
Does Firefox support the title tag?
The title tag should be compliant in all browsers.
Posted By: Twisty Re: Beta-[6.5] Online User Info for 6.5 - 09/02/2004 8:30 AM
Hi Josh, I can answer this one. For images, both ALT _and_ TITLE tags need to be included

Code
$ReferLink = "<a href=\"$Refer\" target=\"_blank\"><img src=\"{$config['imageurl']}/viewrefer.gif\" width=\"16\" height=\"16\" border=\"0\" alt=\"$Refer\" title=\"$Refer\" /></a>";  


It was missing the TITLE tag in this instance.
Posted By: ChAoS_dup1 Re: Beta-[6.5] Online User Info for 6.5 - 09/03/2004 1:40 AM
Thanks Twisty-which script is that in do you know by chance?
Posted By: Twisty Re: Beta-[6.5] Online User Info for 6.5 - 09/03/2004 10:40 AM
online.php
Posted By: DrChaos Re: Beta-[6.5] Online User Info for 6.5 - 11/02/2004 12:36 AM
I just re-installed this because of 6.5 upgrade and its looking borked.

Here is what Im seeing. I get no info when I hover over them and there is no extra info displayed??

Attached picture 122391-error.JPG
Posted By: JoshPet Re: Beta-[6.5] Online User Info for 6.5 - 11/02/2004 4:01 AM
I'd check the instructions. I know this works in 6.5 as I'm using it on a dozen or so boards. So I'm pretty sure the instructions are accurate. You may have missed a step in ubbt.inc.php
Posted By: donJulio Good for 6.5.1? - 02/17/2005 12:42 AM
I noticed in the change log for 6.5.1, they mention that a query has been optimized in the online.php script. Will that affect this mod?
Posted By: Ian_W Re: Good for 6.5.1? - 03/08/2005 2:53 PM
Works fine in 6.5.1
Posted By: dparvin Re: Good for 6.5.1? - 04/23/2005 10:19 PM
It does not work on mine for some reason.

I have the same problem as DrChaos, my Whos Online looks exactly the same as the picture. I have been through the instructions again and can't find anything wrong.

DrChaos, did you find a fix?
Posted By: wicked34 Re: Good for 6.5.1? - 06/04/2005 12:40 AM
looks like maybe the image was uploaded in ascii mode? distorting the pic.

just an idea
Posted By: StanCA Re: Good for 6.5.1? - 06/04/2005 2:45 AM
I must have goofed 6.5.1

got this error when i did a who's online
Parse error: parse error, unexpected '{' in /homepages/1/d118328893/htdocs/clubadventist/ubbtreads/online.php on line 89

any ideas??
Posted By: StanCA Re: Good for 6.5.1? - 06/24/2005 7:35 PM
How does Google read private messages????

Attached picture 128452-Picture5.png
Posted By: Anno Re: Good for 6.5.1? - 06/24/2005 7:36 PM
From top to bottom
Posted By: StanCA Re: Good for 6.5.1? - 06/24/2005 10:17 PM



I am sure, but how to the spiders access those???
Posted By: fishtails Re: Beta-[6.5] Online User Info for 6.5 - 04/02/2006 5:18 PM
Does this allow only admins to see the user agent or can everyone see. If it's a googlebot, I would prefer the regular user not knowing that it is, implying they are just anonymous visitiors.

Never mind. I just looked at the whos online here and it appears this mod is being used, and I as a normal user can see the user agent.
© UBB.Developers