Posted on: 02/03/05 08:55pm
By: Demonhood
Geeklog 1.3.11. Heavily customized theme.
I can edit an existing poll, but I can't seem to turn comments off for it. I save it as 'off' only to go in and edit it to see that it has reverted back. I tried this for a new poll and experienced the same problem. I've already disabled it for anonymous users, but I'd like to get rid of that option completely. Any thoughts?
Can't Disable Poll Comments
Posted on: 02/04/05 02:00am
By: Dirk
Hmm, this could be a bug. Have to look into it ...
bye, Dirk
Can't Disable Poll Comments
Posted on: 02/05/05 03:09pm
By: Dirk
Yep, it's a bug. As a workaround, find this piece of code in admin/poll.php (starting at line 455):
$display .= savepoll ($qid, $HTTP_POST_VARS['mainpage'],
$HTTP_POST_VARS['question'], $voters,
COM_applyFilter ($HTTP_POST_VARS['statuscode'], true),
COM_applyFilter ($HTTP_POST_VARS['commentcode'], true),
and remove the "
, true
" bit for that second COM_applyFilter call.
An updated version with a slightly different fix is also available from CVS.
bye, Dirk
Can't Disable Poll Comments
Posted on: 02/07/05 12:27pm
By: Demonhood
That did the trick, thanks.