Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
many people can ask "which would be the point of this?". some of my members play games like TetriNET, and for opening servers on their machines, this is kinda useful. you may have some other use for it, however.. thats why im posting it.

description: display to the guest his ip.

[edit]see LK's post below for working version[/edit]

upload, clear cache. thats it. demo . im not sure if this is 'cache friendly', thats why im posting in the beta forum...

[ July 17, 2001 06:02 PM: Message edited by: CopyCat ]

Sponsored Links
Joined: Jul 2000
Posts: 81
Member
Member
Offline
Joined: Jul 2000
Posts: 81
Good idea CopyCat

Very simple .. but very Nice

Joined: Jan 2001
Posts: 75
Member
Member
Offline
Joined: Jan 2001
Posts: 75
Again, tiny BUT functional!!!

Joined: Jan 2001
Posts: 75
Member
Member
Offline
Joined: Jan 2001
Posts: 75
Ok, this one is NOT very cache friendly 8(, and it's displaying one users IP for everyone 8(....

Can anyone tell me, how to call the info, like the Who's Online v3.9x-4.x does (which reports correctly)... So that I can add it after the $Show_logout, to display like this one, but working 8)???

Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
tks guys, sorry it doesnt work laugh

if what ampere said is not possible, anyone knows how to disable the Cache for the Forum Summary page only? tks.

Sponsored Links
Joined: Apr 2001
Posts: 23
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 23
Thanx this is working great

Joined: Jan 2001
Posts: 75
Member
Member
Offline
Joined: Jan 2001
Posts: 75
Quote
quote:
Works great for the first 10 minutes 8)' or so, depending on how many hacks you have installed.... I'm betting he comes back 8)

Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
Quote
quote:
He won't be back. wink

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Like in Who's Online:
Code
code:

Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
thanks lk.

Sponsored Links
Joined: Jan 2001
Posts: 75
Member
Member
Offline
Joined: Jan 2001
Posts: 75
Thanks LK!!!

Much appreciated & works like a CHAMP!

Joined: Jul 2000
Posts: 81
Member
Member
Offline
Joined: Jul 2000
Posts: 81
with me .. it shows only 127.0.0.1 and the who's online only shows one person !!!!

Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
This hack isn't cache friendly. So it will show one user ip.

Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
please use LKs version, it works fine with the cache.

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Wanted, it won't work on F2S.
Try to change "$ENV{'REMOTE_ADDR'}" (3 times) to "$ENV{'HTTP_X_FORWARDED_FOR'}" or "$ENV{'HTTP_REMOTE_ADDR'}"..

Joined: Jul 2000
Posts: 81
Member
Member
Offline
Joined: Jul 2000
Posts: 81
Thanx LK you are my hero .. both hacks works fine on my server .

i'll check it on f2s server tonight ,

thanx again my friend

Joined: Mar 2001
Posts: 326
Member
Member
Offline
Joined: Mar 2001
Posts: 326
How do any of you guys get 'Quoted' code from UBB hacked into your forums without first downloading a file. If you copy and paste the code into any text editor then it looses structure and both Wordpad and MS Word 95 to XP screw up the formatting just a little and that can cause problems.

Please put the 'working' code in a file.

Joined: Jul 2000
Posts: 81
Member
Member
Offline
Joined: Jul 2000
Posts: 81
hey LK ,,,

i made it work with f2s but i used "$ENV{'HTTP_X_FORWARDED_FOR'}"

the problem is sometimes (almost) it shows 2 or 3 ips for each person in both, this hack and whos online .. check it in the test board
http://www.kaau-ie.f2s.com/ubbcgi/ultimatebb.cgi

Username: Demo
Password: Demo

[ July 18, 2001 10:08 PM: Message edited by: Wanted ]

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Wanted, it looks fine to me...

Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
Quote
quote:
Works fine for me too.

Joined: Jul 2000
Posts: 81
Member
Member
Offline
Joined: Jul 2000
Posts: 81
Thanx LK & Tech-Ni-Kal for your care .

but it keep showing 2 ip , maybe because you just loged for one time or because you didn't switch between users ..

here is another user Demo2 , password: Demo2

Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
Wanted, I tired a bunch of things like logging in and out with different usernames and such and I still get one IP.

Joined: Jul 2000
Posts: 81
Member
Member
Offline
Joined: Jul 2000
Posts: 81
Strange ..

i tried it from 4 diffrent computers ,, same problem occured


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
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)