PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Contest voting for photos in a category (http://www.photopost.com/forum/photopost-pro-how-do-i/113298-contest-voting-photos-category.html)

petr55 April 4th, 2005 11:33 AM

Contest voting for photos in a category
 
How do I disable the display of the current vote tally.

Here's what I want to do....

Let the users vote but not show the votes tally until the voting period is over.
Then I want to display the results.

The idea is that I am also going to run a side contest to "Predict the winners".
And have users via the forum enter their choices for the top three (in sequence) winners. But that is a separate problem....

Right now, I just want to hide the results of the tally during the active voting period. Ideally, I could modify the code to say "If voting period has ended, then display the results"

Thanks for your assistance

Petr

snoopy5 April 11th, 2005 03:21 AM

... I would be also highgly interested in this feature "Let the users vote but not show the votes until the voting period is over"

Michael P April 11th, 2005 07:07 AM

You would have to modify the showgallery.tmpl template (lined 36-58) to suit your specific needs. http://www.photopostdev.com is a community supported mod forum that might be able to help if you aren't sure what to do.

You'll need to add some conditional around lined 53-56, probably something like:

if ( $takevotes == 1 ) {
echo<<<PPPRINT
...
PPPRINT;
}


All times are GMT -5. The time now is 04:52 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97