Topic: A new user was registered with the same IP address as you one hour ago
How do I get rid of this thing?
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 troubleshooting → A new user was registered with the same IP address as you one hour ago
How do I get rid of this thing?
Comment out or remove this code from register.php:
// Check that someone from this IP didn't register a user within the last hour (DoS prevention)
$result = $db->query('SELECT 1 FROM '.$db->prefix.'users WHERE registration_ip=\''.get_remote_address().'\' AND registered>'.(time() - 3600)) or error('Unable to fetch user info', __FILE__, __LINE__, $db->error());
if ($db->num_rows($result))
message('A new user was registered with the same IP address as you within the last hour. To prevent registration flooding, at least an hour has to pass between registrations from the same IP. Sorry for the inconvenience.');
Thank you!
thanks man. but how do i decrease the time from 1 hour to 10 minutes?
change 3600 to 600?
Yes.
sir, and how do i change
"Bad request. The link you followed is incorrect or outdated."
to
" You arent able to see this because you arent a registered user. Please register" ?
in those forums where guests arent allowed to see anything.
sir, and how do i change
"Bad request. The link you followed is incorrect or outdated."
to
" You arent able to see this because you arent a registered user. Please register" ?in those forums where guests arent allowed to see anything.
Bad request isn't what's shown when people are guests and can't see anything
PunBB Forums → PunBB 1.2 troubleshooting → A new user was registered with the same IP address as you one hour ago
Powered by PunBB, supported by Informer Technologies, Inc.