<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Poll grouping"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Poll grouping"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Poll grouping</title>
				<description><![CDATA[ Any idea how to run polls in groups as <br /> 1 to 20 -&gt; sports<br /> 21 to 30 -&gt; music<br /> 31 to 40 -&gt; leisure<br /> <br /> and any idea on how to delete polls without disturbing the lists.  or how to make new pollls using old poll id's?<br /> <br /> Are there hidden comands to do this?<br /> <br /> Thanks]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3732/11002.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3732/11002.php</link>
				<pubDate><![CDATA[Wed, 20 Oct 2004 04:18:18]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ As far as I remember a similar question was posted before.  I wish I could do that but also don't know how.  Auron, Carbonize or a hacker out there might have an answer or some ideas on this regard.<br /> <br /> Paul]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3732/11013.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3732/11013.php</link>
				<pubDate><![CDATA[Wed, 20 Oct 2004 16:06:23]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Can you explain on what you want to do a bit?<br /> Do you mean like group several polls together to make like a <br /> questionnaire with one large total at the end? Or separate totals <br /> for each poll / question?<br /> <br /> Auron]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3732/11020.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3732/11020.php</link>
				<pubDate><![CDATA[Wed, 20 Oct 2004 22:18:37]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Auron the one who posted that question before was me.  <br />  <br />  This is my code:<br />  <br />    [code]         &lt;?php<br />               /* poll list */<br />              $php_poll = new plist&#40;&#41;;<br />              $php_poll-&gt;set_template&#40;&quot;poll_list&quot;&#41;;<br />              echo $php_poll-&gt;view_poll_list&#40;&#41;;<br />              echo $php_poll-&gt;get_list_pages&#40;&#41;;<br />              if &#40;isset&#40;$HTTP_GET_VARS&#91;'poll_id'&#93;&#41;&#41; &#123;<br />                 echo &quot;&lt;br&gt;&lt;center&gt;&quot;.$php_poll-&gt;poll_process&#40;$HTTP_GET_VARS&#91;'poll_id'&#93;&#41;.&quot;&lt;/center&gt;&quot;;<br />              &#125;<br />             ?&gt;<br /> <br />           [/code]<br /> <br /> [color="blue"](have edited this post because I included the graphics and comments code and the problem regards to the poll list only.)[/color]<br /> <br /> The problem is that poll.php accepts one argument and not a range.  <br /> The list code on top displays all 30 polls at once. What I wanna do is to call in batches of 10 polls each using three different links.  Something like the following pseudo code:<br /> <br /> /poll.php?poll_id=1 to 10<br /> /poll.php?poll_id=11 to 20<br /> /poll.php?poll_id=21 to 30<br /> <br /> <br /> So that the called page displays a group of ten diferent links and not all at once. In other words, we can group polls so that polls 'n to n+10' or whatever figures you wish are displayed per page.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3732/11030.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3732/11030.php</link>
				<pubDate><![CDATA[Thu, 21 Oct 2004 04:59:03]]> GMT</pubDate>
				<author><![CDATA[ Johncr]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ [quote="Johncr"]The problem is that poll.php accepts one argument and not a range.[/quote]<br /> <br /> Right.  The only arguments allowed are [b]newest[/b], [b]random [/b]and [b]x[/b] (x=poll_ic)<br /> <br /> It would be great to have another argument to select a list range.<br /> <br /> Paul]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3732/11043.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3732/11043.php</link>
				<pubDate><![CDATA[Thu, 21 Oct 2004 18:50:40]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Okay.  <br /> I spent a couple of hours modifying the code and now I can list from poll n to poll nn using online arguments like:<br /> <br /> [code]poll.php?poll_id=12&amp;plist_start=10&amp;plist_end=20[/code]<br /> <br /> these arguments displays poll 10 to poll 20, plus poll 5 results and all the displayed links carry the same plist_start and plist_end to mintain the poll list within range.<br /> <br /> So, now I can group my polls as needed, say 1 to 20 for sports, 21 to 30 for politics, 31 to 40 girls, and so on.<br /> <br /> Next mod desired is to set aside poll blocks in order to create new polls at any poll_id.  The workaround is creating hidden dummy polls.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3732/11086.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3732/11086.php</link>
				<pubDate><![CDATA[Sat, 23 Oct 2004 04:19:04]]> GMT</pubDate>
				<author><![CDATA[ Johncr]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ You've been busy.<br /> <br /> What you really need is a feature to group polls in the admin area and<br /> then have a string to list that group of polls in various styles.<br /> <br /> On a feature to select a number of polls...<br /> <br /> Eg. 1-3, 5,7 Like you can in word when printing out certain pages.<br /> <br /> Auron]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3732/11104.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3732/11104.php</link>
				<pubDate><![CDATA[Sat, 23 Oct 2004 20:05:46]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ [quote="Johncr"]<br /> [code]poll.php?poll_id=12&amp;plist_start=10&amp;plist_end=20[/code][/quote]<br /> <br /> That´s enough for me.  Will you share your code?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3732/11118.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3732/11118.php</link>
				<pubDate><![CDATA[Sat, 23 Oct 2004 22:46:43]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I'm still figuring out your code lol.<br /> I didn't know you specify what the start and end poll's were for the poll list : )<br /> <br /> If I put any code together i'll release it as a mod along with the other mods<br /> i made for adv. poll 2.0.2 which i'll convert to 2.0.3 if necessary.<br /> <br /> Most the mods are simple things that i put into do this, then that, and the<br /> other kind of files like you get with phpBB when you have to install a mod.<br /> <br /> Auron]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3732/11121.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3732/11121.php</link>
				<pubDate><![CDATA[Sun, 24 Oct 2004 00:41:42]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Hi, <br /> I'm late.  What I did is basically the following:<br /> <br /> I call the script,  let say you wish to display from poll 21 to poll 30, as follows:<br /> <br /> [code]poll.php?poll_id=22&amp;plist_start=21&amp;plist_end=30[/code]<br /> <br /> poll.php calls the /* poll list */ this way:<br /> <br /> [code]             if &#40;isset&#40;$HTTP_GET_VARS&#91;'poll_id'&#93;&#41;&#41; &#123;<br />                 echo &quot;&lt;br&gt;&lt;center&gt;&quot;.$php_poll-&gt;poll_process&#40;$HTTP_GET_VARS&#91;'poll_id'&#93;,$HTTP_GET_VARS&#91;'plist_start'&#93;,$HTTP_GET_VARS&#91;'plist_end'&#93;&#41;.&quot;&lt;/center&gt;&quot;;<br />              &#125;[/code]<br /> <br /> <br /> I modified the function call view_poll_plist':<br /> <br /> [code]function view_poll_list&#40;$plist_start,$plist_end&#41;[/code]<br /> <br /> then after:<br /> <br /> [code]for &#40;$i=$this-&gt;list_index;$i&lt;sizeof&#40;$this-&gt;plist_data&#91;'poll_id'&#93;&#41;;$i++&#41; &#123;[/code]<br /> <br /> I added:<br /> <br /> [code]if &#40;&#40;$this-&gt;plist_data&#91;'poll_id'&#93;&#91;$i&#93; &gt;= $this-&gt;plist_start&#41; and &#40;$this-&gt;plist_data&#91;'poll_id'&#93;&#91;$i&#93; &lt;= $this-&gt;plist_end&#41;&#41; &#123;[/code]<br /> <br /> Remember to close with an additional '}'<br /> <br /> Then I customized here and there.  <br /> <br /> As a result you can group your polls in one HTML page as I posted before: 1 to 20 dogs, 21 to 40 cats, 41 to 60 horses and so on.  The main problem with this approach is the limitation that you can't insert polls so I use dummies and the hidden option to conceal them. <br /> <br /> Auron, since the page is still closed to the public, just let me know if you wish to take a look (the page is in Spanish) and I will PM the URL.   There are a couple of minor cosmetic problems but it is fully workable.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3732/11278.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3732/11278.php</link>
				<pubDate><![CDATA[Thu, 28 Oct 2004 19:18:38]]> GMT</pubDate>
				<author><![CDATA[ Johncr]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Okay, that seems a pretty good start : )<br /> <br /> (Maybe i should write my own poll lol)<br /> <br /> I'll have a look over the next couple of weeks I guess if i'm not to busy.<br /> Currently i've got an assignment to do which has some PHP in it so I <br /> might be able to have a play with a few things then hopefully.<br /> <br /> I still have to release my version of the poll with some improvements and<br /> a built-in help system. Which i'm gonna have to redo since I did it for 2.0.2. <br /> and not 2.0.3 ^^;;<br /> <br /> Just thought, I can't remember how the code looks off the top of my head<br /> but I might try and put some 'coding standards' into like phpbb has. This is<br /> mainly for myself so the code is well structured and will hopefully make it<br /> easier for people to modify it, such as yourself : )<br /> <br /> Auron]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3732/11280.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3732/11280.php</link>
				<pubDate><![CDATA[Thu, 28 Oct 2004 20:24:46]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I'll be glad to help with an idea or two.<br /> In the mean time I'll try to fix the graphic bug and the refresh problem after writing a comment.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3732/11301.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3732/11301.php</link>
				<pubDate><![CDATA[Fri, 29 Oct 2004 16:59:44]]> GMT</pubDate>
				<author><![CDATA[ Johncr]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I wish that mod!  <img src="https://proxy2.de/forum//images/smilies/499fd50bc713bfcdf2ab5a23c00c2d62.gif" />]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3732/11419.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3732/11419.php</link>
				<pubDate><![CDATA[Mon, 1 Nov 2004 21:26:54]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
	</channel>
</rss>