The Arcive of vBulletin Modifications Site. |
|
IP Restrict User Details »»
|
|||||||||||||||||||||||||
Using this hack makes it impossible for users to login with an ip other than the one that was put in database upon registering.
Not much of a hack really, only 5 line's of code and a error template, but it could be usefull to prevent account sharing and such ![]() If there's no ip in the ipaddress field in the user table of your database for a user, it will allow the user to login, so modem users and other people with a dynamic ip can log-in, as long as you delete their registered ip from their profile. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
hmm, i don't know, but not much people have a static ip....
i think this will cause more problems as it'll avoid. |
|
#3
|
||||
|
||||
|
Isnt this already a function in vbulletin?
|
|
#4
|
||||
|
||||
|
I've never seen it :S
|
|
#5
|
||||
|
||||
|
There's already a hack out like this called checkip.
|
|
#6
|
||||
|
||||
|
I suppose this would be OK if I could restirct it by the IP block, but not the exact IP. Unless I can do that I'm not installing this, too many problems.
|
|
#7
|
|||
|
|||
|
Aargh, newreply.php must hate me
![]() I didn't know there was already such a hack out there, I couldn't find it here anyway. About the range locking, I'm working on that, but I need to find the ipban function so I can see how it works
|
|
#8
|
|||
|
|||
|
Did it, if you want range support open root/member.php and
replace PHP Code:
PHP Code:
|
|
#9
|
||||
|
||||
|
Could this be made to be able to turn on or off in the admin cp?
Quote:
|
|
#10
|
|||
|
|||
|
hehe
- dont install if your members are on dialup net access - good effort though
|
![]() |
|
|