Announcement

Collapse
No announcement yet.

Can I allow poll results to remain hidden?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can I allow poll results to remain hidden?

    Sorry if this has been answered... I have tried searching.

    Our community holds a monthly vote to promote users to "full" membership status. We'd like to keep the voting results private (even for folks who have cast their vote) until the poll closes to avoid influencing votes. Can this be done organically, or is there an add-on to do this?

  • #2
    There is no option to change the poll's public / private status after the initial posting. But you can run this query to change it when you want to make it public:

    UPDATE poll
    SET public = 1
    WHERE pollid = X

    Change X to the pollid of the poll.

    Comment


    • #3
      I'd like the same feature. As far as I can tell, it's not available in 'stock' vBulletin.

      What first poster is asking, is if the results of the poll can be hidden from people who have already voted... essentially making the vote "blind" to everyone but the forum moderators.

      Jake's response is for the "Make polls public" checkbox underneath the poll options, when one keys in or edits a poll.

      Comment


      • #4
        Sounds like a good idea, which could be accomplished in a template edit. Try adding a conditional around the pollresults template. I can't check the details right now, but will later.
        Lats...

        Comment


        • #5
          This seems to work okay, although you have to close the poll manually to view the results. Add the blue bits to the pollresult template...
          Code:
          <if condition="$pollinfo[active] != 1">
          <tr>
           <td class="alt1" width="75%">
            <if condition="$option['uservote']">
             <em>$option[question]</em>
            <else />
             $option[question]
            </if>
            <if condition="$show['pollvoters']"><div class="alt2 smallfont" style="border:inset 1px; margin-top:$stylevar[cellpadding]px; padding:$stylevar[cellpadding]px">$names</div></if>
           </td>
           <td class="alt2" nowrap="nowrap">
            <img src="$stylevar[imgdir_poll]/bar$option[graphicnumber]-$option[open].gif" alt="" width="3" height="10"
            /><img src="$stylevar[imgdir_poll]/bar$option[graphicnumber].gif" alt="" width="$option[barnumber]" height="10"
            /><img src="$stylevar[imgdir_poll]/bar$option[graphicnumber]-$option[close].gif" alt="" width="3" height="10"
            /><img src="$vboptions[cleargifurl]" alt="" width="$option[remainder]" height="10" />
           </td>
           <td class="alt1" width="12%" align="center" title="$vbphrase[votes]" nowrap="nowrap"><strong>$option[votes]</strong></td>
           <td class="alt2" width="13%" align="$stylevar[right]" nowrap="nowrap">$option[percent]%</td>
          </tr>
          <else />
          <tr><td>Poll results available when voting is over</td></tr>
          </if>
          Lats...

          Comment


          • #6
            Thanks for that, Lats. I'd like for blind voting to be an option for some polls, but not all. You've got me pointed in the right direction though.

            Comment


            • #7
              I agree, blind voting is the best way for most things. In your promotion case, you could place those polls within a particular forum and test for that using another conditional.
              Lats...

              Comment


              • #8
                Originally posted by stopgo View Post
                Sorry if this has been answered... I have tried searching.

                Our community holds a monthly vote to promote users to "full" membership status. We'd like to keep the voting results private (even for folks who have cast their vote) until the poll closes to avoid influencing votes. Can this be done organically, or is there an add-on to do this?
                I use this one.

                Sakera's Hide Poll Results
                http://www.vbulletin.org/forum/showthread.php?t=146115
                ...steven
                www.318ti.org (vB3.8) | www.nccbmwcca.org (vB4.2)
                bmwcca.org/forum | m135i.net
                "I tried to clean this up but this thread is beyond redemption." - Steve Machol

                Comment


                • #9
                  Originally posted by 1996 328ti View Post
                  I use this one.

                  Sakera's Hide Poll Results
                  http://www.vbulletin.org/forum/showthread.php?t=146115
                  That's *exactly* what I needed! Cheers!

                  Comment


                  • #10
                    Originally posted by Jake Bunce View Post
                    There is no option to change the poll's public / private status after the initial posting. But you can run this query to change it when you want to make it public:

                    UPDATE poll
                    SET public = 1
                    WHERE pollid = X

                    Change X to the pollid of the poll.
                    How do you create a private poll that Jack referred to above?

                    Comment

                    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                    Working...
                    X