Recent Topics

[6.10.x] Poll Plugin

Started by on Jul 19, 2018 – Contents updated: Apr 04, 2019

Jul 19, 2018 17:13    

Hi,
it would be great to have a plug in for polls. So voting will be easy for the visitors and you can see the result of the poll after voting as it works in other cms.

That would be great.

Apr 02, 2019 18:45

Hi @fplanque

I have now seen that in the the core.

Is it possible to create "anonymous" polls"? At the moment, visitors need to register before they can vote. It would be great, if they could vote without any registration.

Or did I made a mistake in the creation process of the poll?

Apr 02, 2019 22:08

Anonymous users can't vote because there is no way to prevent them from voting multiple times.

Apr 03, 2019 20:06

@fplanque wrote earlier:

Anonymous users can't vote because there is no way to prevent them from voting multiple times.

Hi @fplanque ,
it should be possible with cookies or a generated token, I think.

There will be less voters if a registration is needed.

Apr 03, 2019 21:30

Right, because users don't know how to delete their cookies and because spam bots religiously send back the cookies we ask them to send back.

What is a generated token?

Apr 03, 2019 21:39

@ednong wrote earlier:

@fplanque wrote earlier:

Anonymous users can't vote because there is no way to prevent them from voting multiple times.


Hi @fplanque ,
it should be possible with cookies or a generated token, I think.


There will be less voters if a registration is needed.

The problem seems to be that either
a) the user's vote is stored via a cookie as you suggested, and they can delete that and vote again and again as @fplanque indicated or
b) the user's vote has to be stored in the database and the only way to check a user's vote is to have them as a registered user.

Still there is the 'generated token' but it has to be stored somewhere, on the user's computer in a) a cookie or b) in the database related to a registered user, so how can it be done otherwise?

Apr 04, 2019 20:54

Okay,
if I would make a serious poll, it would be better, only registered member can vote, yes.

But normally the polls in the blogs (or my blog) isn't so serious that it is not necessary for registered members vote. Anonymous would be ok.

So, maybe it is a good idea to make it switcheable between "Poll for registered members only" and "Poll for everyone with cookie/token".

Apr 04, 2019 21:35

Are you sure you are happy to have a button that anyone can click multiple times and vote on a post?. It is possible to update any field value in the database with a new script but you are likely to get overloaded with hits. A bot is likely to find it and update a post a thousand times.

Apr 04, 2019 22:51

@amoun wrote earlier:

Are you sure you are happy to have a button that anyone can click multiple times and vote on a post?. It is possible to update any field value in the database with a new script but you are likely to get overloaded with hits. A bot is likely to find it and update a post a thousand times.

Okay, okay, I edited my post: anyone with cookies/tokens. ;)


Form is loading...

Free CMS – This forum is powered by b2evolution CMS, a complete engine for your website.