The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Prevent Multiple Registrations From Same IP Address Details »» | |||||||||||||||||||||||||||
Prevent Multiple Registrations From Same IP Address
Developer Last Online: Jun 2013
Prevent Registrations From Same IP Address
Description: Limits the number of users registering from the same IP address Installation and Usage:
ACP Options:
Please click install! Show Your Support
|
Comments |
#22
|
||||
|
||||
Is this still in beta stage then?
|
#23
|
||||
|
||||
Well, I haven't heard any problems reported, nor have I had any problems myself... so I suppose not.
|
#24
|
|||
|
|||
What if someone lives in Qatar?
where they only have 1 ISP, which uses a proxy, and as a result everyone in the whole state shows to have the same IP. |
#25
|
||||
|
||||
Quote:
There is an "allowed" list though, so you could always put that one IP address in that list... this hack will then ignore that IP address. |
#26
|
|||
|
|||
Ok, there is an issue.
When a user registers and tries to activate... he gets this message: Quote:
|
#27
|
||||
|
||||
Ahhhh, I could see that being a problem. Silly me didn't think of that, seeing how I don't use activation >.< I'll take a look at it.
|
#28
|
||||
|
||||
Problem fixed... sorry about that.
If you have this hack already and don't want to reinstall this, you can just modify the plugin code. Go to your Plugin Manager, and find the plugin in register_start called "Ban Registrations From Same IP Address". Replace the entire plugin code with: Code:
if ($_REQUEST['do'] == 'register' || $_POST['do'] == 'addmember' || $_REQUEST['do'] == 'signup') { // Get remote addr $vbulletin->input->clean_gpc('s','REMOTE_ADDR',TYPE_STR); // Check if user is in allowed list $allowed = explode("\r\n",$vbulletin->options['allowed_unique_ip']); if (!in_array($vbulletin->GPC['REMOTE_ADDR'], $allowed)) { // are we checking for unique registration IP? if ($vbulletin->options['force_unique_ip']) { // Check for existing users who registered with the same IP address $k_getsame = $db->query_first("SELECT COUNT(*) AS total FROM " . TABLE_PREFIX . "user WHERE ipaddress='" . $vbulletin->GPC['REMOTE_ADDR'] . "'"); // do we have more users than we should if ($k_getsame[total] >= ($vbulletin->options['number_unique_ip'])) { // error message now standard_error($vbulletin->options['unique_ip_req_message'],'',true,'STANDARD_ERROR_LOGIN'); } } if ($vbulletin->options['force_unique_post_ip']) { // Check for existing users who posted with the same IP address $k_getsame = $db->query_read("SELECT COUNT(*) as total, userid AS userid FROM " . TABLE_PREFIX . "post WHERE ipaddress='" . $vbulletin->GPC['REMOTE_ADDR'] . "' GROUP BY userid"); $k_temp = 0; while (list($k_total, $k_userid) = $db->fetch_row($k_getsame)) { $k_temp++; } // how many are there, is it too many? if ($k_temp >= $vbulletin->options['number_unique_post_ip']) { standard_error($vbulletin->options['unique_ip_req_message'],'',true,'STANDARD_ERROR_LOGIN'); } } } } |
#29
|
|||
|
|||
Made the changes and all seems fine now
Thank you for that. . |
#30
|
|||
|
|||
I am getting a ton users messaging us saying that they have signed up already, or at least the message says they are. Is this due to AOL? Also, if I use the include list with an entry like 207.1 will that work?
We do have many that signup everyday. |
#31
|
||||
|
||||
It could in fact be due to AOL, if AOL constantly is reusing IP addresses... and I'm sorry, no it doesn't currently do partial IP addresses, just full ones. How useful would having partial IP addresses be?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|