Previous Thread
Next Thread
Print Thread
Rate Thread
#232083 01/06/2003 9:31 PM
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
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)

Update: Admins can view user's current IP addresses by mousing over the link to their profiles.


Note: For those that have had this modification installed prior you can skip the first two alter table commands in the instructions.


Download the zip, follow the instructions, use.
Attachments
63900-online-userinfo.6.2 Folder.zip (0 Bytes, 118 downloads)

Last edited by JoshPet; 02/20/2003 2:39 AM.
Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Thanks Dave. I've missed this one and was on my list to update. But that list gets soooo long. LOL

Joined: Jul 2002
Posts: 135
Journeyman
Journeyman
Joined: Jul 2002
Posts: 135
Any way to make this work with 6.1.1?

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
It may just work as is but I can't say for sure. I don't have 6.1.1 running anywhere to test it on but someone else may have done so.

Anyone tried installing this on an older version of .threads?

Joined: Mar 2002
Posts: 305
Enthusiast
Enthusiast
Offline
Joined: Mar 2002
Posts: 305
I installed the version you posted before on 6.1.1 and it works fine.

Should have mentioned - this was without the update allowing admins to see IP's of registered users.

Last edited by Lisa_P; 01/11/2003 11:20 PM.

[:"red"]Lisa[/]
Sponsored Links
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
So there may be a good chance that this one would work just as well? Thanks Lisa

Joined: Nov 2001
Posts: 126
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 126
This is when no one is logged on.

[]http://www.dancesafe.org/bryan/mixup2.jpg[/]

This is when Im logged in.


[]http://www.dancesafe.org/bryan/mixup.jpg[/]

All the labels (last activity, user, agent etc) are messed up..

Only happened after this hack..

Anyone else hit this?



Joined: Nov 2002
Posts: 554
Code Monkey
Code Monkey
Offline
Joined: Nov 2002
Posts: 554
Is your default Stylesheet setting (config.inc.php) the same as your user Stylesheet setting in "My Home"?

I may be way off here

Last edited by ChAoS; 01/29/2003 3:52 PM.
Joined: Nov 2001
Posts: 126
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 126
nope, but this problem is occurring to everyone...

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
Go over your code and perhaps start over with the online.php page and online.tmpl files. I have applied the code on 3 sites with no problems. The only minor error is a missing class="tdheader" which I'll append the instructions with shortly but this isn't what would be causing your current display errors.

Sponsored Links
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
Bryan

There must be an error with the application of this modification. I noticed that on your top list you have the registered users with a header Anonymous users and at the bottom screen you have the same thing.

Am I mistaken or these are 4 different screenshots?

Warm regards

Nikos


Nikos
Joined: Nov 2001
Posts: 126
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 126
Nope just two.

Ill go through it again

Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
If it's just two then the error most probably lies in the template file. The first table should not show referrer information and it should have the heading of Registered users, while the second table is for the anonymous ones.

Warm regards

Nikos


Nikos
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I know JustDave never minds me updating/documenting any of his stuff.

I updated this zip.... adding a class="tdheader" to the referer column in online.php. Otherwise it looked goofy places like here.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Just a Kudos to Dave... this is one of the greatest hacks.

We'd been without it at measurection since the 6.2 upgrade. I never got around to adding it. Finally the site's owner asked me about it....

It's great fun to see where your anonymous traffic comes from.... and sometimes in the URL you can even see what keywords they were searching for.

Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
Well done JustDave!

Joined: Jan 2002
Posts: 674
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 674
Not sure what happened... I don't show any guests now that I have this hack. I added it after having whos online on every page hack. Conflict?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Hmmmm working right on my site with the who's online on every page. The two hacks really don't touch the same code.

I'd retrace your steps... and see if you replaced where you should have added etc....

Joined: Jan 2002
Posts: 674
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 674
I placed the original files back in from whos online and it has the guests showing again. But they don't have the referrer or user agent. Gonna see if I can find a mistake I made.. adding the user info hack.

The only file I see them sharing is the ubbt.inc.php...hmm


Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Did you do the database alteration?

Joined: Jan 2002
Posts: 674
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 674
yes I did the database alterations. Got me stumped...

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Hmmmm
I just installed this last night.... on the board that uses the who's online box.

The who's online box sorta creates it's own code in the ubt.inc.php file. This mod tweaks the existing online code.

Joined: Jan 2002
Posts: 674
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 674
Seems to work ok just doesn't give me the image or the two fields for the lurkers. Not sure what I am missing since I can't see it anyway . ... will let it set until I get fresh eyes

Joined: Jan 2002
Posts: 674
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 674
I forgot I have the referrer turned off when I set the board up. Was causing trouble with registrations..

Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
Due to the changes in the data base this hack does not work with UBB Threads 6.3

Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
I just installed it on 6.3 b1 and it's working like a charm. I just had to tiptoe around the profile completion percentage hack.

Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
Odd, cause I kept gettin gerrors about the values it was trying to access (they were no longer present in the database). It could be a problem on my settup though (I was testing on my developemnt site).

Edit: I forgot to run the alter table commands

Last edited by Dalantech; 05/02/2003 12:32 AM.
Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
LOL. I like to at least be a *small* part in helping someone out.


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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)