[3.2][3.3][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!
Ideas Centre
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: 132
Joined: Sat Jan 20, 2018 9:17 pm

Re: [3.2][3.3][BETA] Advanced Polls

Post by jasolo »

The problem could be caused by the cache, but I'm not sure.
User avatar
Aurelienazerty
Registered User
Posts: 223
Joined: Sat Jan 08, 2005 8:21 pm

Re: [3.2][3.3][BETA] Advanced Polls

Post by Aurelienazerty »

With PHP 8, I'got this warning :

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/ext/wolfsblvt/advancedpolls/core/advancedpolls.php on line 713: Trying to access array offset on value of type null
[phpBB Debug] PHP Warning: in file [ROOT]/ext/wolfsblvt/advancedpolls/core/advancedpolls.php on line 713: Trying to access array offset on value of type null
[phpBB Debug] PHP Warning: in file [ROOT]/ext/wolfsblvt/advancedpolls/core/advancedpolls.php on line 715: Trying to access array offset on value of type null
[phpBB Debug] PHP Warning: in file [ROOT]/ext/wolfsblvt/advancedpolls/core/advancedpolls.php on line 717: Undefined array key "total_user_votes"
For exemple : https://www.team-azerty.com/forum/viewtopic.php?t=4052
User avatar
jasolo
Registered User
Posts: 132
Joined: Sat Jan 20, 2018 9:17 pm

Re: [3.2][3.3][BETA] Advanced Polls

Post by jasolo »

When I open that link I don't see any error and your poll shows 10 votes on the first option.
User avatar
Aurelienazerty
Registered User
Posts: 223
Joined: Sat Jan 08, 2005 8:21 pm

Re: [3.2][3.3][BETA] Advanced Polls

Post by Aurelienazerty »

Indead, the warning a only visible by the administrator, not for the guess.
User avatar
jasolo
Registered User
Posts: 132
Joined: Sat Jan 20, 2018 9:17 pm

Re: [3.2][3.3][BETA] Advanced Polls

Post by jasolo »

Is there something missing from that poll? Does that error appear in polls where no option has zero votes?
User avatar
Aurelienazerty
Registered User
Posts: 223
Joined: Sat Jan 08, 2005 8:21 pm

Re: [3.2][3.3][BETA] Advanced Polls

Post by Aurelienazerty »

I modified the pool :
I check off the multiple vote, the display name and the sorting. No error. I activated one by one, and it's only when I checked the "display name"
User avatar
jasolo
Registered User
Posts: 132
Joined: Sat Jan 20, 2018 9:17 pm

Re: [3.2][3.3][BETA] Advanced Polls

Post by jasolo »

I will need more info/screenshots to reproduce the problem.
User avatar
Aurelienazerty
Registered User
Posts: 223
Joined: Sat Jan 08, 2005 8:21 pm

Re: [3.2][3.3][BETA] Advanced Polls

Post by Aurelienazerty »

I understand why I had the warning. I had an incomplete user deletion. So some records in phpbb_poll_votes with vote_user_id who are not in phpbb_users. So, $user_cache[$voter_id]['username'] and $user_cache[$voter_id]['user_colour'] should be null in this case.
deninho32
Registered User
Posts: 239
Joined: Tue May 21, 2019 8:57 am

Re: [3.2][3.3][BETA] Advanced Polls

Post by deninho32 »

Is it possible to make the poll collapsible?
phpBB 3.3.7 | PHP Version 7.4.33 | Milk Theme
User avatar
jasolo
Registered User
Posts: 132
Joined: Sat Jan 20, 2018 9:17 pm

Re: [3.2][3.3][BETA] Advanced Polls

Post by jasolo »

It would be possible, but that feature is not implemented in this extension.
Derek Bradshaw
Registered User
Posts: 3
Joined: Fri May 26, 2023 10:33 am

Re: [3.2][3.3][BETA] Advanced Polls

Post by Derek Bradshaw »

Will this extension ever move from "In Development" to a Release Candidate?
User avatar
jasolo
Registered User
Posts: 132
Joined: Sat Jan 20, 2018 9:17 pm

Re: [3.2][3.3][BETA] Advanced Polls

Post by jasolo »

My idea was to add some features to the original code before that, but I don't have time for that lately.
ponchi101
Registered User
Posts: 43
Joined: Fri Dec 04, 2020 3:12 pm

Re: [3.2][3.3][BETA] Advanced Polls

Post by ponchi101 »

Hello.
I installed this extension a while back. While it works great for me, none of my members can create polls. When they start a new topic, they don't get the POLL CREATION tab.
I tested it via the TRANSFER PERMISSIONS function, and indeed, they can't.
Any ideas? Or do I have to activate that permission for them?
User avatar
warmweer
Jr. Extension Validator
Posts: 11660
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: [3.2][3.3][BETA] Advanced Polls

Post by warmweer »

ponchi101 wrote: Wed Jul 03, 2024 2:08 pm Hello.
I installed this extension a while back. While it works great for me, none of my members can create polls. When they start a new topic, they don't get the POLL CREATION tab.
I tested it via the TRANSFER PERMISSIONS function, and indeed, they can't.
Any ideas? Or do I have to activate that permission for them?
I don't know this extension but I suspect there are some (perhaps extra) permissions involved e.g. can create (advanced?) polls.

Search the group forum permissions for something like that, and if there is a similar permission, use the permission mask/trace on a user who can't create (advanced?) polls to find out the blocking factor
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
ponchi101
Registered User
Posts: 43
Joined: Fri Dec 04, 2020 3:12 pm

Re: [3.2][3.3][BETA] Advanced Polls

Post by ponchi101 »

warmweer wrote: Wed Jul 03, 2024 3:53 pm
ponchi101 wrote: Wed Jul 03, 2024 2:08 pm Hello.
I installed this extension a while back. While it works great for me, none of my members can create polls. When they start a new topic, they don't get the POLL CREATION tab.
I tested it via the TRANSFER PERMISSIONS function, and indeed, they can't.
Any ideas? Or do I have to activate that permission for them?
I don't know this extension but I suspect there are some (perhaps extra) permissions involved e.g. can create (advanced?) polls.

Search the group forum permissions for something like that, and if there is a similar permission, use the permission mask/trace on a user who can't create (advanced?) polls to find out the blocking factor
I know, that is the reason I think there is something wrong I am doing. But I have searched all permissions and I can't find anything related to POLLS.

Return to “Extensions in Development”