inherit
223184
0
Jul 18, 2016 18:03:24 GMT -8
stronktank
86
July 2015
stronktank
|
Post by stronktank on Mar 22, 2016 13:29:41 GMT -8
Good day! I was wondering if it was possible to have the creator of a topic make a poll and afterwards add the allowed voters for that poll? We have gaming events that include jobs that can be voted on after the event. The problem is that members that did not attend the event also vote for jobs. Can there be a plugin where the host makes a list of the event's attendees and those can be put in the list for people allowed to vote on the poll? Or perhaps an easier way? gccc.boards.net/forumThanks!
|
|
#eb7100
33409
0
1
May 2, 2024 15:37:37 GMT -8
Brian
48,129
November 2004
smashmaster3
|
Post by Brian on Mar 24, 2016 11:06:08 GMT -8
This can be done, but not in a secure manner. A user can bypass it if they know how. - Plugins do not securely hide content that exists on the page beforehand.
If you're looking for a plugin to restrict an existing forum feature or hide something that exists on the forum by default you'll want to take this into consideration. Plugins run after the page content loads and cannot modify the output of the page before it's received from the server. A plugin can hide an element on the page but that's not going to make the element inaccessible as the element still exists on the page so it's very much possible to circumvent the restriction put in place by the plugin. This isn't meant to outright discourage you from requesting this type of plugin, but rather to let you know beforehand that they don't actually hide your content in case you wonder one day why your users are suddenly able to bypass your plugin's restrictions.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,781
January 2015
msg
|
Post by Lynx on Mar 24, 2016 13:22:50 GMT -8
An alternative idea could be to set up a couple of boards just for this - one for the polls and an archive board for them (so only 1 poll is in the "main" board at a time).
- Poll Board (accessible only by a hidden Member Group) --- Poll Board Archive (to move old polls into - have just Staff accessible)
Create a hidden Member Group and add just those people in it who can vote on the current poll. Once the poll closes, remove those people from the hidden Member Group. Repeat for the next poll.
It's more work, but also more secure, as now permissions would be based off of whether they are in the "Poll Voting" (hidden) Member Group or not.
|
|
inherit
223184
0
Jul 18, 2016 18:03:24 GMT -8
stronktank
86
July 2015
stronktank
|
Post by stronktank on Mar 24, 2016 23:58:50 GMT -8
Lynx thanks but there is way too many events with different attendee groups to start making different group poll boards as the forum would get cluttered. Brian well, bypassing it in what way? Most of our users aren't coders and if they go that far to cheat a vote they will definately get a warning as we can still check who voted (and who bypassed).
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,781
January 2015
msg
|
Post by Lynx on Mar 25, 2016 7:26:55 GMT -8
stronktank, My apologies if I was unclear. The thought behind my idea wasn't to make a new poll board each time, but to use the same poll board. Only the access, via the hidden group, would change. Once a poll was completed, that poll would go to the archive poll board and the hidden member group removed from those people who were allowed to vote. For the next poll, the poll itself would go into the same poll board as before (as the old poll would be in the archive board), members who are allowed to vote on that one added to that hidden group (same one used before, just different people added this time) and they can vote. Once that poll is completed, rinse and repeat. The majority of the work, once set up, would be to just add / remove people from that hidden group. No worries if you don't want to use that idea - just thought I'd toss that out as an alternative option. I've also (thanks to you and this thread) made a feature request for member groups. Good luck!
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Mar 26, 2016 0:57:54 GMT -8
People have been asking for a poll plugin for ages. So they can display who voted what when where why how now brown cow. Starting fresh is still the best route for this situation in my opinion. Lynx Start making it happen cap'n. Just gotta make a thread key. Make a button that creates polls, this redirects you to the create thread screen (using a flag sent by cookies, localStorage, or through url), then choosing from a set of pre-made polls from the manage section on the thread screen will create the thread with set_on as an array. Make a button that saves their John Hancock using pb.plugin.key().push. Display it in a horizontal bar chart. Add a spot in manage for who can make polls. Also adding a spot in manage as an autoform with poll names, poll text, poll expiration date (going by pb.data('serverDate') + timer started from page load in increments of 1000 miliseconds for focused tab limitation), poll user access selection (everyone, no guests, staff, none), then a member search where they can add specific members.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,781
January 2015
msg
|
Post by Lynx on Mar 26, 2016 8:11:37 GMT -8
This is above and beyond my current skills at the moment, P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓. Sadly, I'm not ready for something this complex (to me) yet. I'm slowly getting there, but I'm not quite there yet.
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Mar 26, 2016 10:08:06 GMT -8
This is above and beyond my current skills at the moment, P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ . Sadly, I'm not ready for something this complex (to me) yet. I'm slowly getting there, but I'm not quite there yet. It sounded harder and harder as i kept writing lol
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,781
January 2015
msg
|
Post by Lynx on Mar 26, 2016 10:38:20 GMT -8
lol Now you know what was going through my mind the further into it I was reading.
|
|
#eb7100
33409
0
1
May 2, 2024 15:37:37 GMT -8
Brian
48,129
November 2004
smashmaster3
|
Post by Brian on Mar 27, 2016 8:46:49 GMT -8
Lynx thanks but there is way too many events with different attendee groups to start making different group poll boards as the forum would get cluttered. Brian well, bypassing it in what way? Most of our users aren't coders and if they go that far to cheat a vote they will definately get a warning as we can still check who voted (and who bypassed). The most likely scenario would be that viewing the forum from a mobile device would allow other users to vote on the poll as plugins do not run there.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,285
January 2004
todge
|
Post by Todge on Mar 28, 2016 7:37:00 GMT -8
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,781
January 2015
msg
|
Post by Lynx on Mar 28, 2016 7:45:41 GMT -8
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,285
January 2004
todge
|
Post by Todge on Mar 28, 2016 7:52:36 GMT -8
|
|