<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>sNews Ajax Polls mod now available</title>
<link>http://www.mdj.us/</link>
<description>A PHP Ajax polls mod/ plug-in for the sNews content management system.</description>
<language>en</language>
<item>
<title>Different</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/snews-ajax-polls-mod-now-available/#comment-1274</link>
<pubDate>Sun, 07 Nov 2010 20:34:28 +0000</pubDate>
<content:encoded><![CDATA[Hi, Matt!<br />
For UTF-8 you need add mysql_query(&quot;SET NAMES 'utf8'&quot;) in file poll_process.php after line $conn = mysql_connect($server,$dbuser,$dbpass) or die(mysql_error())]]></content:encoded>
</item>
<item>
<title>logon</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/snews-ajax-polls-mod-now-available/#comment-1053</link>
<pubDate>Tue, 06 Apr 2010 10:28:23 +0000</pubDate>
<content:encoded><![CDATA[I took the time to test this, and it works flawlessly, I just made a test poll on my site (in danish) but it looks good.]]></content:encoded>
</item>
<item>
<title>Matt</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/snews-ajax-polls-mod-now-available/#comment-1034</link>
<pubDate>Mon, 29 Mar 2010 16:28:42 +0000</pubDate>
<content:encoded><![CDATA[Hi Tatsu,<br />
<br />
If you want to &quot;close&quot; a poll, right now, the only way to do that is to set the &quot;novote&quot; option to 1 when displaying the poll.<br />
<br />
Like this;<br />
                       â†“<br />
&lt;?php echo show_poll(3,1); ?&gt;<br />
As for displaying the latest poll, you would have to write a small function to do such. Simply select the poll form the DB with the highest ID number and pass that to the show_poll function.<br />
<br />
As for making the poll always show in X location, I use an extra within the admin interface to display on the page/categories I want.]]></content:encoded>
</item>
<item>
<title>Tatsu</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/snews-ajax-polls-mod-now-available/#comment-1033</link>
<pubDate>Mon, 29 Mar 2010 16:25:05 +0000</pubDate>
<content:encoded><![CDATA[Howdy,<br />
<br />
once again i have a question. This mod is fantastic! But I have a idea...how could you make, that the mod will run allways at (example index.php below the cat)<br />
That the poll will automaticly update for a new poll, or it would type or say, the poll is closed! VOTING ISNT ALLOWED ANY MORE! how would i make that? :D<br />
<br />
tnx matt!]]></content:encoded>
</item>
<item>
<title>salut</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/snews-ajax-polls-mod-now-available/#comment-841</link>
<pubDate>Wed, 03 Feb 2010 15:06:21 +0000</pubDate>
<content:encoded><![CDATA[Thank you very much]]></content:encoded>
</item>
<item>
<title>Matt</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/snews-ajax-polls-mod-now-available/#comment-840</link>
<pubDate>Wed, 03 Feb 2010 12:42:09 +0000</pubDate>
<content:encoded><![CDATA[Thanks for the note salut. I just realized there is a problem with returning the poll via PHP in version 1.0.2, if you're not using my caching mod.<br />
<br />
I have just updated the file, please download &lt;a href=&quot;http://mdj.us/media/mod_poll_1.0.3.zip&quot;&gt;mod_poll_1.0.3.zip&lt;/a&gt;, and replace the poll_functions.php file and you should be all set.<br />
<br />
Or you could just make sure to echo the show_poll function when calling via PHP;<br />
      &amp;darr;&amp;darr;&amp;darr;&amp;darr;<br />
&lt;?php echo show_poll(3,0); ?&gt;<br />
Sorry about that!]]></content:encoded>
</item>
<item>
<title>salut</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/snews-ajax-polls-mod-now-available/#comment-838</link>
<pubDate>Wed, 03 Feb 2010 10:25:19 +0000</pubDate>
<content:encoded><![CDATA[Hello! Sorry for my English. Thank you for the addition to Snews. I did everything as written in the instructions, then created a poll and at his page, put the function call<br />
&lt;?php show_poll (3,0);?&gt;<br />
But the poll is not displayed. What could be the reason?<br />
Thank you.]]></content:encoded>
</item>
<item>
<title>Matt</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/snews-ajax-polls-mod-now-available/#comment-736</link>
<pubDate>Sat, 26 Dec 2009 16:17:06 +0000</pubDate>
<content:encoded><![CDATA[Whoops, looks I left it out of 1.0.2, I have added it back in the zip file, thanks selo!]]></content:encoded>
</item>
<item>
<title>selo</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/snews-ajax-polls-mod-now-available/#comment-735</link>
<pubDate>Sat, 26 Dec 2009 12:06:13 +0000</pubDate>
<content:encoded><![CDATA[Seems like a great mod, but where is the poll.sql? It doesn't appear to be inside the zip file. Please check it.]]></content:encoded>
</item>
<item>
<title>Pico RG</title>
<description></description>
<link>http://www.mdj.us/snews-cms/hacks-mods/snews-ajax-polls-mod-now-available/#comment-683</link>
<pubDate>Sun, 22 Nov 2009 03:52:52 +0000</pubDate>
<content:encoded><![CDATA[Nice will do. I will test it right now]]></content:encoded>
</item>
</channel>
</rss>

