Posts: 2,519
Threads: 122
Joined: Jul 2011
Reputation:
293
2020-12-08, 01:25 PM
(This post was last modified: 2021-03-11, 08:26 AM by martec. Edited 8 times in total.)
Extra Poll
This plugin allows you to create more than one poll per thread.
FAQ:
Q: What happen if i unistalled this plugin?
A: All polls created by this plugin will be deleted together with the table created during installation. All polls created by mybb and not by the plugin will remain intact.
Q: Can i request new feature?
A: No plan to add more feature. Feel free to send PR or create a fork of this plugin.
Download:
https://community.mybb.com/mods.php?acti...w&pid=1410
https://github.com/martec/Extra_Poll/releases/latest
Change log:
https://community.mybb.com/mods.php?acti...g&pid=1410
Donate:
Thanks.
Posts: 2,790
Threads: 60
Joined: Mar 2016
Reputation:
227
Pretty interesting plugin martec, what was the motivation behind thie Extra poll?
- MyBB
Posts: 2,519
Threads: 122
Joined: Jul 2011
Reputation:
293
(2020-12-08, 01:49 PM)WallBB Wrote: Pretty interesting plugin martec, what was the motivation behind thie Extra poll?
this for my production forum...
It was something that my users always asked for.
I'm just sharing the plugin.
Posts: 2,790
Threads: 60
Joined: Mar 2016
Reputation:
227
(2020-12-08, 01:57 PM)martec Wrote: (2020-12-08, 01:49 PM)WallBB Wrote: Pretty interesting plugin martec, what was the motivation behind thie Extra poll?
this for my production forum...
It was something that my users always asked for.
I'm just sharing the plugin.
Awesome, thanks for the plugin
- MyBB
Posts: 9,356
Threads: 376
Joined: Jan 2010
Reputation:
485
2020-12-09, 01:15 AM
(This post was last modified: 2020-12-09, 01:16 AM by Omar G.. Edited 1 time in total.)
Hi, thank you for your contribution.
I'm a little confused by the decision to use the cache system for this plugin, as well as the exact working of the following piece of code (a per page feature is added but you overwrite the cache on every run, which seems confusing to me):
https://github.com/martec/Extra_Poll/blo...#L606-L614
Maybe dropping the cache altogether and simply adding a new column to the threads table to mark for extra polls, this might also drop the dependency on the core poll for displaying extra polls.
Posts: 2,519
Threads: 122
Joined: Jul 2011
Reputation:
293
2020-12-09, 02:42 AM
(This post was last modified: 2020-12-09, 05:14 PM by martec. Edited 1 time in total.)
0.1.3 Released
Change log:
https://community.mybb.com/mods.php?acti...g&pid=1410
(2020-12-09, 01:15 AM)Omar G. Wrote: Hi, thank you for your contribution. 
I'm a little confused by the decision to use the cache system for this plugin, as well as the exact working of the following piece of code (a per page feature is added but you overwrite the cache on every run, which seems confusing to me):
https://github.com/martec/Extra_Poll/blo...#L606-L614
very thanks for information.
i added the condition (https://github.com/martec/Extra_Poll/blo...l.php#L610) to check if rebuid is finished before update cache to avoid unnecessary query. Again thanks for information.
(2020-12-09, 01:15 AM)Omar G. Wrote: Maybe dropping the cache altogether and simply adding a new column to the threads table to mark for extra polls, this might also drop the dependency on the core poll for displaying extra polls.
Yes, you are absolutely right. But unfortunately I have no plans to do this level of change, maybe in the future or feel free to send PR or create a fork of this plugin.
0.2.0 Released
Change log:
https://community.mybb.com/mods.php?acti...g&pid=1410
Update:
Unistall old version, upload new version and install.
(2020-12-09, 01:15 AM)Omar G. Wrote: Maybe dropping the cache altogether and simply adding a new column to the threads table to mark for extra polls, this might also drop the dependency on the core poll for displaying extra polls.
Done in 0.2.0
Posts: 2,519
Threads: 122
Joined: Jul 2011
Reputation:
293
2020-12-10, 05:37 AM
(This post was last modified: 2020-12-10, 07:42 AM by martec. Edited 2 times in total.)
0.2.2 Released
Change log:
https://community.mybb.com/mods.php?acti...g&pid=1410
How update:
0.2.0 or above, only replace files
below than 0.2.0 Unistall old version, upload new version and install .
Posts: 2,519
Threads: 122
Joined: Jul 2011
Reputation:
293
0.2.4 Released
Change log:
https://community.mybb.com/mods.php?acti...g&pid=1410
How update:
0.2.0 or above, only replace files
below than 0.2.0 Unistall old version, upload new version and install .
Posts: 2,519
Threads: 122
Joined: Jul 2011
Reputation:
293
0.2.5 Released
Change log:
https://community.mybb.com/mods.php?acti...g&pid=1410
This plugin uses the mybb code as a base. If there is vulnerability in the base code this plugin is also affected.
Medium risk: Poll vote count SQL injection ( advisory) — reported by Devilshakerz (MyBB Team)
How update:
0.2.0 or above, only replace files
below than 0.2.0 Unistall old version, upload new version and install .
|