[ABD] Advanced Polls

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
User avatar
Wolfsblvt
Registered User
Posts: 634
Joined: Sun Oct 26, 2014 9:12 pm
Location: Solingen, Germany

[ABD] Advanced Polls

Post by Wolfsblvt »

Image

Extension Name: Advanced Polls
Author: Wolfsblvt

Extension Description: Advances the core poll system of phpBB with new features like hiding votes till end, showing poll voters, limiting the votes and more.
Extension Version: 1.1.0-b1

Requirements:
  • PHP: >= 5.4.0
Features:
Current 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
  • Limit voting to people posted in thread
  • Works with all the ajax calls
  • Full subsilver2 support
Planned Features
****************
  • Notification if hidden poll you voted in has ended (?)
Screenshots:
Image

Image

Image

Image


Extension Download: wolfsblvt.advancedpolls.zip

GitHub Repository: http://github.com/Wolfsblvt/advancedpolls/
(Just for viewing purposes, do not install this extension from GitHub!)

More Information:
This extension is based on some event requests, here and here
There are some features missing in the core poll system of phpBB that I need for my forum, and I think it will be useful for others too, so I decided to combine the use cases for modifying the poll system and create one extension for this. Here is it now!
If you have suggestions, I would be glad (:

If you don't like the styling of the poll voters list, it can be easily modified in css, even with limiting the usernames displayed, etc.

First time I'll support subsilver2. I'll not use that style, so I will not test it very intensively. But if you have any issues, I'll look into it (:
This extension is fully compatible with the new ajax calls where the site isn't reloaded when you vote.

If have two suggestions for features, wich I don't really need, but if someone is interested in, I would do and include them.

Bug reports for this extension in this thread please, or on GitHub.

══════════════════════════════════════════════════
If you like what I am doing, you can Image me or buy me something here Image or here Image so that I keep doing what I am doing.
Last edited by Wolfsblvt on Sun Apr 05, 2015 1:20 am, edited 6 times in total.
If you have a specific extension request and you are willing to pay for, you can write me a PM.
My extensions (Trending: @Mention SystemAdvanced PollsUser Online Time)

»Du kamst zu uns. Deine Stimme kam. Du zeigtest uns die Sterne. Sie funkelten. Wir konnten sehen.«
User avatar
Wolfsblvt
Registered User
Posts: 634
Joined: Sun Oct 26, 2014 9:12 pm
Location: Solingen, Germany

Re: [BETA] Advanced Polls

Post by Wolfsblvt »

Changelog:
Actual Version
**************

-- Version 1.1.0-b1 --------------
• Included dutch, russion and italian translation
• Reduced required PHP version to 5.3.3
• Added travis testing for repository
• Fix settings lost on preview
• Implemented "Don't want to vote" option
• Implemented default option for phpBB core options for polls

###########################################################################
Past Versions
*************

-- Version 1.0.1 --------------
• Included spanish, french and swedish translation
• Fixed clipping issue in options on small resolution
• Typo in language files

-- Version 1.0.0 --------------
• First implementation for 3.1
• Implemented workaround for missing events


Events missing:
This extension is based on one template event, that is missing in phpBB 3.1.2 and lower. I'll try to add it to phpBB as soon as the BugTracker is back, so that it may be included in 3.1.3. But don't worry, there is a workaround included in this extension, wich uses another event and moves the html to the right position. Not the best, but it works (:
If you want to speed it up, you can add the events yourself to your phpBB core files:

prosilver
Open posting_poll_body.html and find:

Code: Select all

				<dt><label for="poll_vote_change">{L_POLL_VOTE_CHANGE}{L_COLON}</label></dt>
				<dd><label for="poll_vote_change"><input type="checkbox" id="poll_vote_change" name="poll_vote_change"{VOTE_CHANGE_CHECKED} /> {L_POLL_VOTE_CHANGE_EXPLAIN}</label></dd>
			</dl>
		<!-- ENDIF -->
Add after:

Code: Select all

		<!-- EVENT posting_poll_body_options_after -->
subsilver2
Open posting_poll_body.html and find:

Code: Select all

		<td class="row1"><b class="genmed">{L_POLL_VOTE_CHANGE}{L_COLON}</b><br /><span class="gensmall">{L_POLL_VOTE_CHANGE_EXPLAIN}</span></td>
		<td class="row2"><input type="checkbox" class="radio" name="poll_vote_change"{VOTE_CHANGE_CHECKED} /></td>
	</tr>
<!-- ENDIF -->
Add after:

Code: Select all

<!-- EVENT posting_poll_body_options_after -->
Last edited by Wolfsblvt on Sun Apr 05, 2015 1:20 am, edited 3 times in total.
If you have a specific extension request and you are willing to pay for, you can write me a PM.
My extensions (Trending: @Mention SystemAdvanced PollsUser Online Time)

»Du kamst zu uns. Deine Stimme kam. Du zeigtest uns die Sterne. Sie funkelten. Wir konnten sehen.«
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica

Re: [BETA] Advanced Polls

Post by Jessica »

EDIT: oops never mind.

Very nice ext. I've always thought polls in phpBB sucked and needed major improving.
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
User avatar
Wolfsblvt
Registered User
Posts: 634
Joined: Sun Oct 26, 2014 9:12 pm
Location: Solingen, Germany

Re: [BETA] Advanced Polls

Post by Wolfsblvt »

Jessica wrote:Very nice ext. I've always thought polls in phpBB sucked and needed major improving.
So is this what you thought about, or do you have any further improvement suggestions?
If you have a specific extension request and you are willing to pay for, you can write me a PM.
My extensions (Trending: @Mention SystemAdvanced PollsUser Online Time)

»Du kamst zu uns. Deine Stimme kam. Du zeigtest uns die Sterne. Sie funkelten. Wir konnten sehen.«
sp3ctre
Registered User
Posts: 321
Joined: Sun Jul 15, 2007 11:06 am

Re: [BETA] Advanced Polls

Post by sp3ctre »

I have just tested it on my forum... absolutely brilliant, exactly what I was looking for. Thanks!
koraldon
Registered User
Posts: 530
Joined: Sat Jun 30, 2007 12:42 pm

Re: [BETA] Advanced Polls

Post by koraldon »

did not test it yet, but looks great.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [BETA] Advanced Polls

Post by david63 »

I have not tried it yet but I notice that there are permissions. Does this mean that Admins and/or mods can see who has voted, and how, but members cannot?
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
Wolfsblvt
Registered User
Posts: 634
Joined: Sun Oct 26, 2014 9:12 pm
Location: Solingen, Germany

Re: [BETA] Advanced Polls

Post by Wolfsblvt »

david63 wrote:I have not tried it yet but I notice that there are permissions. Does this mean that Admins and/or mods can see who has voted, and how, but members cannot?
There is a permission for who can see poll voters if they are enabled.
By default, it is set to registered users (to prevent guests from seeing private data), but you can also change it to just admins/mods (:
But there is no option to see voters if the option is not enabled in this topic or the votes are hidden cause the poll still runs.
If you have a specific extension request and you are willing to pay for, you can write me a PM.
My extensions (Trending: @Mention SystemAdvanced PollsUser Online Time)

»Du kamst zu uns. Deine Stimme kam. Du zeigtest uns die Sterne. Sie funkelten. Wir konnten sehen.«
User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 11137
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo

Re: [BETA] Advanced Polls

Post by Raul [ThE KuKa] »

Nice extension Clemens ;)

Edit: Working Spanish translation. :geek:
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies | Styles Queue Stats :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate.
:flag_es: phpBB Spain - Online Since 2003 :heart:


User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 11137
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo

Re: [BETA] Advanced Polls

Post by Raul [ThE KuKa] »

"PR" Spanish translation ready. ;)
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies | Styles Queue Stats :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate.
:flag_es: phpBB Spain - Online Since 2003 :heart:


spello
Registered User
Posts: 126
Joined: Sat May 28, 2011 11:12 am

Re: [BETA] Advanced Polls

Post by spello »

What about ability to hide poll results until sb vote?
User avatar
Wolfsblvt
Registered User
Posts: 634
Joined: Sun Oct 26, 2014 9:12 pm
Location: Solingen, Germany

Re: [BETA] Advanced Polls

Post by Wolfsblvt »

spello wrote:What about ability to hide poll results until sb vote?
The results are hidden until you vote. Or do you mean that you cannot click on "show votes" until you have voted yourself?
If you have a specific extension request and you are willing to pay for, you can write me a PM.
My extensions (Trending: @Mention SystemAdvanced PollsUser Online Time)

»Du kamst zu uns. Deine Stimme kam. Du zeigtest uns die Sterne. Sie funkelten. Wir konnten sehen.«
User avatar
Niknovel
Registered User
Posts: 23
Joined: Mon Dec 08, 2014 8:16 am
Location: Moscow
Name: Николай

Re: [BETA] Advanced Polls

Post by Niknovel »

Installed Expansion PhpBB3 version: 3.1.3
Installed Mods PhpBB3 version: 3.0.13-PL1
Cobra45
Registered User
Posts: 58
Joined: Wed Oct 08, 2014 6:49 pm

Re: [BETA] Advanced Polls

Post by Cobra45 »

Will there be voting for guests? Without it the polls are usless, in my opinion.
User avatar
draky
Registered User
Posts: 250
Joined: Tue Dec 10, 2002 2:04 pm
Location: France
Name: Gilles W.

Re: [BETA] Advanced Polls

Post by draky »

Why not possible to install from GitHub ZIP file directly ?
Can't you include... what's not included on GH files ?

GH gives me RSS in fact to see if an extension has been updated :p

Return to “Abandoned Extensions”