<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Advanced Poll 3.0 - one user, multiple votes"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Advanced Poll 3.0 - one user, multiple votes"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Advanced Poll 3.0 - one user, multiple votes</title>
				<description><![CDATA[ Dear forum,<br /> <br /> I installed Advanced Poll 3.0 and would like to set it up to allow the same user to make multiple votes. The reason, is to use it as a feedback service for students so they can rate and comment on lessons. This information will then be made public to future students.<br /> <br /> At the moment, the same user can only vote once, but is able to make multiple comments.<br /> <br /> I used the code from Demo 2, I think.<br /> [code]&lt;?php<br /> <br /> /* path */<br /> $poll_path = "/home/lees/public_html/poll";<br /> <br /> require_once $poll_path."/include/config.inc.php";<br /> require_once $poll_path."/include/$POLLDB[class]";<br /> require_once $poll_path."/include/class_poll.php";<br /> require_once $poll_path."/include/class_pollcomment.php";<br /> $CLASS["db"] = new polldb_sql;<br /> $CLASS["db"]-&gt;connect(); <br /> <br /> $php_poll = new pollcomment();<br /> <br /> /* poll */<br /> $php_poll-&gt;set_template_set("plain");<br /> $php_poll-&gt;set_max_bar_length(125);<br /> $php_poll-&gt;set_max_bar_height(10);<br /> echo $php_poll-&gt;view_poll_result(4);<br /> <br /> <br /> /* poll comments */<br /> $php_poll-&gt;set_template("poll_comment");<br /> $php_poll-&gt;set_comments_per_page(5);<br /> $php_poll-&gt;set_date_format("d/m/Y H:i");<br /> $php_poll-&gt;data_order_by("time","desc");<br /> echo $php_poll-&gt;view_poll_comments(4);<br /> echo $php_poll-&gt;get_comment_pages(4); <br /> <br /> ?&gt;<br /> [/code]<br /> <br /> I've also set up another page to only display the comments:<br /> [code]<br /> &lt;?php<br /> <br /> /* path */<br /> $poll_path = "/home/lees/public_html/poll";<br /> <br /> require_once $poll_path."/include/config.inc.php";<br /> require_once $poll_path."/include/$POLLDB[class]";<br /> require_once $poll_path."/include/class_poll.php";<br /> require_once $poll_path."/include/class_pollcomment.php";<br /> $CLASS["db"] = new polldb_sql;<br /> $CLASS["db"]-&gt;connect(); <br /> <br /> $php_poll = new pollcomment();<br /> <br /> /* poll comments */<br /> $php_poll-&gt;set_template("poll_comment");<br /> $php_poll-&gt;set_comments_per_page(5);<br /> $php_poll-&gt;set_date_format("d/m/Y H:i");<br /> $php_poll-&gt;data_order_by("time","desc");<br /> echo $php_poll-&gt;view_poll_comments(4);<br /> echo $php_poll-&gt;get_comment_pages(4); <br /> <br /> ?&gt;<br /> [/code]<br /> <br /> Thank  you for your time.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7619/26056.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7619/26056.php</link>
				<pubDate><![CDATA[Tue, 15 Nov 2011 22:47:01]]> GMT</pubDate>
				<author><![CDATA[ Lee]]></author>
			</item>
			<item>
				<title>Re:Advanced Poll 3.0 - one user, multiple votes</title>
				<description><![CDATA[ Hi! I need to do this also. I have the same set of 10 questions and I need to ask them to each professor from a list, by choice. Any help? Tnx.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7619/26058.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7619/26058.php</link>
				<pubDate><![CDATA[Fri, 18 Nov 2011 16:48:19]]> GMT</pubDate>
				<author><![CDATA[ CristianSt]]></author>
			</item>
			<item>
				<title>Re:Advanced Poll 3.0 - one user, multiple votes</title>
				<description><![CDATA[ I used this code to allow multiple votes by the same user:<br /> Replace 'pollID#' with your poll ID.<br /> [code]<br /> &lt;?php<br /> include_once "/your/folder/tree/poll/booth.php";<br /> echo $php_poll-&gt;poll_process(pollID#);<br /> ?&gt;[/code]]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7619/26059.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7619/26059.php</link>
				<pubDate><![CDATA[Fri, 18 Nov 2011 18:32:03]]> GMT</pubDate>
				<author><![CDATA[ Lee]]></author>
			</item>
			<item>
				<title>Re:Advanced Poll 3.0 - one user, multiple votes</title>
				<description><![CDATA[ How can i make this for example in demo 4????<br /> <br /> multiple votes from the same user<br /> <br /> Can you explain more if you can plz]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7619/26105.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7619/26105.php</link>
				<pubDate><![CDATA[Mon, 16 Jan 2012 11:12:07]]> GMT</pubDate>
				<author><![CDATA[ inviribus]]></author>
			</item>
	</channel>
</rss>