<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: limit submissions per user for a limited time</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: limit submissions per user for a limited time</description>
<language>en</language>
<pubDate>Sat, 07 Nov 2026 08:09:59 +0000</pubDate>

<item>
<title>redityo on "limit submissions per user for a limited time"</title>
<link>https://www.machform.com/forums/topic/limit-submissions-per-user-for-a-limited-time#post-6805</link>
<pubDate>Mon, 03 Aug 2009 09:05:55 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">6805@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Try to edit your &#34;includes/post-functions.php&#34; and go to line 879, you will see this SQL :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$query = &#38;quot;select count(id) total_ip from &#38;lt;code&#38;gt;ap_form_{$form_id}&#38;lt;/code&#38;gt; where
 ip_address=&#38;#39;$user_ip_address&#38;#39;&#38;quot;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;change it to &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$query = &#38;quot;select count(id) total_ip,datediff(now(),max(date_created)) last_date from
 &#38;lt;code&#38;gt;ap_form_{$form_id}&#38;lt;/code&#38;gt; where ip_address=&#38;#39;$user_ip_address&#38;#39;&#38;quot;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;then go to line 883, you will see this code &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(!empty($row[&#38;#39;total_ip&#38;#39;])){&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;change to&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(!empty($row[&#38;#39;total_ip&#38;#39;]) &#38;#38;&#38;#38; $row[&#38;#39;last_date&#38;#39;] == 0 ){&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>abdul on "limit submissions per user for a limited time"</title>
<link>https://www.machform.com/forums/topic/limit-submissions-per-user-for-a-limited-time#post-6777</link>
<pubDate>Sat, 01 Aug 2009 14:09:22 +0000</pubDate>
<dc:creator>abdul</dc:creator>
<guid isPermaLink="false">6777@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Is there a way to limit submissions per user to one submission every 24hrs?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
