Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2000
Posts: 68
Member
Member
Offline
Joined: Nov 2000
Posts: 68
*takes a deep breath*

Adds an extra line to the member file, on that line it logs the ip of the member after each post and on registration. Then adds a new search panel in the user information control panel which allows you to search for users via IP address.

Useful when wanting to track down alt-nicks of idiots that have spammed your board [Linked Image]

The hack is pretty much finished, been using it for a few days at my board ( Quake3World.com ), works a treat there. If I've typoed in the write up, lemme know ASAP.

Download

Sponsored Links
Joined: Nov 2000
Posts: 169
Member
Member
Offline
Joined: Nov 2000
Posts: 169
thx will try it out!

------------------


Some men live for others and make their presence known
Some men live in seclusion and choose to live alone...
Some men live for justice and walk inside the law
But of these men, the group I'm in
are the men behind the wall...
- Gato Suertudo
Joined: Nov 2000
Posts: 68
Member
Member
Offline
Joined: Nov 2000
Posts: 68
Oh, and I'll prolly be making this UBB6.0 compatible... prolly... [Linked Image]

Joined: Feb 2001
Posts: 14
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 14
Yes, make it UBB6 compatible... since everyone is going to be changing over to UBB6 within the month (most people anyway).

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Will this work with versions that do not have a cpanel4.cgi like the earlier 5.4x versions, and if so, what are the proper steps?

Sponsored Links
Joined: Nov 2000
Posts: 68
Member
Member
Offline
Joined: Nov 2000
Posts: 68
[Linked Image] I'll have to dig up my copy of 5.43b and let ya know which bits need changing, but yes, with a little modification, it will work with those versions.

[ February 12, 2001: Message edited by: Turbanator ]

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Thanks Turbanator!

I'll be looking for it!

Joined: Nov 2000
Posts: 123
CT Offline
Member
Member
Offline
Joined: Nov 2000
Posts: 123
Did anyone get this hack working in combination with the karma hack?

Joined: Nov 2000
Posts: 68
Member
Member
Offline
Joined: Nov 2000
Posts: 68
[Linked Image] It should have no problems with any other hack, it isn't reliant on very much.

Joined: Mar 2000
Posts: 57
NSA Offline
Member
Member
Offline
Joined: Mar 2000
Posts: 57
I did everything as told.. and it seems to work find, EXCEPT!

When I click on "User Info & Permissions" an error message comes up, saying:

Line: 9
Error: 'document.THEFORM.UserName' is null or not an object

Then I click OK and it works fine, but it is a tad annoying. Any ideas? This is on a fresh 5.47 install. confused

Sponsored Links
Joined: Nov 2000
Posts: 123
CT Offline
Member
Member
Offline
Joined: Nov 2000
Posts: 123
Code
quote:</font><HR>Originally posted by Turbanator:
[Linked Image] It should have no problems with any other hack, it isn't reliant on very much.<HR></BLOCKQUOTE>

Well it does... The Karma hack uses a memberprofile field and this piece of code is completely changed: <BLOCKQUOTE><font size="1" face="Verdana, Helvetica, Arial">code:

I would really want to implement this hack though. So if anyone got it working with the Karma hack then I would be thankful if someone could explain how...

Cheers,

CT.

Joined: Nov 2000
Posts: 68
Member
Member
Offline
Joined: Nov 2000
Posts: 68
Quote
quote:
Wierd... have you got a backup of cpanel.cgi?

If so, restore it and rehack it, somethings messed up the javascript on that page that tests wether you've inserted your username and pass before submitting.

Joined: Nov 2000
Posts: 68
Member
Member
Offline
Joined: Nov 2000
Posts: 68
Code
quote:</font><HR>Originally posted by CT:
<BLOCKQUOTE><font size="1" face="Verdana, Helvetica, Arial">code:

I would really want to implement this hack though. So if anyone got it working with the Karma hack then I would be thankful if someone could explain how...

Cheers,

CT.

You need to use another profile line, other than the line 15 which I specifed (by default [UnHacked], the next availble line is #15). Just go for the next availble number and it'll log ips to that line.

Joined: Nov 2000
Posts: 123
CT Offline
Member
Member
Offline
Joined: Nov 2000
Posts: 123
Turbanator,

My membership routine says something like this: (since I installed the Karma hack)

Code
code:

My question is: how do I add the 15th field?

Thanks for your help,

CT.

[ April 27, 2001 08:19 AM: Message edited by: CT ]

Joined: Nov 2000
Posts: 123
CT Offline
Member
Member
Offline
Joined: Nov 2000
Posts: 123
I think I've got the hack working.

I put the memberfield[18] because 1 to 17 were taken.

That did the trick. Thanks man!

CT.

Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743

Error: 'document.THEFORM.UserName' is null or not an object


Im getting the same error also.


I can't afford a good signature editor frown
Joined: Nov 2000
Posts: 68
Member
Member
Offline
Joined: Nov 2000
Posts: 68
The easiest fix for it is to, cpanel.cgi, change:
Code
code:

to

Code
code:

What versions of UBB are you running BTW?

Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
I worked that out after posting the msg smile

Im using 5.47d


I can't afford a good signature editor frown
Joined: Nov 2000
Posts: 68
Member
Member
Offline
Joined: Nov 2000
Posts: 68
Okay, line up to punch me tipsy

Code
code:

change to:

Code
code:

also might wanna change this section:
Code
code:

to:

Code
code:

No spaced between get and Cookie in the actual code (UBB6.0 being ghey isn't letting me post it :p) have fun smile

Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
Another thing that would make this hack a bit better....
When doing a search for members by username or something, u get a row of grey & white lines with IP's listed in them for the users that are displayed. The thing is you dont know which user it belongs to.
maybe insted of showing the IP above the results table, why not add an extra column to that table that is already there and show the IP in that. Would be much better!


I can't afford a good signature editor frown
Joined: Nov 2000
Posts: 123
CT Offline
Member
Member
Offline
Joined: Nov 2000
Posts: 123
Yet another idea is to log al IP's ever used by a user, and not just the last one.

Or would that make a to big IP file?

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Quote
quote:
Yep, huge. Just consider all the IP #s AOL generates!

Side note to Turbanator:

Have you documented the hack for earlier 5.xx versions yet?


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
hatter
hatter
USA
Posts: 69
Joined: January 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
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)