Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Aug 2000
Posts: 3,590
Likes: 1
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Likes: 1
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]

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:
Code
code:

And on a new line directly underneath the last }, add:
Code
code:

(This step adds the User Name associated with the requested IP and Hostname to the top of the IP page)

Now Find:
Code
code:

And replace it with:
Code
code:

(This will add a colon after "IP Number", this step is not necessary if you don't care, I did though [Linked Image])

Find:
Code
code:

And replace it with:
Code
code:

(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:
Code
code:

And on a new line, directly underneath it, add:
Code
code:

(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:
Code
code:

And on a new line, directly underneath it, add:
Code
code:

(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:
Code
code:

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.

Sponsored Links
Entire Thread
Subject Posted By Posted
IP Display Upgrade [easy hack][finished] Digital Paul 03/14/2000 6:27 PM
Re: IP Display Upgrade [easy hack][finished] Chris Schreiber 03/14/2000 6:53 PM
Re: IP Display Upgrade [easy hack][finished] Digital Paul 03/14/2000 7:05 PM
Re: IP Display Upgrade [easy hack][finished] cal 03/14/2000 9:52 PM
Re: IP Display Upgrade [easy hack][finished] Mutt 03/16/2000 2:22 AM
Re: IP Display Upgrade [easy hack][finished] ilya 03/16/2000 2:53 AM
Re: IP Display Upgrade [easy hack][finished] Digital Paul 03/17/2000 2:28 AM
Re: IP Display Upgrade [easy hack][finished] Dr Dollarz 03/22/2000 3:04 AM
Re: IP Display Upgrade [easy hack][finished] The Donut 03/25/2000 5:34 AM
Re: IP Display Upgrade [easy hack][finished] cal 03/25/2000 12:53 PM
Re: IP Display Upgrade [easy hack][finished] Digital Paul 03/27/2000 2:44 AM
Re: IP Display Upgrade [easy hack][finished] The Donut 03/28/2000 1:02 AM
Re: IP Display Upgrade [easy hack][finished] Chris Schreiber 03/28/2000 1:12 AM
Re: IP Display Upgrade [easy hack][finished] The Donut 03/28/2000 2:50 AM
Re: IP Display Upgrade [easy hack][finished] cal 03/29/2000 11:02 AM
Re: IP Display Upgrade [easy hack][finished] The Team 04/15/2000 2:05 AM
Re: IP Display Upgrade [easy hack][finished] The Team 04/22/2000 10:06 PM
Re: IP Display Upgrade [easy hack][finished] Lisa 04/26/2000 9:44 PM
Re: IP Display Upgrade [easy hack][finished] The Team 05/07/2000 12:19 PM
Re: IP Display Upgrade [easy hack][finished] Squall14 05/07/2000 6:14 PM
Re: IP Display Upgrade [easy hack][finished] The Team 05/09/2000 6:02 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:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 538
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 8
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)