IP Tracking/Account Limiter
BROKEN AS OF 1.2.3, WORKING ON NEW RELEASE.
So this was the first mod I ever did to this script, simply because I forseen possible abuse (besides fact the donate script is 100% bugged and should be fixed/removed) MAKE SURE YOU MAKE BACKUPS To start you need to open phpmyadmin or whatever you use to manage your MySQL database. Add a new column to YOURPREFIXHERE_users name the column "ip" (Obviously not the " 's only the word ip) Open: register.php Find: (Around line 25) PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Open: admin.php Find: (Around line 1570) PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Open: login.php Find: (Around line 20, still no idea why I did this but eh it's there.) PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Open: lang/lang.php Find: (Around line 18) PHP Code:
PHP Code:
|
This is very nice, their isn't a lot of tracking (in this script) to tell if any users are trying to break the system.
|
This looks like a real awesome mod, thanks for posting it.
|
That's brilliant. Is there a way to make it so a certain IP can only have, say 5 accounts instead of one? Some of my users share IPs with their family.
Also, for the part that says "You already have an account" maybe have a link to the 'forgot password' page. |
I've been testing these on low member servers, but I imagine this would have to be re-adapted for a high member volume website, at least a one pass through the database, check for multiple IP's if they exist email user a warning to pick an account to keep (freeze both/all accounts linked to same ip so they cant do sudden transfers and such)
|
Also I'm sure its possible by messing with perhaps the ipflag section of register.php
Not 100% positive as I made this.... almost a month or so ago, I was surprised to remember all my edits. |
I do not understand this:
Quote:
Thanks. |
All times are GMT -5. The time now is 09:17 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.