Support Forum
I've run into a problem with the polls plugin. I created my first poll. It has three answers to choose from. I set the maximum allowed answers to one. And when anyone tries to vote, they get a pop up that says "You have entered more than the maximum allowed votes."
So I tried changing the maximum number of allowed votes. Turns out I need to set the maximum number of allowed votes to one more than the actual number of votes I want to allow. If I want to allow only one vote, I have to set the max to two. If I want to allow two, I have to set the max to three. And so on.
I don't know whether this is a bug or some conflict. I'm able to get the poll working with the above kluge, but there's still a problem. If the max allowed number of votes is set to one, then only one answer can be selected at a time. Clicking on a different answers causes the selected-answer indicator (colored dot) to move. But if the max allowed is set to two or more, then any number of answers can be selected simultaneously, leading to potential confusion among voters; they don't know that only one vote is allowed unless I tell them.
Hopefully this will be easy to diagnose and fix. Has anyone else encountered this problem?
And please tell us what you are using for your polls options, ie vote tracking method....
Visit Cruise Talk Central and Mr Papa's World
Settings:
- Restrict poll creation to new topics
- Answer and results sorting: answer creation order, ascending
- Tracking options: ID (although I had tried IP and Cookie first with the same results)
- Other settings: default.
Plugin version 1.1; I don't see any update waiting.
The poll is in a topic in a subforum.
By the way, this is an unrelated issue, but the options menu in the sidebar of the Dashboard and the Admin Links on the frontend of the forum don't match the menu on the forums admin page. Plugins like Polls and Private Messaging get their own entries on the admin page, but they aren't added to these other places.
Steve will need to respond to the Polls part.
As to the admin menu - WP makes it extremely hard to add items on the fly to the admin menu - in fact I would say it is not possible. By the time - at page load - that the Sp plugins are 'discovered' the admin menu is already cooked. The good news is that the Wp team recognise that the way the admin menu currently works is pretty bad and do aim at some point to rewrite it and we hope that will be soon.
YELLOW
SWORDFISH
|
So if tracking votes by ID, I assume you are not allowing guests to vote since they won't have an ID and would not get restrictions.
I would ask for a link to example poll to see in action, but guest voting likely not allowed.
I could not recreate this but did not try in sub forum but that should not matter. Will try to be sure this weekend. On Aug 17, 2012 7:57 AM, "Simple:Press Support" wrote:
> > >
Visit Cruise Talk Central and Mr Papa's World
Mr Papa said
So if tracking votes by ID, I assume you are not allowing guests to vote since they won't have an ID and would not get restrictions.I would ask for a link to example poll to see in action, but guest voting likely not allowed.
I created a test poll in a forum that doesn't require registration and login to post and I changed the permissions in that forum to allow guests to vote in a poll. I set the max allowed answers per vote to 1. Will you be able to test the poll if tracking is still by ID? Or do you need me to change that option?
http://prometheus-unbound.org/.....poll-test/
I just tested the test poll myself as both a non-admin user and a guest. I get the same result every time: You have entered more than the max allowed votes.
This is likely because you are caching the forum page...
<!-- This Quick Cache file was built for ( prometheus-unbound.org/forums/forums-feedback/poll-test/ ) in 3.12801 seconds, on Aug 18th, 2012 at 12:19 am EDT. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Aug 18th, 2012 at 1:19 am EDT -->
you cannot cache the forum page since all the content appears on a single wp page... wp caching plugins get confused and screw up content, css and js because each page load is dynamic...
you will need to tell that caching plugin to ignore the wp page the forum is on...
Visit Cruise Talk Central and Mr Papa's World
Its the bad behaviour plugin you are running... for some reason, it is adding its own form element to the poll submission form...
This is making it look like there is an extra answer being provided to the polls voting processing... hence the error...
why in the hell, bad behaviour is adding elements to submitted forms is beyond me... certainly not cool...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)