<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "customizing advanced poll - not displaying comments"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "customizing advanced poll - not displaying comments"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>customizing advanced poll - not displaying comments</title>
				<description><![CDATA[ Hi<br /> I really appreciate this script, it's excellent. There is however, one thing that I am having trouble with. I have the poll page set up to display the "newest" one unless one of the previous polls that is listed is selected in which case it will display that ID. So all the elements of the poll: the question, the poll itself, the comments, and the form are displayed based on this. so for each of these I'm using something like this:<br /> <br /> [code]<br /> if &#40;isset&#40;$HTTP_GET_VARS&#91;'poll_id'&#93;&#41;&#41; &#123;<br />                                echo $php_poll-&gt;get_comment_pages&#40;$HTTP_GET_VARS&#91;'poll_id'&#93;&#41;;<br />                             &#125; else &#123;<br />                                echo $php_poll-&gt;get_comment_pages&#40;&quot;newest&quot;&#41;;<br />                             &#125;<br /> [/code]<br /> <br /> I've edited the functions so that they will respond to "newest", but the problem is that for some reason, if I don't specifically use a certain ID number, I can't add comments with the form. I've never formally learned PHP, so I'm having trouble figuring this out myself. If you could suggest a workaround or what might need to be done so that the form knows that the comments are being submitted for the currently viewed poll I'd really appreciate it. If not, could you maybe point me in the direction of someone or somplace that might help me out?<br /> <br /> here's the files to refer to:<br /> <br /> [url]http://philitopia.net/poll/index.php[/url]<br /> can be viewed in text at    http://philitopia.net/poll/index.php.txt<br /> <br /> [u]class_poll.php[/u]<br /> can be viewed in text at    http://philitopia.net/poll/class_poll.php.txt<br /> <br /> [u]class_pollcomment.php  [/u]                  <br /> can be viewed in text at    http://philitopia.net/poll/class_pollcomment.php.txt<br /> <br /> <br /> Thanks in advance,<br /> <br /> Phil]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2464/6509.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2464/6509.php</link>
				<pubDate><![CDATA[Mon, 13 Oct 2003 09:35:18]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
	</channel>
</rss>