Forums / Addon Sideboxes / Poll Manager Support Thread

Poll Manager Support Thread

Views: 68,862

Results 41 to 60 of 149
20 Jan 2011, 12:09 AM
#41
gbengoose avatar

gbengoose

Zen Follower

Join Date:
Jul 2010
Posts:
101
Plugin Contributions:
0

Poll Manager Support Thread

Just installed this and everything seems to work except when I submit a vote. I get a 404 error.

Any suggestions? I have double checked to make sure all the files are in the correct folder.

20 Jan 2011, 5:30 AM
#42
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Poll Manager Support Thread

gbengoose:

Just installed this and everything seems to work except when I submit a vote. I get a 404 error.

Any suggestions? I have double checked to make sure all the files are in the correct folder.

Just to make sure, is zcrpc.php in the root folder of your ZC installation? If not, place it there, if so, tryto replace it with a fresh copy.

Boudewijn Sjouke
http://www.chinesedingen.nl

21 Jan 2011, 1:29 AM
#43
gbengoose avatar

gbengoose

Zen Follower

Join Date:
Jul 2010
Posts:
101
Plugin Contributions:
0

Re: Poll Manager Support Thread

boudewijn:

Just to make sure, is zcrpc.php in the root folder of your ZC installation? If not, place it there, if so, tryto replace it with a fresh copy.

Thanks!

I thought I put that file there but I guess i didnt.

23 Jan 2011, 4:27 AM
#44
gbengoose avatar

gbengoose

Zen Follower

Join Date:
Jul 2010
Posts:
101
Plugin Contributions:
0

Re: Poll Manager Support Thread

Poll is working perfectly! Any way to make the results percentages instead of total votes?

23 Jan 2011, 7:44 AM
#45
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Poll Manager Support Thread

gbengoose:

Poll is working perfectly! Any way to make the results percentages instead of total votes?

Hi,

I presume the % of the number of voters would be most significant. Just keep in mind that the total % will be more than 100%.

Boudewijn

Boudewijn Sjouke
http://www.chinesedingen.nl

23 Jan 2011, 2:16 PM
#46
gbengoose avatar

gbengoose

Zen Follower

Join Date:
Jul 2010
Posts:
101
Plugin Contributions:
0

Re: Poll Manager Support Thread

boudewijn:

Hi,

I presume the % of the number of voters would be most significant. Just keep in mind that the total % will be more than 100%.

Boudewijn

Why would it be more than 100%? It should be exactly 100%.

23 Jan 2011, 3:27 PM
#47
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Poll Manager Support Thread

gbengoose:

Why would it be more than 100%? It should be exactly 100%.
That is correct for single choice polls but not for multiple choice polls.

Boudewijn Sjouke
http://www.chinesedingen.nl

23 Jan 2011, 4:40 PM
#48
gbengoose avatar

gbengoose

Zen Follower

Join Date:
Jul 2010
Posts:
101
Plugin Contributions:
0

Re: Poll Manager Support Thread

boudewijn:

That is correct for single choice polls but not for multiple choice polls.

I see. I hit multiple choice rather than single choice

17 Feb 2011, 6:30 PM
#49
markstone avatar

markstone

New Zenner

Join Date:
Oct 2008
Posts:
1
Plugin Contributions:
0

Re: Poll Manager Support Thread

Is there any way to get the poll box to always show the results of the poll after a user has submitted the poll, rather than having the box disappear altogether. It would seem maybe they would want to see what everyone else had voted. Thanks. If monetary compensation for this change is needed let me know.

19 Feb 2011, 8:23 AM
#50
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Poll Manager Support Thread

markstone:

Is there any way to get the poll box to always show the results of the poll after a user has submitted the poll, rather than having the box disappear altogether. It would seem maybe they would want to see what everyone else had voted. Thanks. If monetary compensation for this change is needed let me know.

Hi,
It's already a standard function to display poll results to a user. If it doesn't work for you, there must be something wrong.
Can you:

  1. Check if poll votes are processed and visible with the admin interface?
  2. Check if the file zcrpc.php is in place in the root folder of the website?

Compensation is not needed, but if you want to express your appreciation, please make a PayPal donation, to the email address mentioned in the head section of poll_manager.txt.

Boudewijn

Boudewijn Sjouke
http://www.chinesedingen.nl

15 Mar 2011, 3:58 PM
#51
kobra8 avatar

kobra8

Zen Follower

Join Date:
Mar 2009
Location:
Serbia
Posts:
350
Plugin Contributions:
0

Re: Poll Manager Support Thread

Hi boudewijn, great add :smile:

I wonder if there is a possibility that the results of the vote (pool) are put in one page of the ZC that visitors can visit and see the results of all vote?

15 Mar 2011, 4:39 PM
#52
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Poll Manager Support Thread

kobra8:

Hi boudewijn, great add :smile:

I wonder if there is a possibility that the results of the vote (pool) are put in one page of the ZC that visitors can visit and see the results of all vote?
Hi, thanks!

You mean like a new page, middle of the screen?
How would you like to control that as admin? Order? What polls to show or not show?

Boudewijn

Boudewijn Sjouke
http://www.chinesedingen.nl

15 Mar 2011, 5:22 PM
#53
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Poll Manager Support Thread

kobra8:

Hi boudewijn, great add :smile:

I wonder if there is a possibility that the results of the vote (pool) are put in one page of the ZC that visitors can visit and see the results of all vote?
Oh by the way, I see that you translated the poll manager language file into Servian. If you wish, I can add this to the next PM version.

Boudewijn Sjouke
http://www.chinesedingen.nl

16 Mar 2011, 8:04 AM
#54
kobra8 avatar

kobra8

Zen Follower

Join Date:
Mar 2009
Location:
Serbia
Posts:
350
Plugin Contributions:
0

Re: Poll Manager Support Thread

boudewijn:

Hi, thanks!

You mean like a new page, middle of the screen?
How would you like to control that as admin? Order? What polls to show or not show?

Boudewijn

Hi, I meant like new page (like EZ page) or some else page, it can by in middle of the screen.
Yes, to control via admin what poolls to show.

Like the show the results of voting, when a user fills pool, so on a separate page thet hi can see the results of any pool. :blush:

You do not have to put Serbian in the new version, should be translated only three words.

16 Mar 2011, 3:36 PM
#55
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Poll Manager Support Thread

kobra8:

Hi, I meant like new page (like EZ page) or some else page, it can by in middle of the screen.
Yes, to control via admin what poolls to show.

Like the show the results of voting, when a user fills pool, so on a separate page thet hi can see the results of any pool. :blush:

You do not have to put Serbian in the new version, should be translated only three words.

It would be a nice addition to PM....
May take some time though, because as always there are more ambitions than time is available for them.

Boudewijn Sjouke
http://www.chinesedingen.nl

20 Mar 2011, 1:09 AM
#56
alexhigh avatar

alexhigh

New Zenner

Join Date:
Nov 2009
Posts:
27
Plugin Contributions:
0

Re: Poll Manager Support Thread

boudewijn:

Hi,
It's already a standard function to display poll results to a user. If it doesn't work for you, there must be something wrong.
Can you:

  1. Check if poll votes are processed and visible with the admin interface?
  2. Check if the file zcrpc.php is in place in the root folder of the website?

Compensation is not needed, but if you want to express your appreciation, please make a PayPal donation, to the email address mentioned in the head section of poll_manager.txt.

Boudewijn

My poll results also disappear. The poll votes are visible in admin & I have zcrpc.php present in my public_html (root). I'm using zen 1.3.8a.

Btw this poll will be absolutely brilliant for me if it showed the results at all times, it's exactly what I've been waiting for:D

20 Mar 2011, 1:38 AM
#57
alexhigh avatar

alexhigh

New Zenner

Join Date:
Nov 2009
Posts:
27
Plugin Contributions:
0

Re: Poll Manager Support Thread

...Actually I would prefer to keep the poll open regardless of whether or not someone votes, if I could pull this off then that would solve my problem anyway, (probably).

Now I just have to work out what to change...

I think it's this line in includes/modules/sideboxes/poll_box.php :

	// It's a real user. Now check if he/she has polls left to answer.
	$poll_query = $db->Execute("SELECT * FROM " . PM_TABLE_POLLS . " LEFT JOIN " . PM_TABLE_POLL_OPTIONS . " ON p_id=o_poll_id LEFT JOIN " . PM_TABLE_POLL_RESULTS . " ON (o_poll_id=r_poll_id AND r_ip='" . $_SERVER['REMOTE_ADDR'] . "') WHERE r_ip IS NULL AND p_status=1 ORDER BY p_id, o_id");

I've tried commenting it out but that doesn't work.

I've had a few drinks tonight so that's the limit of my imagination gone I'm afraid!

20 Mar 2011, 6:55 AM
#58
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Poll Manager Support Thread

alexhigh:

My poll results also disappear. The poll votes are visible in admin & I have zcrpc.php present in my public_html (root). I'm using zen 1.3.8a.

Btw this poll will be absolutely brilliant for me if it showed the results at all times, it's exactly what I've been waiting for:D
Hi,

If the votes are processed, the communication between poll box and server works correctly. But for some reason the results are not shown in the browser. Some questions:

  1. What version of PM?
  2. What browser/version?
  3. Can you give me the URL to your site so I can see what happens?

Thanks
Boudewijn

Boudewijn Sjouke
http://www.chinesedingen.nl

20 Mar 2011, 6:57 AM
#59
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Poll Manager Support Thread

alexhigh:

...Actually I would prefer to keep the poll open regardless of whether or not someone votes, if I could pull this off then that would solve my problem anyway, (probably).

Now I just have to work out what to change...

I think it's this line in includes/modules/sideboxes/poll_box.php :

// It's a real user. Now check if he/she has polls left to answer.
$poll_query = $db->Execute("SELECT * FROM " . PM_TABLE_POLLS . " LEFT JOIN " . PM_TABLE_POLL_OPTIONS . " ON p_id=o_poll_id LEFT JOIN " . PM_TABLE_POLL_RESULTS . " ON (o_poll_id=r_poll_id AND r_ip='" . $_SERVER['REMOTE_ADDR'] . "') WHERE r_ip IS NULL AND p_status=1 ORDER BY p_id, o_id");
> 
> I've tried commenting it out but that doesn't work. 
> 
> I've had a few drinks tonight so that's the limit of my imagination gone I'm afraid!
What is the deeper thought behind this? You want users to be able to vote the SAME poll multiple times?

Boudewijn Sjouke
http://www.chinesedingen.nl

20 Mar 2011, 7:00 AM
#60
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Poll Manager Support Thread

kobra8:

Hi, I meant like new page (like EZ page) or some else page, it can by in middle of the screen.
Yes, to control via admin what poolls to show.

Like the show the results of voting, when a user fills pool, so on a separate page thet hi can see the results of any pool. :blush:

You do not have to put Serbian in the new version, should be translated only three words.

I have a draft version ready. You can have a look at the url which is in my signature, replacing 'www' with 'test'.
You have a test site yourself? Then I can send you the package for PM 1.1 so you can try it yourself.

Boudewijn Sjouke
http://www.chinesedingen.nl