[3.2][BETA] Advanced Polls

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Get Involved
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
jasolo
Registered User
Posts: 30
Joined: Sat Jan 20, 2018 9:17 pm

[3.2][BETA] Advanced Polls

Post by jasolo » Sun Feb 18, 2018 10:28 pm

Extension Name: Advanced Polls
Authors: Extension Description: Advances the core poll system of phpBB with new features like hiding votes till end, showing poll voters, scoring polls, limiting the votes and more.

Extension Version: 1.2.3

Features:
  • Ability to hide poll votes till end of poll
  • Ability to show poll voters in poll
  • Ability to mark a poll as "I don't want to vote" so you can directly see the results
  • Choose default options for poll creation
  • Permission to see poll voters
  • Moderator permission to see poll voters even if poll is not public
  • Limit voting to people posted in thread
  • Works with all the Ajax calls
  • Notification if hidden poll you voted in has ended
  • Ability to assign multiple votes to a single option
  • Ability to vote incrementally
  • Ability to vote on closed topics
  • Can specify poll end by date and time, as well as duration
  • Can specify poll duration in hours
  • Results of a poll may be ordered
Screenshots:

ACP Panel
Image

Poll Creation
Image

Scoring Poll Creation
Image

Moderator View (Firefox)
Image

User View before voting (Chrome)
Image

User view after voting
Image

Moderator Internal View
Image

Extension Download: https://github.com/jasoloz/advancedpoll ... .1.2.3.zip

Installation: Copy the contents of the ZIP file to the ext folder of your phpBB forum. Then enable the extension 'Advanced Polls' in Manage extensions (CUSTOMISE tab) in the ACP.

GitHub Repository: https://github.com/jasoloz/advancedpolls/ (for viewing purposes)

More information:
Subsilver2 style has NOT been tested with this version.

Language packs:
  • Complete translation: English, Spanish.
  • Incomplete or outdated translation: German, French, Hebrew, Italian, Dutch, Russian, Swedish.
Translators, please, complete translations, and send PRs or language translations to be included.

If you have further suggestions for new functionality, please, mention them here and they will be evaluated and potentially included (no commitments!).

Bug reports for this extension in this thread, please, or on GitHub.
Last edited by jasolo on Fri May 11, 2018 9:58 am, edited 3 times in total.

User avatar
jasolo
Registered User
Posts: 30
Joined: Sat Jan 20, 2018 9:17 pm

Re: [3.2][BETA] Advanced Polls

Post by jasolo » Sun Feb 18, 2018 10:41 pm

Changes in 1.2.2
===============
  • Added check to avoid votes greater than the maximum value (a user could change the value in the select element using developer tools in his browser and submit votes outside the expected range).
Planned Features
===============
  • Vote removal
  • Assignation of a user to each option to avoid self-voting
In fact, the first feature would not be so necessary with the second feature.

Manard
Registered User
Posts: 10
Joined: Thu Jun 16, 2011 10:03 am

Re: [3.2][BETA] Advanced Polls

Post by Manard » Mon Feb 19, 2018 8:48 am

Hello Jasolo,

Thank you very much for developing this extension. On the previous version and this one, when I select Notifications and Settings,

Code: Select all

Adress/ucp.php?i=ucp_notifications&mode=notification_options
a blank page appears.

My forum is in version 3.2.2, Prosilver style with the only extension Advanced Polls

In the old version 1.1.0-b1, this page appears correctly.

Thank you for your help

Bernard

User avatar
jasolo
Registered User
Posts: 30
Joined: Sat Jan 20, 2018 9:17 pm

Re: [3.2][BETA] Advanced Polls

Post by jasolo » Mon Feb 19, 2018 9:49 am

Thanks for the report. The problem is similar to one resolved by javiexin, that required not to activate poll end notifications. Although this version uses that solution, the error has returned. :? I will check it, but notifications have been a problem since phpBB 3.2 so I do not rule out removing that feature.

User avatar
jasolo
Registered User
Posts: 30
Joined: Sat Jan 20, 2018 9:17 pm

Re: [3.2][BETA] Advanced Polls

Post by jasolo » Mon Feb 19, 2018 7:52 pm

Changes in 1.2.3
===============
  • Removed all the code related to notifications. It was outdated for phpBB 3.2 and it disrupted the forum notifications.
Planned Features
===============
  • Vote removal
  • Assignation of a user to each option to avoid self-voting
I did not use the Poll Ended Notification feature in my forums, but maybe I am the exception. Depending on the interest I could add it to the planned features list.

Manard
Registered User
Posts: 10
Joined: Thu Jun 16, 2011 10:03 am

Re: [3.2][BETA] Advanced Polls

Post by Manard » Mon Feb 19, 2018 8:38 pm

Hello,

Thank you for your response and the modification of this new version. We did not use notifications for polls.

Good night

Bernard

Manard
Registered User
Posts: 10
Joined: Thu Jun 16, 2011 10:03 am

Re: [3.2][BETA] Advanced Polls

Post by Manard » Tue Feb 20, 2018 9:07 am

Hello Jasolo,

In the Settings, I disabled "Activate show voters", but moderators and administrators can see the voters. Is it possible to hide the voters for them also ?

Thanks

Bernard

User avatar
jasolo
Registered User
Posts: 30
Joined: Sat Jan 20, 2018 9:17 pm

Re: [3.2][BETA] Advanced Polls

Post by jasolo » Tue Feb 20, 2018 9:26 am

Change the "Can view poll voters" permission to "No" in those groups. More info about the permissions of this extension here.

Manard
Registered User
Posts: 10
Joined: Thu Jun 16, 2011 10:03 am

Re: [3.2][BETA] Advanced Polls

Post by Manard » Tue Feb 20, 2018 9:37 am

Thank you very much for your answer

Bernard

the Jabberwock
Registered User
Posts: 11
Joined: Sat May 27, 2017 1:22 am

Re: [3.2][BETA] Advanced Polls

Post by the Jabberwock » Fri May 11, 2018 9:34 am

Thank you for creating this!

None of the screenshot images in the OP of this topic are view-able. Can they be updated?

Thanks

User avatar
jasolo
Registered User
Posts: 30
Joined: Sat Jan 20, 2018 9:17 pm

Re: [3.2][BETA] Advanced Polls

Post by jasolo » Fri May 11, 2018 10:03 am

Updated. ;) I had updated all the Postimage links in the forums where I am the administrator, so I thought the same action have been made in this forum. :oops:

the Jabberwock
Registered User
Posts: 11
Joined: Sat May 27, 2017 1:22 am

Re: [3.2][BETA] Advanced Polls

Post by the Jabberwock » Fri May 11, 2018 7:52 pm

Thank you!

the Jabberwock
Registered User
Posts: 11
Joined: Sat May 27, 2017 1:22 am

Re: [3.2][BETA] Advanced Polls

Post by the Jabberwock » Sat May 19, 2018 8:44 pm

Extension installed and so far working great! Thanks for your work on this! Much appreciated!

Question: if poll results are chosen to be "hidden" until the polling period has ended, is it possible for forum Admin/Founders to be able to see how many people have voted in the poll (prior to close)?

Thanks!

User avatar
jasolo
Registered User
Posts: 30
Joined: Sat Jan 20, 2018 9:17 pm

Re: [3.2][BETA] Advanced Polls

Post by jasolo » Sat May 19, 2018 9:07 pm

Yes, as you can see in the "Moderator Internal View" image in the first post of this topic.

the Jabberwock
Registered User
Posts: 11
Joined: Sat May 27, 2017 1:22 am

Re: [3.2][BETA] Advanced Polls

Post by the Jabberwock » Tue May 22, 2018 4:35 am

Thank you for your reply. However, when I vote on a poll which I have set up to hide results, what I am seeing looks like the "User View After Voting" screenshot you posted above, NOT the "Moderator Internal View" screenshot. I am both Admin and Moderator on the forum. If I am looking at the Poll/Topic and I select the MCP button, it takes me to the Moderator page for that topic, but it doesn't show the poll at all. Any ideas?

Different question: if I set a poll to end at a specific date and time, what timezone is being used? My personal forum control panel has UTC -6:00 setup for my local time zone, however, does the advanced poll "time to end" match my personal time zone for the polls I create? Or does it match some other time on the forum?

Thanks!

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: andares, colinshead, Hippie459MN, ImagesGuru, MarkDHamill, PGreca, pikachuturkey, xpmen and 28 guests