<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Showing Comments to the Public"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Showing Comments to the Public"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Showing Comments to the Public</title>
				<description><![CDATA[ I've been trying everything I can find to show comments to the public . . .<br /> <br /> I think my code is okay, but I'm not sure about the $poll_path = "/Polls"; <br /> <br /> I don't understand the absolute definition of the $poll_path<br /> <br /> Can someone please post a link to an operating poll so that I can examine the code?<br /> <br /> You can see my latest attempt to show comments at<br /> <a class="snap_shots" href="http://planet-hughes.net/Polls/your_comments.php" target="_blank" rel="nofollow">http://planet-hughes.net/Polls/your_comments.php</a><br /> <br /> which are currently:<br /> <br /> &lt;?php<br /> include "./poll_cookie.php";<br /> ?&gt;<br /> &lt;html&gt;<br /> &lt;body bgcolor="#800000" background="http://planet-hughes.net/Polls/Les_Mis_Bkgd.jpg" bgproperties="fixed"&gt;<br /> <br /> &lt;?php<br /> <br /> /* path */<br /> $poll_path = "/Polls";<br /> <br /> require $poll_path."/include/config.inc.php";<br /> require $poll_path."/include/class_poll.php";<br /> require $poll_path."/include/class_pollcomment.php";<br /> <br /> $php_poll = new pollcomment();<br /> <br /> /* poll */ <br /> $php_poll-&gt;set_template_set("graphic");<br /> echo $php_poll-&gt;view_poll_result(4);<br /> echo $php_poll-&gt;view_poll_result(5);<br /> echo $php_poll-&gt;view_poll_result(6);<br /> echo $php_poll-&gt;view_poll_result(7);<br /> echo $php_poll-&gt;view_poll_result(8);<br /> echo $php_poll-&gt;view_poll_result(9);<br /> echo $php_poll-&gt;view_poll_result(10);<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(1);<br /> echo $php_poll-&gt;get_comment_pages(1);<br /> <br /> ?&gt;<br /> &lt;/body&gt;<br /> <br /> &lt;/html&gt;<br /> <br /> Thanks for your interest and suggestions.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5425/19806.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5425/19806.php</link>
				<pubDate><![CDATA[Mon, 6 Mar 2006 05:01:45]]> GMT</pubDate>
				<author><![CDATA[ RalphW]]></author>
			</item>
			<item>
				<title>Code for showing result &amp;amp; comments to the public</title>
				<description><![CDATA[ Here's the current code for the poll results &amp; comments; a separate page for each poll - <br /> <br /> &lt;?php <br /> /* Include this before your html code */<br /> include "./poll_cookie.php"; <br /> ?&gt;<br /> &lt;html&gt;<br /> &lt;body bgcolor="#800000" background="Les_Mis_Bkgd.jpg" bgproperties="fixed"&gt;<br /> &lt;center&gt;<br /> &lt;?php<br /> <br /> /* path */<br /> $poll_path = "poll_path";<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 /> $CLASS["db"] = new polldb_sql;<br /> $CLASS["db"]-&gt;connect(); <br /> <br /> $php_poll = new pollcomment();<br /> <br /> /* question */<br /> /* echo $php_poll-&gt;get_poll_question(4); */<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 /> echo $php_poll-&gt;poll_process(4);<br /> <br /> <br /> /* construct the form */<br /> $php_poll-&gt;set_template("poll_form");<br /> $php_poll-&gt;set_form_error(array(<br />     "name" =&gt; "Please enter your name.",<br /> // "email" =&gt; "You must specify your e-mail address.",<br />     "message" =&gt; "You must specify a message."<br /> ));<br /> $html_form = $php_poll-&gt;comment_process(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 /> /* form */<br /> /* echo $html_form; */<br /> <br /> ?&gt;<br />  <br /> &lt;p&gt;<br /> &lt;div align="center"&gt;<br /> &lt;?php<br /> include "poll_path/LesMisFooter.php";<br /> ?&gt;<br /> &lt;/div&gt;<br /> &lt;/center&gt;<br /> &lt;/body&gt;<br /> <br /> &lt;/html&gt;]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/5425/19857.php</guid>
				<link>https://proxy2.de/forum/posts/preList/5425/19857.php</link>
				<pubDate><![CDATA[Fri, 10 Mar 2006 18:49:10]]> GMT</pubDate>
				<author><![CDATA[ RalphW]]></author>
			</item>
	</channel>
</rss>