UBB.Dev
Posted By: JustDave [6.2] Online User Info - 01/07/2003 4:31 AM
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.


Attached File
Posted By: JoshPet Re: [6.2] Online User Info - 01/07/2003 5:07 AM
Thanks Dave. I've missed this one and was on my list to update. But that list gets soooo long. LOL
Posted By: SchoolScandals Re: [6.2] Online User Info - 01/12/2003 2:14 AM
Any way to make this work with 6.1.1?
Posted By: JustDave Re: [6.2] Online User Info - 01/12/2003 2:21 AM
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?
Posted By: Lisa_P Re: [6.2] Online User Info - 01/12/2003 5:58 AM
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.
Posted By: JustDave Re: [6.2] Online User Info - 01/12/2003 6:24 AM
So there may be a good chance that this one would work just as well? Thanks Lisa
Posted By: BryanDS Re: [6.2] Online User Info - 01/29/2003 10:02 PM
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?


Posted By: ChAoS_dup1 Re: [6.2] Online User Info - 01/29/2003 10:50 PM
Is your default Stylesheet setting (config.inc.php) the same as your user Stylesheet setting in "My Home"?

I may be way off here
Posted By: BryanDS Re: [6.2] Online User Info - 01/30/2003 12:18 AM
nope, but this problem is occurring to everyone...
Posted By: JustDave Re: [6.2] Online User Info - 01/30/2003 1:35 AM
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.
Posted By: dimopoulos Re: [6.2] Online User Info - 01/30/2003 2:08 AM
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
Posted By: BryanDS Re: [6.2] Online User Info - 01/30/2003 2:11 AM
Nope just two.

Ill go through it again
Posted By: dimopoulos Re: [6.2] Online User Info - 01/30/2003 2:31 AM
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
Posted By: JoshPet Re: [6.2] Online User Info - 02/20/2003 9:40 AM
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.
Posted By: JoshPet Re: [6.2] Online User Info - 02/20/2003 9:59 AM
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.
Posted By: Dalantech Re: [6.2] Online User Info - 02/20/2003 8:36 PM
Well done JustDave!
Posted By: smilesforu Re: [6.2] Online User Info - 02/21/2003 4:08 AM
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?
Posted By: JoshPet Re: [6.2] Online User Info - 02/21/2003 4:31 AM
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....
Posted By: smilesforu Re: [6.2] Online User Info - 02/21/2003 4:44 AM
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

Posted By: JoshPet Re: [6.2] Online User Info - 02/21/2003 5:11 AM
Did you do the database alteration?
Posted By: smilesforu Re: [6.2] Online User Info - 02/21/2003 5:45 AM
yes I did the database alterations. Got me stumped...
Posted By: JoshPet Re: [6.2] Online User Info - 02/21/2003 6:21 AM
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.
Posted By: smilesforu Re: [6.2] Online User Info - 02/21/2003 7:51 AM
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
Posted By: smilesforu Re: [6.2] Online User Info - 02/21/2003 10:21 AM
I forgot I have the referrer turned off when I set the board up. Was causing trouble with registrations..
Posted By: Dalantech Re: [6.2] Online User Info - 04/28/2003 7:15 AM
Due to the changes in the data base this hack does not work with UBB Threads 6.3
Posted By: AKD96 Re: [6.2] Online User Info - 05/02/2003 5:37 AM
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.
Posted By: Dalantech Re: [6.2] Online User Info - 05/02/2003 7:28 AM
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
Posted By: AKD96 Re: [6.2] Online User Info - 05/03/2003 12:09 AM
LOL. I like to at least be a *small* part in helping someone out.
© UBB.Developers