Poll Module
Posted by arlo
Re: Poll Module - tx T.S. December 22, 2004 05:32PM |
Registered: 18 years ago Posts: 5 |
hi T.S.
never made it to the general support
well, i created an admin first, then an user with admin privs
second: this user created a forum
for some reason i took the users admin privs away
the user created board remained stubborn
reprivileging the user solved this problem
scusi for taking your time and tx for quick feedback
sláinte
Norbert
never made it to the general support
well, i created an admin first, then an user with admin privs
second: this user created a forum
for some reason i took the users admin privs away
the user created board remained stubborn
reprivileging the user solved this problem
scusi for taking your time and tx for quick feedback
sláinte
Norbert
Re: Poll Module January 04, 2005 12:53AM |
Registered: 18 years ago Posts: 5 |
Re: Poll Module January 06, 2005 07:05PM |
Registered: 18 years ago Posts: 126 |
I've got this error when voting:
Fatal error: Cannot use string offset as an array in /home/smeier/public_html/www/phorum5/mods/poll/poll.php on line 252
And when watching the results:
Fatal error: Cannot use string offset as an array in /home/smeier/public_html/www/phorum5/mods/poll/poll.php on line 180
I've the latest poll mod on the latest phorum
--
Amilcar Lucas
www.kdevelop.org webmaster
Fatal error: Cannot use string offset as an array in /home/smeier/public_html/www/phorum5/mods/poll/poll.php on line 252
And when watching the results:
Fatal error: Cannot use string offset as an array in /home/smeier/public_html/www/phorum5/mods/poll/poll.php on line 180
I've the latest poll mod on the latest phorum
--
Amilcar Lucas
www.kdevelop.org webmaster
Re: Poll Module January 13, 2005 08:47AM |
Registered: 18 years ago Posts: 18 |
Re: Poll Module January 13, 2005 09:31AM |
Registered: 18 years ago Posts: 126 |
Well, be ready to deal with the problem that I mentioned above.
It worked fine with the old poll version, but as soon as I updated, boom, I get that error.
And it is not a Phorum issue, I use phorum HEAD.
To take a look at the problem visit:
[www.kdevelop.org]
and click "show results".
--
Amilcar Lucas
www.kdevelop.org webmaster
It worked fine with the old poll version, but as soon as I updated, boom, I get that error.
And it is not a Phorum issue, I use phorum HEAD.
To take a look at the problem visit:
[www.kdevelop.org]
and click "show results".
--
Amilcar Lucas
www.kdevelop.org webmaster
Re: Poll Module January 13, 2005 09:47AM |
Registered: 18 years ago Posts: 18 |
sorry - i didnt make myself clear - I'm try to make a phorum with a single thread and so its just the messages in this one thread that make up the forum - and on these messages i want to put a rating system, so viewers can rate each individual message, within the message itself
Here is a kind of example - although its not in a forum - i would like to implement the same basic functionality - check the star rating system @
[www.macromedia.com]
Here is a kind of example - although its not in a forum - i would like to implement the same basic functionality - check the star rating system @
[www.macromedia.com]
Re: Poll Module (icon message) January 13, 2005 10:38AM |
Registered: 18 years ago Posts: 264 |
I need a little bit of help I am trying to put a pull icon, but I can't figure out the specific coding, and the hint ["meta"]["mod_poll"] didn't make any since to me. Here is what I have for my others but I don't see parallels to match.
settings.tpl
{define marker-poll <img src="templates/default/images/poll.gif" border="0" alt="" style="vertical-align: middle;" /> }
list.tpl
{IF ROWS->sort PHORUM_SORT_STICKY}<?php echo $PHORUM['TMP']['marker-sticky'] ?>
<span class="PhorumListSubjPrefix">{LANG->Sticky}:</span>
{ELSEIF ROWS->sort PHORUM_SORT_ANNOUNCEMENT}<?php echo $PHORUM['TMP']['marker-announcement'] ?>
<span class="PhorumListSubjPrefix">{LANG->Announcement}:</span>
{ELSE}<?php echo $PHORUM['TMP']['marker'] ?>
{/IF}
http://www.krang.org
settings.tpl
{define marker-poll <img src="templates/default/images/poll.gif" border="0" alt="" style="vertical-align: middle;" /> }
list.tpl
{IF ROWS->sort PHORUM_SORT_STICKY}<?php echo $PHORUM['TMP']['marker-sticky'] ?>
<span class="PhorumListSubjPrefix">{LANG->Sticky}:</span>
{ELSEIF ROWS->sort PHORUM_SORT_ANNOUNCEMENT}<?php echo $PHORUM['TMP']['marker-announcement'] ?>
<span class="PhorumListSubjPrefix">{LANG->Announcement}:</span>
{ELSE}<?php echo $PHORUM['TMP']['marker'] ?>
{/IF}
http://www.krang.org
Re: Poll Module January 15, 2005 11:56PM |
Registered: 18 years ago Posts: 5 |
Re: Poll Module January 17, 2005 12:24PM |
Registered: 18 years ago Posts: 264 |
Posted in Wrong thread.
Sorry.
http://www.krang.org
Edited 1 time(s). Last edit at 01/18/2005 11:31AM by Krang.
Sorry.
http://www.krang.org
Edited 1 time(s). Last edit at 01/18/2005 11:31AM by Krang.
Re: Poll Module (icon message) January 17, 2005 12:25PM |
Registered: 18 years ago Posts: 264 |
I got it working by
{IF ROWS->meta->mod_poll}
<?php echo $PHORUM['TMP']['marker-poll']; ?>
<span class="PhorumListSubjPrefix">{LANG->Poll}: </span>
{ELSEIF ROWS->sort PHORUM_SORT_STICKY}
<?php echo $PHORUM['TMP']['marker-sticky']; ?>
<span class="PhorumListSubjPrefix">{LANG->Sticky}: </span>
{ELSEIF ROWS->sort PHORUM_SORT_ANNOUNCEMENT}
<?php echo $PHORUM['TMP']['marker-announcement']; ?>
<span class="PhorumListSubjPrefix">{LANG->Announcement}: </span>
{ELSEIF ROWS->new}
<?php echo $PHORUM['TMP']['marker-new']; ?>
{ELSE}
<?php echo $PHORUM['TMP']['marker-read']; ?>
{/IF}
http://www.krang.org
{IF ROWS->meta->mod_poll}
<?php echo $PHORUM['TMP']['marker-poll']; ?>
<span class="PhorumListSubjPrefix">{LANG->Poll}: </span>
{ELSEIF ROWS->sort PHORUM_SORT_STICKY}
<?php echo $PHORUM['TMP']['marker-sticky']; ?>
<span class="PhorumListSubjPrefix">{LANG->Sticky}: </span>
{ELSEIF ROWS->sort PHORUM_SORT_ANNOUNCEMENT}
<?php echo $PHORUM['TMP']['marker-announcement']; ?>
<span class="PhorumListSubjPrefix">{LANG->Announcement}: </span>
{ELSEIF ROWS->new}
<?php echo $PHORUM['TMP']['marker-new']; ?>
{ELSE}
<?php echo $PHORUM['TMP']['marker-read']; ?>
{/IF}
http://www.krang.org
Sorry, only registered users may post in this forum.