![]() |
vB 2.0.3 has a new Who's Online feature that can show you what the online people are actually doing. Part of this feature includes the ability for authorized people to see the IP address of each person. The IP display is a switchable feature that can show you either the numeric address (the four groups of numbers), or it can show you the resolved address, which is a text-based version of the address, from which you can usually tell who is the ISP and the general physical location of the computer using that address.
For some reason, I decided that I wanted to see both the number and the name at the same time. I also thought it would be neat if you could click on the address (as a link) and it would search for everyone who had ever used that address. Since that functionality is already built in to vB, I knew it was a simple matter of creating the link. So without further ado, here are the instructions. I've attached them as a text file. Good luck! :) |
This has a problem when I installed it. I clicked on the link of the IP # and it does pull up the IP lookup, but that's it. Only the form comes up. It does not do the search for other users per the IP you clicked on.
|
When you point to the link, before you click on it, check the address that appears in the status bar. If the address, at the end, contains the named address (not the numeric address), then you need to switch the variables in the template. In other words, switch the 1 with the 2, inside the [ipaddress] parts.
|
The address of the link at the end has the numeric address. And, it still does not work.
I used your template change (the last one in the text file) verbatim. I made the changes in the text file 'exactly' as you specified them. |
Next two things for me to check. 1. Did you also make the online.php files exactly as specified? 2. Are you using 2.0.3? Your profile says 2.0.2. I have only tested on .3; I think this feature is the same in .2 and .3, but am not 100% sure.
Is anyone else having a problem with this? |
Thanks for the hack...
It works great. As soon as I installed it I had the same problem, only the search form appeared. But then I discovered the problem: - When the IP searched isn't in the db only the form appears - when an IP is found in the DB, the found records appear on top and under them the form So when no records are found the space above the form is empty. Hope I've helped you catch the problem...:D Thanks for your work... ...Axel |
Quote:
1. Yes. 2. Yes, I updated my profile. |
jucs, did what Axel Foley said help you at all...I mean, are you sure you're searching for an IP that exists in the database? In other words, if you copy the IP to the admin control panel and search for it there, do you get results?
|
I clicked on the IP for the user. It has to exist. It was the IP from the Online listing.
|
It only exists if a user has posted from that IP.
|
All times are GMT. The time now is 09:24 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|