<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "How to hide results?"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "How to hide results?"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>How to hide results?</title>
				<description><![CDATA[ I need assistance in hiding the link to results on the poll display (eg. only show a "vote" button on pole, and only a "comment" button after voting)<br /> <br /> I am using a licensed version of Advanced Poll v2.0.3 and the "pop-up" template, although I will use any template that allows the hiding of results.<br /> <br /> I checked the forums and found no topic on point.<br /> <br /> I have tried removing the &lt;a&gt; ref on line #7 from file "~/popup/display_foot.html" to remove the link prior to voting.  The link still shows&gt;<br /> <br /> I tried to remove the "function view_poll_result($poll_id,$vote_stat=0)" and it's calls from line 321 from file "~/include/class_poll.php".  The link still shows.<br /> <br /> I want to suggest this script to a client but they do not want results visible until the poll ends.<br /> <br /> I would appreciate any assistance in this matter.<br /> <br /> Brian K.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3997/12416.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3997/12416.php</link>
				<pubDate><![CDATA[Mon, 13 Dec 2004 16:21:20]]> GMT</pubDate>
				<author><![CDATA[ tkci1]]></author>
			</item>
			<item>
				<title>Re: How to hide results?</title>
				<description><![CDATA[ [quote="tkci1"]I have tried removing the &lt;a&gt; ref on line #7 from file "~/popup/display_foot.html" to remove the link prior to voting.  The link still shows&gt;[/quote]<br /> Are you doing this from the Admin Panel? Did you give write permissions to all the files in the templates/popup directory (chmod 666)?  Chmod Templates directory and Popup directory to 777?  I tried this and it worked fine first time. Here's what I did:<br /> <br /> 1. Verify permissions are set correctly<br /> <br /> 2.  In Admin Panel, click on "Templates" icon<br /> <br /> 3.  In the Templates box on the right, select the desired template (popup), then click on the icon to the right of the box.  <br /> <br /> 4.  On the left side under Templates, make sure it shows the template you want to work with in blue, (popup)<br /> <br /> 5.  In the "display_foot" box, cut the following code from lines 7-8:<br /> [code]&lt;a href=&quot;javascript&#58;void&#40;poll_results_$poll_id&#40;'results','$pollvars<br /> &#91;base_url&#93;/popup.php','Poll','500','350','toolbar=no,scrollbars=yes'&#41;&#41;&quot;&gt;<br /> $pollvars&#91;result_text&#93;&lt;/a&gt;[/code]<br /> 6. Cick on "Save"]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3997/12424.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3997/12424.php</link>
				<pubDate><![CDATA[Tue, 14 Dec 2004 03:00:47]]> GMT</pubDate>
				<author><![CDATA[ amber222]]></author>
			</item>
			<item>
				<title>Hiding results</title>
				<description><![CDATA[ Thanks for the reply amber!<br /> <br /> Yes, I am aware of this procedure (I think it was posted by "auron" last year).  Yes, I have done this, yes the permissions were correctly set during admin panel config changes, yes it does remove the reults link prior to voting (however I have had trouble re-inserting this code to restore the functioning, I don't know what the problem is but that was the reason I removing this line directly from the "~/popup/display_foot.html" file).<br /> <br /> As I stated in my first post, I needed to remove all access to results prior to poll end.  The above method still goes directly to a results popup window after submitting a vote.<br /> <br /> Today I am going to make a new temp set, use the above method to remove the results link, then use the same method to remove all content between the &lt;tr&gt; tags in the center box of Poll Results (result_loop) and replace it with a message indicating the date that results will be available.<br /> <br /> Hopefully this will cover my needs.  I will also try to figure out why sometimes reinserting the code through the admin panel does not actually make it to the file.  I am sure it is a flaw in my set up.<br /> <br /> Thanks again for the input.<br /> <br /> Brian K.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3997/12427.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3997/12427.php</link>
				<pubDate><![CDATA[Tue, 14 Dec 2004 13:26:49]]> GMT</pubDate>
				<author><![CDATA[ tkci1]]></author>
			</item>
	</channel>
</rss>