test
teste
If a Poll has no votes for one of the choices, the total votes for this choice shows the corresponding translated string for "1 vote" when the language interface is other than the default English. The percentage is displayed correctly ("0%"), though.
Even after deleting the translation string for "1 vote", it still shows the "1 vote" string from the original English.
But if user sets english as the interface language, then it shows correctly ("0 votes").
If the choice has 1 vote, all strings show correctly.
I would need to replace poll results with "correct answer", which would enable using module to "question of day" type of thing (quiz module is not good for this for several reasons). I can do this myself, if someone could please give guidance from where to start?
Just tried to add a user to the electoral list, and got this:
user warning: Table 'databasename.users' doesn't exist query: REPLACE INTO forum_advpoll_electoral_list (nid, uid) SELECT '5703', u.uid FROM users u WHERE u.name = 'Maulwurf' in /var/www/includes/database.mysql.inc on line 174.
it should say {users} in the code I think.
Hi,
i needed to implement the checking of the users session-id instead of his ip-address to prevent multiple votes. in the attatchement you'll find the patches. feel free to review and use it.
One thing before you start: you have to patch the advpoll module and the votingapi module to make it work. both patches are available in the attatchment.
Regards - Andreas
Hi!
Is there a way of displaying the results of a poll as a pie chart?
Thanks!
I have a lot of visitors in my website, and no one anonymous has voted on the polls for days. I couldn't vote again with proxies. It's like as if the poll considers Anonymous voter 1 person, not thousands. So I think no one can vote anymore on my site. It's been like 3 votes (2 members and 1 anonymous) for the past few days. Any ideas?
The polling module that comes with the install of Drupal 5.X is pretty basic and its functionality is somewhat rigid. The polls I created all ended up in the Most Recent Poll block. I couldn’t get them to show up independently. It only shows the latest poll. (Others are relegated to an “older polls” page.) I haven't figured out a way to get different polls to show up independently on the site. I'm wondering if the advance polling module will address this requirement. Thanks.
Which permission does this? I couldn't get it to work,although I'm sure it's trivial.
Thanks,
Chris.
There's a bug in the algorithm rounding all votes off with no further verification, meaning that you're likely to end up with !=100, e.g.
34% | Kobe Bryant (USA)
29% | LeBron James (USA)
15% | Dwyane Wade (USA)
13% | Pau Gasol (ESP)
8% | Manu Ginobili (ARG)
3% | Luis Scola (ARG)
is 102 in total.
I still haven't figured out what the best approach to solve this would be, but thought I'd toss it out here, in case someone was already familiar with the issue (and perhaps already has a fix).
Hi
Could you pls support organic group node access?
What I mean: Latest adv poll block show the latest adv poll block.
But using organic group node access I can set if some node (e.g. advpoll) is private or public.
And if I set new advpoll as private, advpoll latest block couldn't show this poll, but latest public advpoll.
(Optionally You could create a new block - latest poll from this group)
Thanks
Igorik
http://www.somvprahe.sk
A quick glance at the advpoll result theming ability seems to be limited.
The only remotely related issues raised before are #111774: Creating a tpl.php file and #194317: Integrate Open Flash Chart API.
Currently provided theme functions are
theme_advpoll_bar()
theme_advpoll_results()
theme_advpoll_voting_binary_form()
theme_advpoll_voting_ranking_form()
E.g. possible theming requirements (which ATM seemingly impossible)
- using other chart types such as pie, line, area chart other than bar chart
- integration with other charting libraries - Google Chart API, Open Flash Chart, etc
I think the problem resides in the $results passed to theme_advpoll_results(), which is already pre-rendered bar instead of data. This renders the theme function useless as there is nothing much on the chart you can change. The theme_advpoll_bar() is having the similar problem by taking in one choice data at a time, which will not work for other chart types.
Take binary vote as example, my suggestion is
- advpoll_view_results_binary() should return a result set
- theme_advpoll_results() take in the result set, which at some point call theme_advpoll_bar() for bar, and can be overrided to output other chart types or integrate with other charting API.
Does that make sense? =)
Advpoll is making use of $_POST['choice'] in _advpoll_insert_choices() as the mean to pass choice data.
This causes problem when an advpoll is not created through a form such as programatically create a poll, cloning the poll or other ways to modify the choices programatically.
In the comment: * Note: we pass choice data via _POST to allow for dynamic addition of choices.
I would suggest for the purpose of dynamic addition of choices to make use of a separate function and make the _advpoll_insert_choices() to take in values from $node or $form_values.
Problem:
* warning: pg_query() [function.pg-query]: Query failed: ERROR: column "u.name" must appear in the GROUP BY clause or be used in an aggregate function in /websites/afilias.info/afilias.info-Build-#/current/includes/database.pgsql.inc on line 125.
* user warning: query: SELECT v.uid, v.hostname, v.timestamp, u.name FROM votingapi_vote v LEFT JOIN users u ON v.uid = u.uid WHERE v.content_type = 'advpoll' AND v.content_id = 30 GROUP BY v.uid, v.hostname, v.timestamp ORDER BY u.name ASC LIMIT 20 OFFSET 0 in /websites/afilias.info/afilias.info-Build-#/current/includes/database.pgsql.inc on line 144.
Patch attached:
the SQL for creating the index is wrong. Here is a patch
I would like to be able to filter polls in views by status, if it is closed or open.
I´ve got installed AdvPoll, and the first test votes seemed ok. Until I´ve noted that only Anon users were able to vote.
So I made possible for both anon and registered users the ability to cast a vote.
Since then the only people that coud actually vote were all registered ones!
Anon voters got the "You vote has been added" message, but the results dissapeared and those votes haven´t been counted at all!
I´ve reinstalled the module with Devel, and deleted the cache... but nothing happened, the issue is still there.
I´ve tag this as critical, as I cannot use this module at all. If this is a bug, I think it´s an important one, and if it´s not...
please S.O.S! :)
Thanks for your patience,
Rosamunda
Is it possible to add tags to advanced polls like in normal polls?
Thank you!
Is there a way to get a list of users who have voted in a certain poll without listing who they voted for?
I have a content type that tracks requests to distribute documents/information to researchers. I would like to be able to automatically create a simple Yes/No poll for each submission so that other members can vote on the requests approval.
Example, I create a new request #R100. I would like to have a poll automatically created with a question "Do you Approve of R100" Yes/No.
Perhaps I could put the poll in a block until the status field of the request changes from pending to approved/denied.
Any thoughts on how to accomplish this?
Thanks
how can I change the page polls to have all the polls full nodes instead of just the titles?
Recent comments
1 year 50 weeks ago
1 year 50 weeks ago
1 year 51 weeks ago