<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Problem stripping email and IP from showing in poll comments"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Problem stripping email and IP from showing in poll comments"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Problem stripping email and IP from showing in poll comments</title>
				<description><![CDATA[ Update: Got that part fixed, the template was actually being called from the DB so I had to edit it there, now If I can just add an option to vote if you haven't yet, but everytime I include booth.php it starts throwing out errors... here's the code.<br /> <br /> What do I have to do to add the booth for those that have not voted ?<br /> [code]<br /> &lt;?php<br /> <br /> /* path */<br /> $poll_path = &quot;/home/debateth/public_html/poll&quot;;<br /> <br /> require $poll_path.&quot;/include/config.inc.php&quot;;<br /> require $poll_path.&quot;/include/$POLLDB&#91;class&#93;&quot;;<br /> require $poll_path.&quot;/include/class_poll.php&quot;;<br /> require $poll_path.&quot;/include/class_pollcomment.php&quot;;<br /> $CLASS&#91;&quot;db&quot;&#93; = new polldb_sql;<br /> $CLASS&#91;&quot;db&quot;&#93;-&gt;connect&#40;&#41;;<br /> <br /> $php_poll = new pollcomment&#40;4&#41;;<br /> <br /> /* poll */<br /> $php_poll-&gt;set_template_set&#40;&quot;plain&quot;&#41;;<br /> $php_poll-&gt;set_max_bar_length&#40;125&#41;;<br /> $php_poll-&gt;set_max_bar_height&#40;10&#41;;<br /> echo $php_poll-&gt;view_poll_result&#40;4&#41;;<br /> <br /> <br /> /* poll comments */<br /> $php_poll-&gt;set_template&#40;&quot;poll_comment&quot;&#41;;<br /> $php_poll-&gt;set_comments_per_page&#40;50&#41;;<br /> $php_poll-&gt;set_date_format&#40;&quot;d/m/Y H&#58;i&quot;&#41;;<br /> $php_poll-&gt;data_order_by&#40;&quot;time&quot;,&quot;desc&quot;&#41;;<br /> echo $php_poll-&gt;view_poll_comments&#40;4&#41;;<br /> echo $php_poll-&gt;get_comment_pages&#40;4&#41;;<br /> ?&gt;[/code]<br /> <br /> <br /> <br /> Hiyas, first off, I've just recently started using AP and I appreciate all the posts that are already here, through them I have managed to get comments to display etc etc. <br /> <br /> I have however ran into something I can't find an answer for anywhere and was hoping to get some help, I've taken out everything accept for name and data from the poll_comments.html template as you can see below, but it's still showing voters emails and ip address and I can't for the life of me figure out where it's putting them in at if not here in the template.<br /> <br /> poll_comment.html in templates folder<br /> [code]&lt;table border=&quot;0&quot; cellspacing=&quot;1&quot; cellpadding=&quot;2&quot; width=&quot;450&quot;&gt;<br />   &lt;tr bgcolor=&quot;#E4E4E4&quot;&gt; <br />     &lt;td bgcolor=&quot;#F2F2F2&quot;&gt;&lt;b&gt;&lt;font size=&quot;1&quot; face=&quot;Verdana, Arial, Helvetica, sans-serif&quot;&gt;$data&#91;name&#93;&lt;/font&gt;&lt;/b&gt; <br />     &lt;/td&gt;<br />   &lt;/tr&gt;<br />   &lt;tr&gt;<br />     &lt;td&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana, Arial, Helvetica, sans-serif&quot;&gt;$data&#91;message&#93;&lt;/font&gt; <br />     &lt;/td&gt;<br />   &lt;/tr&gt;<br />   &lt;tr&gt; <br />     &lt;td height=&quot;15&quot;&gt;&amp;nbsp;&lt;/td&gt;<br />   &lt;/tr&gt;<br /> &lt;/table&gt;<br /> [/code]<br /> <br /> <br /> Here's my page code could if this helps....As you can see, <br /> <br /> <br /> [code]&lt;?php<br /> <br /> /* path */<br /> $poll_path = &quot;/public_html/poll&quot;;<br /> <br /> require $poll_path.&quot;/include/config.inc.php&quot;;<br /> require $poll_path.&quot;/include/$POLLDB&#91;class&#93;&quot;;<br /> require $poll_path.&quot;/include/class_poll.php&quot;;<br /> require $poll_path.&quot;/include/class_pollcomment.php&quot;;<br /> $CLASS&#91;&quot;db&quot;&#93; = new polldb_sql;<br /> $CLASS&#91;&quot;db&quot;&#93;-&gt;connect&#40;&#41;;<br /> <br /> $php_poll = new pollcomment&#40;4&#41;;<br /> <br /> /* poll */<br /> $php_poll-&gt;set_template_set&#40;&quot;plain&quot;&#41;;<br /> $php_poll-&gt;set_max_bar_length&#40;125&#41;;<br /> $php_poll-&gt;set_max_bar_height&#40;10&#41;;<br /> echo $php_poll-&gt;view_poll_result&#40;4&#41;;<br /> <br /> <br /> /* poll comments */<br /> $php_poll-&gt;set_template&#40;&quot;poll_comment&quot;&#41;;<br /> $php_poll-&gt;set_comments_per_page&#40;50&#41;;<br /> $php_poll-&gt;set_date_format&#40;&quot;d/m/Y H&#58;i&quot;&#41;;<br /> $php_poll-&gt;data_order_by&#40;&quot;time&quot;,&quot;desc&quot;&#41;;<br /> echo $php_poll-&gt;view_poll_comments&#40;4&#41;;<br /> echo $php_poll-&gt;get_comment_pages&#40;4&#41;;<br /> ?&gt;[/code]<br /> <br /> <br /> Any help with this would be greatly appreciated, I can't just go around making peoples IP and Email public if I want them to comment....<br /> <br /> Thanks in advance, Beamin1]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7189/24314.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7189/24314.php</link>
				<pubDate><![CDATA[Wed, 1 Oct 2008 19:30:41]]> GMT</pubDate>
				<author><![CDATA[ beamin1]]></author>
			</item>
	</channel>
</rss>