Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2001
Posts: 235
Member
Member
Offline
Joined: Apr 2001
Posts: 235
#### FIND in ubb_registration.cgi ###########

&WriteFileAsString("$vars_config{MembersPath}/last_number.cgi", "$next_numbern");

######## ADD BELOW ###########

&AppendFileAsString("$vars_config{MembersPath}/ipfile.cgi", "$user_name||$ENV{'REMOTE_ADDR'}n");

########### DONE ###############################

As simple as that! If it doesn't work, you may have to create an empty file ubb/Members/ipfile.cgi and chmod to 666

[ 11-14-2001: Message edited by: freeTV ]

Sponsored Links
Joined: Apr 2001
Posts: 240
Member
Member
Offline
Joined: Apr 2001
Posts: 240
If I register a member through the control panel, using Jordo's hack, I presume it doesn't log their IP, is this correct? No problem, I'm just wondering. smile

Joined: Aug 2001
Posts: 94
Member
Member
Offline
Joined: Aug 2001
Posts: 94
GR8 it works Fine for Me 10000000%

also is it possable to show this in the members profile when we search for people in the CP members search

so instead of uploading the file each time from the ftp.. i could search say peter in the cp and the ip would be there in his profile ????

but very nice smile

Joined: Sep 2001
Posts: 58
vir Offline
Member
Member
Offline
Joined: Sep 2001
Posts: 58
Quote
quote:
Why would you want to do that? It would just log ur ip or the ip of the mod registering the user...

Joined: Sep 2001
Posts: 58
vir Offline
Member
Member
Offline
Joined: Sep 2001
Posts: 58
Quote
quote:

It would just log ur ip or the ip of the mod registering the user..

Sponsored Links
Joined: Apr 2001
Posts: 240
Member
Member
Offline
Joined: Apr 2001
Posts: 240
Yeah, I guess. shocked

Well, this hack works fine...does what it's meant to. Nice work, freeTV. smile

Joined: Jun 2001
Posts: 17
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 17
it doesn't work with ubb 6.05 frown

Joined: Apr 2001
Posts: 235
Member
Member
Offline
Joined: Apr 2001
Posts: 235
Of course not! That's why it's posted in V6.1 Mods Forum. For V6.0x, use MasterMind's Mods

Joined: Jun 2001
Posts: 17
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 17
thanks m8

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
*refrains from giggles*

Sponsored Links
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
Nice job free!

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Thanks, I had installed the other one and it was working but it violated the file locking rules I believe. Now I'm compliant once again.

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Mastermind, why does your hacks page give a forbidden error?

Joined: Apr 2001
Posts: 235
Member
Member
Offline
Joined: Apr 2001
Posts: 235
XPerT, Try:

chmod 777 ipfile.cgi

Joined: Oct 2001
Posts: 34
Member
Member
Offline
Joined: Oct 2001
Posts: 34
Works Great! Thx d00d.

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Quote
quote:
The hack works fine for me, I'm on IIS 5 anyways, what I meant was that the link in his sig to his hacks page gives me a forbidden error.


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
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 254
Joined: January 2000
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
Morgan 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)