Re: Poll for PunBB
Kennel: Ahh, no problem. I did the same
Im done with all my exams now, so there's some time for php instead. I'm gonna look at Scriptweaver's problem right away. Still dont'n know how to solve the mozilla-issue though...
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → Poll for PunBB
Kennel: Ahh, no problem. I did the same
Im done with all my exams now, so there's some time for php instead. I'm gonna look at Scriptweaver's problem right away. Still dont'n know how to solve the mozilla-issue though...
We recently installed this mod at the site I moderate, Customers Suck!, and I have to say it works great! Thanks, guys!
Maybe a good idea to add the bug-fix here too... this one fixes the · Fixed a bug where users not logged in could vote.-bug.
FIND (in viewtopic.php, line ~124):
// Already votet -> Show the results
if(strpos($voters, ','.$cur_user['id'].',') !== false)
$showresult = true;
REPLACE WITH:
// Already votet -> Show the results
if(strpos($voters, ','.$cur_user['id'].',') !== false || !$cur_user['id'])
$showresult = true;
Just tried to install v1.1, but when installing via install_mod.php, this error came up:
An error was encountered
File: <snip>/install_mod.php
Line: 20
PunBB reported: Unable to add column polls to table options
Database reported: Duplicate column name 'polls' (Errno: 1060)
Ah yeh, forgot I already tried to install 1.01. No wonder theres duplicated columns
Eventually got it installed (nice long install guide:)) and it works perfectly. Cheers!
I've got a request, that would be rather handy for the way we use the poll function...
We use it to vote for different questions, rules, suggestions and other similiar stuff in our organisation, and we also have a separate forum part for our board where the board members can do the "final voting" for things. It would be very useful to be able to see which of the members that have voted, so you can tell the other ones to do so.
Well, other than that, it works great! Kickass mod! Thanks for the work you've done already!
Magebarf wrote:
I've got a request, that would be rather handy for the way we use the poll function...
We use it to vote for different questions, rules, suggestions and other similiar stuff in our organisation, and we also have a separate forum part for our board where the board members can do the "final voting" for things. It would be very useful to be able to see which of the members that have voted, so you can tell the other ones to do so.
Well, other than that, it works great! Kickass mod! Thanks for the work you've done already!
It'l be no problem to implement I think... maybe I'll look at it sometime
I've hade som thoughts about doing another page in the admin-section for this kind of things.
Magebarf:
I'm done with the poll-admin-info-stats-thing!
Also solved the quote-problem now
( New file available in the first post. )
"Patch" to fix the quote-problem:
In both post.php and edit.php:
#---------[ FIND ]----------------------------------------------------------
#
$answer = addslashes($_POST['answers'][$i]);
#
#---------[ REPLACE ]-------------------------------------------------------
#
$answer = stripslashes(htmlspecialchars($_POST['answers'][$i], ENT_QUOTES));
#
#---------------------------------------------------------------------------
Uhm... I just installed it and I can add the poll and stuff but I can see it when I open the post..
should I go through the 2 million steps again and spend an extra 20mins?
Its alot of steps but the problem is only in post.php.
Change only that again
Hmm, did you mean: "but I CAN'T see it when"?
Then the problem's in viewtopic.php and not in post.php.
Oh sorry!
Chacmool, 1.1.2 is for a blank install, right?
If so, you think you could make a patch from 1.1?
That'd be great.
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → Poll for PunBB
Powered by PunBB, supported by Informer Technologies, Inc.