Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

Give admin unlimited votes

This discussion is related to the Discussion Polls addon.


Is there a simple fix to give admin unlimited votes? Looks like the PK for answers is ther answer ID so should it be ok to have the same userid for the same poll id?


  • hgtonighthgtonight ∞ · New Moderator

    Thanks for trying my addon!

    I have no interest in supporting this feature. I am sure it can be done.

    Good luck! :)

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • rbrahmsonrbrahmson "You may say I'm a dreamer / But I'm not the only one" NY ✭✭✭

    Out of curiosity I skimmed the plugin code on Github and noticed the following segment:


     // Has the user voted?
          if($DPModel->HasAnswered($Poll->PollID, $Session->UserID) || !$Session->IsValid() || $Closed) {
            $Results = TRUE;
            // Render results
          else {

    So you could change that to exclude Admins from that test. You will need to test this thoroughly as you are on your own on this - I do not plan to support this either.

  • Thanks, will try that. No worries understood. No sure why it's not a more popular plugin tbh

Sign In or Register to comment.