|
|
Joined: Apr 2001
Posts: 235
Member
|
Member
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 ]
|
|
|
|
Joined: Apr 2001
Posts: 240
Member
|
Member
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. 
|
|
|
|
Joined: Aug 2001
Posts: 94
Member
|
Member
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 
|
|
|
|
Joined: Sep 2001
Posts: 58
Member
|
Member
Joined: Sep 2001
Posts: 58 |
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
Member
|
Member
Joined: Sep 2001
Posts: 58 |
It would just log ur ip or the ip of the mod registering the user..
|
|
|
|
Joined: Apr 2001
Posts: 240
Member
|
Member
Joined: Apr 2001
Posts: 240 |
Yeah, I guess. Well, this hack works fine...does what it's meant to. Nice work, freeTV. 
|
|
|
|
Joined: Jun 2001
Posts: 17
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 17 |
it doesn't work with ubb 6.05 
|
|
|
|
Joined: Apr 2001
Posts: 235
Member
|
Member
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
Joined: Jun 2001
Posts: 17 |
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
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
Joined: Jun 2001
Posts: 2,849 |
Mastermind, why does your hacks page give a forbidden error?
|
|
|
|
Joined: Apr 2001
Posts: 235
Member
|
Member
Joined: Apr 2001
Posts: 235 |
XPerT, Try:
chmod 777 ipfile.cgi
|
|
|
|
Joined: Oct 2001
Posts: 34
Member
|
Member
Joined: Oct 2001
Posts: 34 |
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
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.
|
|
|
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.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|