<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Poll Module</title>
        <description>Hi,

I&#039;ve written a module that lets you create simple polls within messages. You can give either moderators or registered users permission to create polls via the module settings. Unregistered users can&#039;t start polls or vote. This is my first nontrivial mod, so I&#039;d appreciate any tips on my coding style or suggestions for improvement. And of course, you&#039;re welcome to fiddle with it and make it better.

---

From the readme.txt file:

In addition to placing the poll directory inside mods and turning the
poll module on, you need to do the following:


1. Phorum Admin -&gt; Custom Profiles -&gt; add a profile field called mod_poll 


2. Add {POLLFORM} to the post_form.tpl template

   Within the post form (on top of the message body is best), add the line:

   {IF POLLFORM}{POLLFORM}{/IF} 


3. Add a New Poll link to your templates.

   For example, you could add the following line to list.tpl, read.tpl,
   and others:

   {IF NEWPOLLURL}New Poll{/IF}


******
EDIT: see below for a newer version of the module
******</description>
        <link>https://www.phorum.org/phorum5/read.php?16,7706,7706#msg-7706</link>
        <lastBuildDate>Mon, 15 Jun 2026 10:48:20 -0400</lastBuildDate>
        <generator>Phorum 5.2.22</generator>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,119543#msg-119543</guid>
            <title>Re: NOOB needs Help</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,119543#msg-119543</link>
            <description><![CDATA[ And by learning to use Dreamweaver doesn&#039;t help you to learn html (or php, or javascript or CSS for that matter) learning to use Dreamweaver makes you know how to use DW to produce html etc. nothing else.<br />
<br />
DW doesn&#039;t magically create php code for you, probably the book meant that a php-file can be opened and edited in DW. But you still need to know how to <b>code</b>.<br />
<br />
I have said this before, but let me repeat. To really learn something you have to understand what is happening. DW and other visual editors mostly hide the more complex things from the user (tht&#039;s partly the reason for their existence).<br />
<br />
So instead of dw use notepad (or other superior text editors like Jedit, Notepad2 [<a href="http://www.flos-freeware.ch/notepad2.html" target="_blank"  rel="nofollow">www.flos-freeware.ch</a>] or something) and start from simple pages. Understand why something looks like it does.<br />
<br />
By starting with plain html helps you to skip table based layout shithole and you can start directly with css... Good luck]]></description>
            <dc:creator>Panu</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Wed, 17 Jan 2007 06:35:48 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,119535#msg-119535</guid>
            <title>Re: NOOB needs Help</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,119535#msg-119535</link>
            <description><![CDATA[ It&#039;s unnecessary for web design, but let him try writing a forum website without using PHP and he&#039;ll stumble hard and hit his nose. <br />
<br />
It&#039;s two different things, although in their technical use closely related. On one side there is HTML/JavaScript/CSS, which is all you need to write the code to make a site work in the browser. On the other side there are programming/scripting languages, most noticeably PHP, which can be used to generate <i>dynamic</i> content for web sites. PHP scripts can produce HTML, JavasScript and CSS so to say.<br />
<br />
Graphically it&#039;s something like this (an arrow stands for &quot;produces&quot;):<br />
<pre class="bbcode">
         Human on                                  Human on any kind of
        Dreamweaver                                 test editor (e.g.
      (e.g. your bro)         Human on any      your friendly neighbourhood
              \            kind of text editor        Phorum hacker)
               \             (e.g. my wife)                  |
                \                  |                         |
                 \                 |                         |
                  \                v                         v
                   +----&gt; HTML / Javascript / CSS &lt;--- PHP scripting code
                               website pages</pre>
Note: As you can see, learning Dreamweaver is also unnecessary for web design.<br />
<br />
Whether it&#039;s important for you to learn PHP and MySQL depends totally on what you want to achieve. If you never want to write any scripting code to simplify, automate or coolify parts on your web pages, then there&#039;s little use in learning it.<br />
<br />
Since you&#039;re on the Phorum site though, I suspect that you want to work with Phorum. In that case, it can be good to know at least the basics of PHP coding, so you can take the existing code and tweak it to let it become what you want it to be. Learning SQL can be useful in case you want to retrieve some statistical information from Phorum&#039;s database or if you have to use some manual SQL query to fix a certain problem. In general, one can say that knowing some PHP/MySQL, makes working with other people&#039;s scripts a lot easier and less scary.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Tue, 16 Jan 2007 09:11:56 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,119534#msg-119534</guid>
            <title>Re: NOOB needs Help</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,119534#msg-119534</link>
            <description><![CDATA[ Thanks panu.  Also I went back in my php book and saw a small paragraph I must of missed or skipped saying you can use Dreamweaver for php scripts, something that would of really cleared things up had I read it.  So Im just gonna focus on learning php and dreamweaver now, then try to branch into mysql.  One more question though, my brother who worked in dreamweaver in school tells me he never learned any PhP and its unecesarry for web design, can anyone tell me why knowing php is important in the field? <br />
<br />
thanks again.]]></description>
            <dc:creator>Domonkos</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Tue, 16 Jan 2007 08:47:36 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,119456#msg-119456</guid>
            <title>Re: NOOB needs Help</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,119456#msg-119456</link>
            <description><![CDATA[ PHP scripts the stuff you open in a text editor containing the php commands, variables etc. are interpreted by a PHP command interpreter, a program that runs usually on a webserver.<br />
<br />
So basically you put a php script to a webserver, tell the webserver that script.php file should be handled with a php interpreter and then you point your browser to the php-script.<br />
<br />
I suggest you read for example wikipedias entry on php [<a href="http://en.wikipedia.org/wiki/Php" target="_blank"  rel="nofollow">en.wikipedia.org</a>] or php&#039;s homepage for more info.]]></description>
            <dc:creator>Panu</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Fri, 12 Jan 2007 03:50:56 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,119442#msg-119442</guid>
            <title>Re: NOOB needs Help</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,119442#msg-119442</link>
            <description><![CDATA[ This is my first post.  Im new to PHP and MySQL.  Ive been working through Larry Ullmans book on the subjects and doing the tutorials.  Im vaguely aware that Phorum is a php based forum software.  What im wondering (and im sure this is the wrong place for the question, plight of the noob) Is where do you use the acual php code?  I know its made with a text editor, but then what?  Ive gotten further into the mysql acually making a few databases and extracting random information, but I cant mentally visualize where the php acually goes.  Is the script opened in some sort of program?  A good website on the subject or book would be great, cause right now the idea of PHP is very abstract.  <br />
<br />
<a href="mailto:&#100;&#111;&#109;&#111;&#110;&#107;&#111;&#115;&#115;&#64;&#121;&#97;&#104;&#111;&#111;&#46;&#99;&#111;&#109;">&#100;&#111;&#109;&#111;&#110;&#107;&#111;&#115;&#115;&#64;&#121;&#97;&#104;&#111;&#111;&#46;&#99;&#111;&#109;</a><br />
thanks ahead of time.]]></description>
            <dc:creator>Domonkos</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Thu, 11 Jan 2007 21:44:27 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,112210#msg-112210</guid>
            <title>Re: Poll Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,112210#msg-112210</link>
            <description><![CDATA[ Done see:<br />
[<a href="http://www.phorum.org/phorum5/read.php?16,112209" target="_blank" >www.phorum.org</a>]]]></description>
            <dc:creator>amilcarpt</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Thu, 20 Apr 2006 06:31:19 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,55868#msg-55868</guid>
            <title>Re: Poll Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,55868#msg-55868</link>
            <description><![CDATA[ Olivier can you attach your poll module here ?<br />
<br />
I try to make it run on 5.1.10.<br />
<br />
Is someone can make a summury of template to change (I found a lot of infos here but some .tpl&#039;s name changed so i&#039;m a little lost)<br />
<br />
Maybe it could be a good idea to open a new Thread for 5.1 releases.<br />
<br />
Thx]]></description>
            <dc:creator>sioc</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Thu, 06 Apr 2006 06:13:54 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,55820#msg-55820</guid>
            <title>Re: Poll Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,55820#msg-55820</link>
            <description><![CDATA[ Hi,<br />
<br />
is there someone who changed the poll module so that it isn&#039;t any longer posible to poll when the corresponding thread is closed?<br />
<br />
EDIT<br />
<br />
For the moment I did the following changes:<br />
<br />
Replace in poll.php line 123<br />
<pre class="bbcode">
if (!$user_has_voted) {</pre>
with<br />
<pre class="bbcode">
if (!$user_has_voted &amp;&amp; !$messages[$key][&#039;closed&#039;]) {</pre>
<br />
line 159<br />
<pre class="bbcode">
if ($user_has_voted || isset($PHORUM[&quot;args&quot;][&quot;showresults&quot;])) {</pre>
with<br />
<pre class="bbcode">
if ($user_has_voted || $messages[$key][&#039;closed&#039;] || isset($PHORUM[&quot;args&quot;][&quot;showresults&quot;])) {</pre>
<br />
line 204<br />
<pre class="bbcode">
if ($user_has_voted) {</pre>
with<br />
<pre class="bbcode">
if ($user_has_voted &amp;&amp; !$messages[$key][&#039;closed&#039;]) {</pre>
<br />
Oliver]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Wed, 05 Apr 2006 05:23:36 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,55527#msg-55527</guid>
            <title>Re: Poll Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,55527#msg-55527</link>
            <description><![CDATA[ Hi,<br />
<br />
take care to <b>not</b> check the &quot;disable HTML&quot;-option when adding the custom profile field. I just searched some hours because the module wouldn&#039;t work like expected. Now it&#039;s working fine with 5.1.10.<br />
<br />
Oliver]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Fri, 24 Mar 2006 10:08:00 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,55205#msg-55205</guid>
            <title>Re: NOOB needs Help</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,55205#msg-55205</link>
            <description><![CDATA[ I think what Amilcar was trying to say is that you probably have a different version of the phorum than this module will support.  It can be made to work however.  Specifically read pages 15 and 16 of this topic and it should help you solve the problem...]]></description>
            <dc:creator>bluerage</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Mon, 13 Mar 2006 12:27:59 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,55204#msg-55204</guid>
            <title>Re: Poll Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,55204#msg-55204</link>
            <description><![CDATA[ Please read *all* the posts on this page:<br />
[<a href="http://www.phorum.org/phorum5/read.php?16,7706,page=16" target="_blank" >www.phorum.org</a>]]]></description>
            <dc:creator>amilcarpt</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Mon, 13 Mar 2006 12:11:01 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,55203#msg-55203</guid>
            <title>NOOB needs Help</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,55203#msg-55203</link>
            <description><![CDATA[ I cannot seem to get this mod working! <br />
I am new to php, mysql, phorum, and basically everything.  <br />
<br />
I put the &quot;poll&quot; folder from the zip into my mod directory of my phorum<br />
I then created a mod_poll custom profile<br />
I then edited my .tpl files according to the readme and the examples posted by arlo<br />
I turned the poll on under admin --&gt; modules. <br />
<br />
My &quot;new poll&quot; link appears as it should for a registered user, but...<br />
 <br />
1. I get an ...<br />
&quot;Warning: Unhandled page type. in /www/u/uwgpikecom/htdocs/phorum/common.php on line 565&quot; ... at the top of my phorum (if a registered user is logged in)<br />
<br />
2. the &quot;new Poll&quot; button sends me to a file not found...<br />
&quot;The requested URL /powweb-bin/php4/phorum/.php was not found on this server.&quot;<br />
<br />
Please Help, I am new and still learning so any help should be dummed down for a beginner if possible.  <br />
<br />
Thanks]]></description>
            <dc:creator>jimmy</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Mon, 13 Mar 2006 11:50:23 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,55101#msg-55101</guid>
            <title>Re: Poll Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,55101#msg-55101</link>
            <description><![CDATA[ I had disabled the smarturl AFTER I already added a poll the first time. And it did not work. But I went ahead and tried it again after disabling smarturl first and it appears to work now.<br />
<br />
I guess maybe is was hosing up some of the code when I tried to vote the first time?  It seems like you would be able to recreate the error by turning on smarturl, creating a poll, trying to vote once, turning off smarturl, and then trying to vote as someone else or trying to view results...  However, that did not seem to work.  I think I&#039;ll take the stance that it was a one-time glitch and that it won&#039;t happen again.<br />
<br />
Then I can post again when it does randomly happen to seem even more desparate... :)<br />
<br />
Thanks]]></description>
            <dc:creator>bluerage</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Thu, 09 Mar 2006 18:42:09 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,55099#msg-55099</guid>
            <title>Re: Poll Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,55099#msg-55099</link>
            <description><![CDATA[ Try without the smarturl mod. Does it work then.]]></description>
            <dc:creator>Panu</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Thu, 09 Mar 2006 17:30:37 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,55090#msg-55090</guid>
            <title>Re: Poll Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,55090#msg-55090</link>
            <description><![CDATA[ So nobody has any ideas about this at all?]]></description>
            <dc:creator>bluerage</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Thu, 09 Mar 2006 12:57:27 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,55057#msg-55057</guid>
            <title>Re: Poll Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,55057#msg-55057</link>
            <description><![CDATA[ Anyone resolve the issue of the Poll not work in the latest release version of Phorum?  I&#039;m on a windows server though so that may have something to do with it.  MySQL 5.x and phorum5-cvs-2006030310.  I&#039;m getting a blank page when I try to post a second vote and blank page when I try to view results.  Usually indicates an error, but none is displayed.<br />
<br />
Also, one other item of note, if you have the &quot;Smarturl Mod v0.3&quot; running on the forum, you&#039;ll have problems because it will convert the post URL into a link that shows up on the screen in the middle of the FORM ACTION tag value....<br />
<br />
<br />
--------------<br />
<br />
One other interesting note I just found out about the blank screen I&#039;m getting is that view the results of the poll works fine when I&#039;m logged out.  However, as soon as I log back in and try to view the poll or results, I get a blank screen again....]]></description>
            <dc:creator>bluerage</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Wed, 08 Mar 2006 01:01:25 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,54991#msg-54991</guid>
            <title>Re: Poll Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,54991#msg-54991</link>
            <description><![CDATA[ Yes, i get the errors on Phorum 5.1.8RC2 -&gt; PHP 5.1.2 -&gt; poll version: 0.2 at our linux webserver ( see phpinfo at www.wunschkinder.net/phorum5/infox.php ) and also on my local apache server Phorum 5.1.8RC2 -&gt; PHP 5.0.0 -&gt; poll version: 0.2 running on windows <br />
<br />
The same errors on both installations.]]></description>
            <dc:creator>wunschkinder.net</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sun, 05 Mar 2006 12:50:11 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,54990#msg-54990</guid>
            <title>Re: Poll Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,54990#msg-54990</link>
            <description><![CDATA[ I meant do you get the errors on a Linux install like Amilcar asked?]]></description>
            <dc:creator>Sergej</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sun, 05 Mar 2006 12:08:16 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,54989#msg-54989</guid>
            <title>Re: Poll Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,54989#msg-54989</link>
            <description><![CDATA[ PHP 5.1.2 works on a linux server<br />
<br />
System  Linux infong 2.4 #3 SMP Mon Feb 6 14:37:49 CET 2006 i686 unknown  <br />
Build Date  Feb 7 2006 15:02:52  <br />
<br />
regards <br />
<br />
Stefan]]></description>
            <dc:creator>wunschkinder.net</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sun, 05 Mar 2006 11:58:27 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,54988#msg-54988</guid>
            <title>Re: Poll Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,54988#msg-54988</link>
            <description><![CDATA[ What with the same PHP version and Linux?]]></description>
            <dc:creator>Sergej</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sun, 05 Mar 2006 11:50:52 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,54987#msg-54987</guid>
            <title>Re: Poll Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,54987#msg-54987</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>amilcarpt</strong><br />Seams to be windows specific.<br />
But try to at least update to PHP 5.0.5 because 5.0.0 has too many security issues.</div></blockquote>
<br />
I get the same errors with PHP PHP 5.1.2 <br />
<br />
Thx for your help<br />
<br />
Stefan]]></description>
            <dc:creator>wunschkinder.net</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sun, 05 Mar 2006 11:45:48 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,54986#msg-54986</guid>
            <title>Re: Poll Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,54986#msg-54986</link>
            <description><![CDATA[ yes ist works with PHP 4.4.2<br />
<br />
Stefan]]></description>
            <dc:creator>wunschkinder.net</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sun, 05 Mar 2006 11:36:45 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,54985#msg-54985</guid>
            <title>Re: Poll Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,54985#msg-54985</link>
            <description><![CDATA[ Seams to be windows specific.<br />
But try to at least update to PHP 5.0.5 because 5.0.0 has too many security issues.]]></description>
            <dc:creator>amilcarpt</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sun, 05 Mar 2006 11:23:42 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,54984#msg-54984</guid>
            <title>Re: Poll Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,54984#msg-54984</link>
            <description><![CDATA[ Hmm could be PHP5 does something with the mod code, presuming I understand you correctly that it works on 4.4.2. It works on my server without problems but I dont run PHP5.x]]></description>
            <dc:creator>Sergej</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sun, 05 Mar 2006 11:22:01 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,54983#msg-54983</guid>
            <title>Re: Poll Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,54983#msg-54983</link>
            <description><![CDATA[ I run <br />
Phorum 5.1.8RC2 -&gt; PHP 5.0.0 -&gt; poll version: 0.2 at my localserver <br />
and <br />
Phorum 5.1.8RC2 -&gt; PHP 5.1.2 -&gt; poll version: 0.2 at our webserver<br />
<br />
Custom Profiles field mod_poll exist.<br />
<br />
on both configs i get followed errors:<br />
<br />
If a user votes a second time:<br />
<br />
Fatal error: Cannot use string offset as an array in C:\www\phorum5\mods\poll\poll.php on line 252<br />
( 252: $userdata[&quot;mod_poll&quot;][&quot;voted&quot;][$message_id]=$vote; )<br />
<br />
If a user votes and try to open the results:<br />
<br />
Fatal error: Cannot use string offset as an array in C:\www\phorum5\mods\poll\poll.php on line 180<br />
( 180: if ($PHORUM[&quot;user&quot;][&quot;mod_poll&quot;][&quot;voted&quot;][$key] == $anskey) { )<br />
<br />
In seems the Problem is that $PHORUM[&quot;user&quot;][&quot;mod_poll&quot;][&quot;voted&quot;] includes an array.<br />
<br />
I testet Phorum 5.1.8RC2 -&gt; PHP 4.4.2 -&gt; poll version: 0.2 at our webserverver and mod_poll ist working perfekt.]]></description>
            <dc:creator>wunschkinder.net</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sun, 05 Mar 2006 11:19:32 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,54982#msg-54982</guid>
            <title>Re: Poll Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,54982#msg-54982</link>
            <description><![CDATA[ What kind of errors and what kind of version yuo run&gt;?]]></description>
            <dc:creator>Sergej</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sun, 05 Mar 2006 10:36:47 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,54981#msg-54981</guid>
            <title>Re: Poll Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,54981#msg-54981</link>
            <description><![CDATA[ Thx a lot amilcarpt :-)<br />
But it dont fix my Problem :-(. I after i vote and try to view the result or vote a second time i get the errors already.]]></description>
            <dc:creator>wunschkinder.net</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sun, 05 Mar 2006 10:33:31 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,54966#msg-54966</guid>
            <title>Re: Poll Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,54966#msg-54966</link>
            <description><![CDATA[ I attach my poll module.<br />
It works fine with phorum SVN HEAD, PHP 5.0.5 and MySQL 4.0.18]]></description>
            <dc:creator>amilcarpt</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sat, 04 Mar 2006 11:33:54 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,54964#msg-54964</guid>
            <title>Re: Poll Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,54964#msg-54964</link>
            <description><![CDATA[ Yes i read the last 4 posts ;-)  <br />
I get this problem only using PHP 5.0.0 or PHP 5.1.2. with Phorum 5.1.8RC2<br />
If i use PHP 4.x with Phorum 5.1.8RC2 this mod works fine.<br />
<br />
I want to install the newest Version of poll.zip (found on page 5) but i can´t unzip :-(]]></description>
            <dc:creator>wunschkinder.net</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sat, 04 Mar 2006 09:47:02 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,7706,54963#msg-54963</guid>
            <title>Re: Poll Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,7706,54963#msg-54963</link>
            <description><![CDATA[ Poll, Phorum5.1.8 and PHP5.0 work fine for me.<br />
Did you read the last 4 posts in this thread ?]]></description>
            <dc:creator>amilcarpt</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sat, 04 Mar 2006 08:54:15 -0500</pubDate>
        </item>
    </channel>
</rss>
