Topic: new user was registered with the same IP address !

Hi, i already create the punbb as my company internal forum, because of internal forum, so that the IP address is same, so the staff cant register due to below problem. Please advise, thanks

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.

Re: new user was registered with the same IP address !

Hello,

go to register.php and change this block of code.... changing the number of seconds for example...

[code=php]

else if (isset($_POST['form_sent']))
{
    ($hook = get_hook('rg_register_form_submitted')) ? eval($hook) : null;

    // Check that someone from this IP didn't register a user within the last hour (DoS prevention)
    $query = array(
        'SELECT'    => '1',
        'FROM'        => 'users AS u',
        'WHERE'        => 'u.registration_ip=\''.$forum_db->escape(get_remote_address()).'\' AND u.registered>'.(time() - 3600)
    );

    ($hook = get_hook('rg_register_qr_check_register_flood')) ? eval($hook) : null;
    $result = $forum_db->query_build($query) or error(__FILE__, __LINE__);
    if ($forum_db->num_rows($result))
        $errors[] = $lang_profile['Registration flood'];
[/code]

Re: new user was registered with the same IP address !

Maybe here..

else if (isset($_POST['form_sent']))
{
    ($hook = get_hook('rg_register_form_submitted')) ? eval($hook) : null;
    // Check that someone from this IP didn't register a user within the last hour (DoS prevention)
    $query = array(
        'SELECT'    => '1',
        'FROM'        => 'users AS u',
        'WHERE'        => 'u.registration_ip=\''.$forum_db->escape(get_remote_address()).'\' AND u.registered>'.(time() - 3600)
    );
    ($hook = get_hook('rg_register_qr_check_register_flood')) ? eval($hook) : null;
    $result = $forum_db->query_build($query) or error(__FILE__, __LINE__);
    if ($forum_db->num_rows($result))
        $errors[] = $lang_profile['Registration flood'];

change the bold to zero = 0

sorry my BAD english T___T
Have a nice day >.<
(^____^)v