<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — new user was registered with the same IP address !]]></title>
		<link>https://punbb.informer.com/forums/topic/23836/new-user-was-registered-with-the-same-ip-address/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/23836/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in new user was registered with the same IP address !.]]></description>
		<lastBuildDate>Wed, 03 Oct 2012 04:14:25 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: new user was registered with the same IP address !]]></title>
			<link>https://punbb.informer.com/forums/post/146552/#p146552</link>
			<description><![CDATA[<p>Maybe here..<br /></p><div class="quotebox"><blockquote><p>else if (isset($_POST[&#039;form_sent&#039;]))<br />{<br />&nbsp; &nbsp; ($hook = get_hook(&#039;rg_register_form_submitted&#039;)) ? eval($hook) : null;<br />&nbsp; &nbsp; // Check that someone from this IP didn&#039;t register a user within the last hour (DoS prevention)<br />&nbsp; &nbsp; $query = array(<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;SELECT&#039;&nbsp; &nbsp; =&gt; &#039;1&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;FROM&#039;&nbsp; &nbsp; &nbsp; &nbsp; =&gt; &#039;users AS u&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;WHERE&#039;&nbsp; &nbsp; &nbsp; &nbsp; =&gt; &#039;u.registration_ip=\&#039;&#039;.$forum_db-&gt;escape(get_remote_address()).&#039;\&#039; AND u.registered&gt;&#039;.(time() - <strong>3600</strong>)<br />&nbsp; &nbsp; );<br />&nbsp; &nbsp; ($hook = get_hook(&#039;rg_register_qr_check_register_flood&#039;)) ? eval($hook) : null;<br />&nbsp; &nbsp; $result = $forum_db-&gt;query_build($query) or error(__FILE__, __LINE__);<br />&nbsp; &nbsp; if ($forum_db-&gt;num_rows($result))<br />&nbsp; &nbsp; &nbsp; &nbsp; $errors[] = $lang_profile[&#039;Registration flood&#039;];</p></blockquote></div><p>change the bold to zero = 0</p>]]></description>
			<author><![CDATA[null@example.com (kudataz)]]></author>
			<pubDate>Wed, 03 Oct 2012 04:14:25 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/146552/#p146552</guid>
		</item>
		<item>
			<title><![CDATA[Re: new user was registered with the same IP address !]]></title>
			<link>https://punbb.informer.com/forums/post/138845/#p138845</link>
			<description><![CDATA[<p>Hello,</p><p>go to register.php and change this block of code.... changing the number of seconds for example...</p><p>[code=php]</p><p>else if (isset($_POST[&#039;form_sent&#039;]))<br />{<br />&nbsp; &nbsp; ($hook = get_hook(&#039;rg_register_form_submitted&#039;)) ? eval($hook) : null;</p><p>&nbsp; &nbsp; // Check that someone from this IP didn&#039;t register a user within the last hour (DoS prevention)<br />&nbsp; &nbsp; $query = array(<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;SELECT&#039;&nbsp; &nbsp; =&gt; &#039;1&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;FROM&#039;&nbsp; &nbsp; &nbsp; &nbsp; =&gt; &#039;users AS u&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;WHERE&#039;&nbsp; &nbsp; &nbsp; &nbsp; =&gt; &#039;u.registration_ip=\&#039;&#039;.$forum_db-&gt;escape(get_remote_address()).&#039;\&#039; AND u.registered&gt;&#039;.(time() - 3600)<br />&nbsp; &nbsp; );</p><p>&nbsp; &nbsp; ($hook = get_hook(&#039;rg_register_qr_check_register_flood&#039;)) ? eval($hook) : null;<br />&nbsp; &nbsp; $result = $forum_db-&gt;query_build($query) or error(__FILE__, __LINE__);<br />&nbsp; &nbsp; if ($forum_db-&gt;num_rows($result))<br />&nbsp; &nbsp; &nbsp; &nbsp; $errors[] = $lang_profile[&#039;Registration flood&#039;];<br />[/code]</p>]]></description>
			<author><![CDATA[null@example.com (KeyDog)]]></author>
			<pubDate>Thu, 09 Dec 2010 09:07:34 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/138845/#p138845</guid>
		</item>
		<item>
			<title><![CDATA[new user was registered with the same IP address !]]></title>
			<link>https://punbb.informer.com/forums/post/138843/#p138843</link>
			<description><![CDATA[<p>Hi, i already create the punbb as my company <strong>internal </strong>forum, because of internal forum, so that the IP address is same, so the staff cant register due to below problem. Please advise, thanks</p><p><strong>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.</strong></p>]]></description>
			<author><![CDATA[null@example.com (derrick_goi)]]></author>
			<pubDate>Thu, 09 Dec 2010 04:11:31 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/138843/#p138843</guid>
		</item>
	</channel>
</rss>
