Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2001
Posts: 10,369
JoshPet Offline OP
I type Like navaho
OP Offline
I type Like navaho
Joined: Nov 2001
Posts: 10,369
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 Images
116294-online-userinfo.6.5.zip (0 Bytes, 209 downloads)
Sponsored Links
Joined: Nov 2002
Posts: 554
Code Monkey
Offline
Code Monkey
Joined: Nov 2002
Posts: 554
FYI
The mouseover info isn't displaying when using FireFox but it works in IE. I havent tried any other browsers

Joined: Nov 2001
Posts: 10,369
JoshPet Offline OP
I type Like navaho
OP Offline
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Does Firefox support the title tag?
The title tag should be compliant in all browsers.

Joined: Sep 2003
Posts: 488
Code Monkey
Offline
Code Monkey
Joined: Sep 2003
Posts: 488
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.

Joined: Nov 2002
Posts: 554
Code Monkey
Offline
Code Monkey
Joined: Nov 2002
Posts: 554
Thanks Twisty-which script is that in do you know by chance?

Sponsored Links
Joined: Sep 2003
Posts: 488
Code Monkey
Offline
Code Monkey
Joined: Sep 2003
Posts: 488
online.php

Joined: Sep 2003
Posts: 803
Coder
Offline
Coder
Joined: Sep 2003
Posts: 803
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 Images
122391-error.JPG (0 Bytes, 127 downloads)
Last edited by DrChaos; 11/01/2004 5:37 PM.
Joined: Nov 2001
Posts: 10,369
JoshPet Offline OP
I type Like navaho
OP Offline
I type Like navaho
Joined: Nov 2001
Posts: 10,369
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

Daine #275951 02/16/2005 5:42 PM
Joined: Jun 2002
Posts: 670
Code Monkey
Offline
Code Monkey
Joined: Jun 2002
Posts: 670
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?

luan #275952 03/08/2005 7:53 AM
Joined: Feb 2002
Posts: 2,286
Veteran
Offline
Veteran
Joined: Feb 2002
Posts: 2,286
Works fine in 6.5.1


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Sponsored Links
Gorlum #275953 04/23/2005 3:19 PM
Joined: Aug 2004
Posts: 173
Member
Offline
Member
Joined: Aug 2004
Posts: 173
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?

DMClark #275954 06/03/2005 5:40 PM
Joined: May 2005
Posts: 20
Newbie
Offline
Newbie
Joined: May 2005
Posts: 20
looks like maybe the image was uploaded in ascii mode? distorting the pic.

just an idea

moparts #275955 06/03/2005 7:45 PM
Joined: Jul 2002
Posts: 79
Power User
Offline
Power User
Joined: Jul 2002
Posts: 79
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??

pdlang #275956 06/24/2005 12:35 PM
Joined: Jul 2002
Posts: 79
Power User
Offline
Power User
Joined: Jul 2002
Posts: 79
How does Google read private messages????

Attached Images
128452-Picture5.png (0 Bytes, 93 downloads)
pdlang #275957 06/24/2005 12:36 PM
Joined: May 2001
Posts: 550
Code Monkey
Offline
Code Monkey
Joined: May 2001
Posts: 550
From top to bottom

Joined: Jul 2002
Posts: 79
Power User
Offline
Power User
Joined: Jul 2002
Posts: 79



I am sure, but how to the spiders access those???

Joined: Jun 2002
Posts: 303
Enthusiast
Offline
Enthusiast
Joined: Jun 2002
Posts: 303
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.

Last edited by fishtails; 04/02/2006 10:21 AM.

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,806
Joined: January 2000
Forum Statistics
Forums63
Topics37,545
Posts293,796
Members13,838
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online 237
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 19
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,806
Greg Hard 4,625
Top Posters(30 Days)
isaac 20
Top Likes Received
isaac 44
Gizmo 10
Brett 7
Morgan 2
Top Likes Received (30 Days)
isaac 4
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2020 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.5
(Snapshot build 20200916.dev)
Responsive Width:

PHP: 5.4.45 Page Time: 0.064s Queries: 52 (0.022s) Memory: 3.3977 MB (Peak: 3.6922 MB) Data Comp: Zlib Server Time: 2020-09-19 12:38:15 UTC
Valid HTML 5 and Valid CSS