<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Here&#8217;s a quick way to run a petition in WordPress</title>
	<atom:link href="http://www.freecharity.org.uk/2007/10/03/heres-a-quick-way-to-run-a-petition-in-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.freecharity.org.uk/2007/10/03/heres-a-quick-way-to-run-a-petition-in-wordpress/</link>
	<description>Free web hosting for UK charities and non-profit organisations</description>
	<lastBuildDate>Mon, 24 Aug 2009 11:37:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Mouad</title>
		<link>http://www.freecharity.org.uk/2007/10/03/heres-a-quick-way-to-run-a-petition-in-wordpress/comment-page-2/#comment-6567</link>
		<dc:creator>Mouad</dc:creator>
		<pubDate>Mon, 24 Aug 2009 11:37:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.freecharity.org.uk/2007/10/03/heres-a-quick-way-to-run-a-petition-in-wordpress/#comment-6567</guid>
		<description>Please , at least tell us how can we manually confirm the signatures.. in Wordpress Extend you say that it supports manual confirmation, but I dont see that anywhere in the petition management.</description>
		<content:encoded><![CDATA[<p>Please , at least tell us how can we manually confirm the signatures.. in WordPress Extend you say that it supports manual confirmation, but I dont see that anywhere in the petition management.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mouad</title>
		<link>http://www.freecharity.org.uk/2007/10/03/heres-a-quick-way-to-run-a-petition-in-wordpress/comment-page-2/#comment-6565</link>
		<dc:creator>Mouad</dc:creator>
		<pubDate>Wed, 22 Jul 2009 11:18:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.freecharity.org.uk/2007/10/03/heres-a-quick-way-to-run-a-petition-in-wordpress/#comment-6565</guid>
		<description>Hey James... I am still waiting for the you to resolve the issues I have earlier mentioned regarding the plugin. I understand if you are busy in your personal life, but please at least tell us if you are willing to fix the issues and make the changes or not. Thank you</description>
		<content:encoded><![CDATA[<p>Hey James&#8230; I am still waiting for the you to resolve the issues I have earlier mentioned regarding the plugin. I understand if you are busy in your personal life, but please at least tell us if you are willing to fix the issues and make the changes or not. Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pauleco</title>
		<link>http://www.freecharity.org.uk/2007/10/03/heres-a-quick-way-to-run-a-petition-in-wordpress/comment-page-2/#comment-6560</link>
		<dc:creator>pauleco</dc:creator>
		<pubDate>Wed, 29 Apr 2009 16:28:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.freecharity.org.uk/2007/10/03/heres-a-quick-way-to-run-a-petition-in-wordpress/#comment-6560</guid>
		<description>&lt;a href=&quot;#comment-6557&quot; rel=&quot;nofollow&quot;&gt;@James Davis&lt;/a&gt; 

Here&#039;s a patch.. I got our developer to have a look - he said:

&quot;This is because $sub_title which is defined in one function and used in another function is not a global variable. I simply made it a global variable, really this should be object orientated...&quot;

--------------------------------

--- wordpress-petition-plugin/fcpetition.php.bak 2009-04-29 16:05:04.000000000 +0000
+++ wordpress-petition-plugin/fcpetition.php 2009-04-29 16:01:16.000000000 +0000
@@ -435,7 +435,7 @@
 }
 
 function fcpetition_form_bottom($petition) {
- global $wpdb;
+ global $wpdb, $sub_title;
     global $signature_table;
     global $petitions_table;
  $pa =  fcpetition_fetchattributes($petition);
@@ -483,7 +483,7 @@
 }
 
 function fcpetition_form($petition){
- global $wpdb;
+ global $wpdb, $sub_title;
  global $signature_table;
  global $petitions_table;

-----------------------------------


Hope that helps?! (Never posted a patch before...)</description>
		<content:encoded><![CDATA[<p><a href="#comment-6557" rel="nofollow">@James Davis</a> </p>
<p>Here&#8217;s a patch.. I got our developer to have a look &#8211; he said:</p>
<p>&#8220;This is because $sub_title which is defined in one function and used in another function is not a global variable. I simply made it a global variable, really this should be object orientated&#8230;&#8221;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>&#8212; wordpress-petition-plugin/fcpetition.php.bak 2009-04-29 16:05:04.000000000 +0000<br />
+++ wordpress-petition-plugin/fcpetition.php 2009-04-29 16:01:16.000000000 +0000<br />
@@ -435,7 +435,7 @@<br />
 }</p>
<p> function fcpetition_form_bottom($petition) {<br />
- global $wpdb;<br />
+ global $wpdb, $sub_title;<br />
     global $signature_table;<br />
     global $petitions_table;<br />
  $pa =  fcpetition_fetchattributes($petition);<br />
@@ -483,7 +483,7 @@<br />
 }</p>
<p> function fcpetition_form($petition){<br />
- global $wpdb;<br />
+ global $wpdb, $sub_title;<br />
  global $signature_table;<br />
  global $petitions_table;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Hope that helps?! (Never posted a patch before&#8230;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pauleco</title>
		<link>http://www.freecharity.org.uk/2007/10/03/heres-a-quick-way-to-run-a-petition-in-wordpress/comment-page-1/#comment-6559</link>
		<dc:creator>pauleco</dc:creator>
		<pubDate>Wed, 29 Apr 2009 14:49:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.freecharity.org.uk/2007/10/03/heres-a-quick-way-to-run-a-petition-in-wordpress/#comment-6559</guid>
		<description>&lt;a href=&quot;#comment-6557&quot; rel=&quot;nofollow&quot;&gt;@James Davis&lt;/a&gt; 

Hiya James - no they aren&#039;t confirming their sigs... wondering if it is possible to use akismet somehow to prevent them from posting..?

Upgraded to 2.3.3 today (plugin prompted me btw) - no vote count on the petition page like there used to be... should there be or has that functionality been moved to the widget?

Cheers
Paul</description>
		<content:encoded><![CDATA[<p><a href="#comment-6557" rel="nofollow">@James Davis</a> </p>
<p>Hiya James &#8211; no they aren&#8217;t confirming their sigs&#8230; wondering if it is possible to use akismet somehow to prevent them from posting..?</p>
<p>Upgraded to 2.3.3 today (plugin prompted me btw) &#8211; no vote count on the petition page like there used to be&#8230; should there be or has that functionality been moved to the widget?</p>
<p>Cheers<br />
Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Davis</title>
		<link>http://www.freecharity.org.uk/2007/10/03/heres-a-quick-way-to-run-a-petition-in-wordpress/comment-page-1/#comment-6557</link>
		<dc:creator>James Davis</dc:creator>
		<pubDate>Mon, 27 Apr 2009 17:00:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.freecharity.org.uk/2007/10/03/heres-a-quick-way-to-run-a-petition-in-wordpress/#comment-6557</guid>
		<description>Try upgrading to 2.3.3, does it still happen?
As for attempted spam: I presume they aren&#039;t successfully confirming their signatures?</description>
		<content:encoded><![CDATA[<p>Try upgrading to 2.3.3, does it still happen?<br />
As for attempted spam: I presume they aren&#8217;t successfully confirming their signatures?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pauleco</title>
		<link>http://www.freecharity.org.uk/2007/10/03/heres-a-quick-way-to-run-a-petition-in-wordpress/comment-page-1/#comment-6554</link>
		<dc:creator>pauleco</dc:creator>
		<pubDate>Wed, 22 Apr 2009 10:48:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.freecharity.org.uk/2007/10/03/heres-a-quick-way-to-run-a-petition-in-wordpress/#comment-6554</guid>
		<description>Hiya James,

I noticed after one of the recent upgrades that the total signatories figures is no longer displayed on the petition page. Is there a way to turn it back on?

Also - a little suggestion for the next update: Blacklist email/IP addresses. 

I am getting a lot of attempted spam from mail.ru on the petition at the moment...</description>
		<content:encoded><![CDATA[<p>Hiya James,</p>
<p>I noticed after one of the recent upgrades that the total signatories figures is no longer displayed on the petition page. Is there a way to turn it back on?</p>
<p>Also &#8211; a little suggestion for the next update: Blacklist email/IP addresses. </p>
<p>I am getting a lot of attempted spam from mail.ru on the petition at the moment&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Davis</title>
		<link>http://www.freecharity.org.uk/2007/10/03/heres-a-quick-way-to-run-a-petition-in-wordpress/comment-page-1/#comment-6536</link>
		<dc:creator>James Davis</dc:creator>
		<pubDate>Mon, 16 Mar 2009 11:53:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.freecharity.org.uk/2007/10/03/heres-a-quick-way-to-run-a-petition-in-wordpress/#comment-6536</guid>
		<description>Thanks for spotting this. I&#039;ve been on holiday, but managed to sneak out a new release which should fix this problem.</description>
		<content:encoded><![CDATA[<p>Thanks for spotting this. I&#8217;ve been on holiday, but managed to sneak out a new release which should fix this problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Davis</title>
		<link>http://www.freecharity.org.uk/2007/10/03/heres-a-quick-way-to-run-a-petition-in-wordpress/comment-page-1/#comment-6535</link>
		<dc:creator>James Davis</dc:creator>
		<pubDate>Mon, 16 Mar 2009 11:52:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.freecharity.org.uk/2007/10/03/heres-a-quick-way-to-run-a-petition-in-wordpress/#comment-6535</guid>
		<description>I&#039;m afraid that I don&#039;t know anything about programming facebook applications.</description>
		<content:encoded><![CDATA[<p>I&#8217;m afraid that I don&#8217;t know anything about programming facebook applications.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vivek</title>
		<link>http://www.freecharity.org.uk/2007/10/03/heres-a-quick-way-to-run-a-petition-in-wordpress/comment-page-1/#comment-6531</link>
		<dc:creator>Vivek</dc:creator>
		<pubDate>Sat, 14 Mar 2009 16:05:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.freecharity.org.uk/2007/10/03/heres-a-quick-way-to-run-a-petition-in-wordpress/#comment-6531</guid>
		<description>Hi,

I am using your petition plugin on my website. I wanted to use the petition on a facebook app and on a standalone website. I want to use the e-mail verification option on the website, but not on the app. How can I do that?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am using your petition plugin on my website. I wanted to use the petition on a facebook app and on a standalone website. I want to use the e-mail verification option on the website, but not on the app. How can I do that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anatolie Gavriliuc</title>
		<link>http://www.freecharity.org.uk/2007/10/03/heres-a-quick-way-to-run-a-petition-in-wordpress/comment-page-1/#comment-6508</link>
		<dc:creator>Anatolie Gavriliuc</dc:creator>
		<pubDate>Fri, 27 Feb 2009 18:47:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.freecharity.org.uk/2007/10/03/heres-a-quick-way-to-run-a-petition-in-wordpress/#comment-6508</guid>
		<description>Great plugin! 
There is a JS-injection security problem, though. Try input &gt;&#039;&gt;alert(123)&lt;&#039; for the name or any custom field and you will see then the jscript will execute on both the post page and in the admin panel. This can be used by malicious users to redirect all visitors to other sites, for example.

The fix is pretty simple - use htmlspecialchars(field,ENT_QUOTES) when displaying html.</description>
		<content:encoded><![CDATA[<p>Great plugin!<br />
There is a JS-injection security problem, though. Try input &gt;&#8217;&gt;alert(123)&lt;&#8217; for the name or any custom field and you will see then the jscript will execute on both the post page and in the admin panel. This can be used by malicious users to redirect all visitors to other sites, for example.</p>
<p>The fix is pretty simple &#8211; use htmlspecialchars(field,ENT_QUOTES) when displaying html.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

