I just installed this hack flawlessly in version 5.45c. Since I can get real snoopy about the troublemakers on my Board and their alter egos, I use this feature a lot... this hack was a welcome addition, as it gives me even
more info than before. Many thanks to Digital Paul for this, installing it made me feel like I actually knew what I was doing (after my last four failed hack attempts). So I had a little "quirk" with the fact that, when both of the above modifications are added, you lose the Post info (it's more of a reminder than annoying to me), and the Hostname displays both after the IP in the first row, but also in its own second row. Below is what I have modified and added to my board to give you the name of the Member whose IP you requested at the the top of the page, the IP alone (without the Host Name after it), the Host Name in a separate row below the IP, and the Post info (with info on how to remove the post info if you wish). It also adds a colon after the IP and Host "row titles", cuz I'm anal like that.
![[Linked Image]](http://ubbcodehacking.com/ubb/smile.gif)
Either way, you can use your particular preference to flawlessly apply this hack using the code below.
In postings.cgi:
(This will add the command that determines the host name, this is a necessary step)
Find:
And on a new line directly underneath the last }, add:
(This step adds the User Name associated with the requested IP and Hostname to the top of the IP page)
Now Find:
And replace it with:
(This will add a colon after "IP Number", this step is not necessary if you don't care, I did though
![[Linked Image]](http://ubbcodehacking.com/ubb/smile.gif)
)
Find:
And replace it with:
(If you added the colon as listed above, this will add a second row beneath the IP number display to show the Hostname WITH a colon)
(If you didn't add the colon as listed above, skip this step and use the next one)
Find:
And on a new line, directly underneath it, add:
(If you didn't add the colon as listed above, this will add a second row beneath the IP number display to show the Hostname WITHOUT a colon)
(If you DID add the colon as listed two steps above, ignore this step and use the step directly above this one, if you've already done the step above, skip this step)
Find:
And on a new line, directly underneath it, add:
(If you want to remove the body of the post underneath the IP and Hostname, follow this next step - if not, skip to the next step)
Find:
And delete it.
There isn't a next step. You're finished. Backup your original postings.cgi and upload the file to your UBB cgi folder in ASCII format. Make sure you set the CHMOD to 755, and you're all set. You don't need to update threads or anything else, just click on the IP link, authenticate yourself and enjoy!
Again, thanks to Digital Paul for this cool little hack. This should be added to the "Additions" database.