<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Comments for Advance Poll"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Comments for Advance Poll"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Comments for Advance Poll</title>
				<description><![CDATA[ I must say this Advance Polls is a great script. I was able to create the layout so  that its poll on top, poll list in the middle (3 poll questions) and comments on the bottom. Though I was having a little problem in the comment part. I was able to list the comment where i want it, but I wanted it so that when ppl post a comment, the post will be newest on top, not seperated by polls ID, ya know what I mean? this is what I have:<br /> <br /> &lt;?php<br /> <br /> /* path */<br /> $poll_path = "/home/______/public_html/polls";<br /> <br /> require $poll_path."/include/config.inc.php";<br /> require $poll_path."/include/$POLLDB[class]";<br /> require $poll_path."/include/class_poll.php";<br /> require $poll_path."/include/class_pollcomment.php";<br /> require $poll_path."/include/class_plist.php";<br /> $CLASS["db"] = new polldb_sql;<br /> $CLASS["db"]-&gt;connect(); <br /> <br /> $php_poll = new pollcomment();<br /> $php_poll = new plist();<br /> <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 /> if (isset($HTTP_GET_VARS['poll_id'])) {<br />    echo $php_poll-&gt;poll_process($HTTP_GET_VARS['poll_id']);<br /> } else {<br />    echo $php_poll-&gt;poll_process("random");<br /> }<br /> <br /> /* poll list */<br /> $php_poll-&gt;set_template("poll_list");<br /> $php_poll-&gt;set_date_format("m/d/Y");<br /> echo $php_poll-&gt;view_poll_list();<br /> echo $php_poll-&gt;get_list_pages();<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("Y.m.d");<br /> $php_poll-&gt;data_order_by("date","desc");<br /> echo $php_poll-&gt;view_poll_comments(1);<br /> echo $php_poll-&gt;view_poll_comments(2);<br /> echo $php_poll-&gt;view_poll_comments(3);<br /> echo $php_poll-&gt;get_comment_pages(3);<br /> <br /> <br /> ?&gt;<br /> <br /> Now, I'm sure this is possible without having to create a  new page. I wanted it so that the comments are in one page, just as the poll list is in one page. If it's impossible, that's ok too.. I might keep the polls in there and probably add a guestbook underneath as a comment area... Any bit of info helps... Thanks for your time <img src="https://proxy2.de/forum//images/smilies/3b63d1616c5dfcf29f8a7a031aaa7cad.gif" />]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3904/11969.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3904/11969.php</link>
				<pubDate><![CDATA[Sun, 21 Nov 2004 22:32:27]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
	</channel>
</rss>