 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
March 22nd, 2006, 03:13 PM
|
#1 (permalink)
| | Registered User
Join Date: Jul 2003
Posts: 36
| Hide vote tallies till vote ends?
Has this already been done or suggested? I am running several contests on site that are now using the gallery for voting and the participants SEEING the vote totals before the contest ends is a bit of a problem.
Thanks,
Jim
|
| |
August 16th, 2006, 01:15 PM
|
#2 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
|
I agree, pleaaaase give us this feature. It was asked so many times...
|
| |
August 23rd, 2006, 06:55 PM
|
#3 (permalink)
| | Senior Member Verified Customer
Join Date: Dec 2002 Location: San Francisco
Posts: 600
|
It'd be great to have this feature.
__________________
SP
Photopost 5.62
|
| |
August 23rd, 2006, 07:36 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,806
|
template edit showgallery.php note the line here Code: Content visible to verified customers only.
change to this Code: Content visible to verified customers only.
Last edited by Chuck S; December 30th, 2006 at 09:15 AM.
|
| |
August 24th, 2006, 10:58 AM
|
#5 (permalink)
| | Senior Member Verified Customer
Join Date: Dec 2002 Location: San Francisco
Posts: 600
|
many thanks!
__________________
SP
Photopost 5.62
|
| |
September 4th, 2006, 07:01 PM
|
#6 (permalink)
| | Senior Member Verified Customer
Join Date: Dec 2002 Location: San Francisco
Posts: 600
|
I have just implemented this code change today, and found it does not show the votes even after the voting is ended. I checked the code change several times, and it is changed correctly. Not sure why this did not work.
__________________
SP
Photopost 5.62
|
| |
September 6th, 2006, 10:49 PM
|
#7 (permalink)
| | Senior Member Verified Customer
Join Date: Dec 2002 Location: San Francisco
Posts: 600
|
Anyone else got this working?
__________________
SP
Photopost 5.62
|
| |
September 7th, 2006, 09:25 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,806
|
Works fine. Simple conditional around the row that says $takevotes == 2 then show the number of votes.
$takesvotes equals 2 means voting has ended. Code: Content visible to verified customers only.
|
| |
September 18th, 2006, 11:17 PM
|
#9 (permalink)
| | Senior Member Verified Customer
Join Date: Dec 2002 Location: San Francisco
Posts: 600
|
I found that "x votes" is not shown after "ending vote" with your code change. It only shows "You picked this image" with no votes count for any image.
__________________
SP
Photopost 5.62
|
| |
September 21st, 2006, 07:44 PM
|
#10 (permalink)
| | Senior Member Verified Customer
Join Date: Dec 2002 Location: San Francisco
Posts: 600
|
Any help?
__________________
SP
Photopost 5.62
|
| |
September 23rd, 2006, 01:57 PM
|
#11 (permalink)
| | Senior Member Verified Customer
Join Date: Dec 2002 Location: San Francisco
Posts: 600
| Quote:
Originally Posted by Chuck S template edit showgallery.php note the line here Code: Content visible to verified customers only.
change to this Code: Content visible to verified customers only.
| I followed this instruction, changed showgallery.tmpl (note not showgallery.php), but when the voting is ended, it does not show number of votes each photo got. It only shows which one you picked and ranked with order, no number of votes displayed.
Could anyone please try and confirm this? I am on the latest version.
Thank you very much!
__________________
SP
Photopost 5.62
|
| |
October 1st, 2006, 10:37 PM
|
#12 (permalink)
| | Senior Member Verified Customer
Join Date: Dec 2002 Location: San Francisco
Posts: 600
|
Chuck,
Could you please help? I know it should work, but it does not. When the voting is ended, it does not show number of votes each photo got. It only shows which one you picked and ranked with order, no number of votes displayed.
__________________
SP
Photopost 5.62
|
| |
October 1st, 2006, 11:00 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,806
|
The variable is $takevotes not $takesvotes
|
| |
November 13th, 2006, 04:26 PM
|
#14 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2006
Posts: 18
|
Just wanted to say I love the support you guys give for code changes, makes my life sooo much easier.
Just implemented this and it works great!
|
| |
December 29th, 2006, 10:41 PM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Aug 2005
Posts: 34
|
Chuck... does this template mod work with 5.62?
thanks
edit:
i made the code changes and still no go... i logged in with another non admin account to verify...
Last edited by Abel21; December 29th, 2006 at 11:00 PM.
|
| |
December 30th, 2006, 09:16 AM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,806
|
I beleive so although this is not something I support sorry Hide vote tallies till vote ends? |
| |
January 29th, 2007, 07:19 AM
|
#17 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
|
Hi
I tried it with PP 5.62, but it does not work really.
First, it hides the votes as expected. But the problem is that it does not show neither a way how to vote.
I assume the reason for this is because the hack is in the template and not in a php file.
I also changed the wording as suggested by the way: Quote:
Originally Posted by Chuck S The variable is $takevotes not $takesvotes | So how to achive, that voting is possible, but the result is not visible unless I want to disclose it to all after the voting period ended?
The same hack would be interesting for ratings by the way...
Thanks in advance
|
| |
January 31st, 2007, 06:31 PM
|
#18 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
|
any hints?
|
| |
February 22nd, 2007, 12:06 AM
|
#19 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 139
|
so i just added that line ( if ( $takevotes == 2) {) and now if you click my gallery or a personal gallery it gives you an error. something about something unexpected on line 50. i didn't have time to copy that, sorry, had to fix it for those freaking out. (they're easy to scare). any ideas why that messed up the view of the gallery???
|
| |
February 22nd, 2007, 12:07 AM
|
#20 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 139
|
ooh, yet another member sent it to me.
Parse error: syntax error, unexpected $end in /home/digital/public_html/gallery/templates/vb3enhanced/showgallery.tmpl on line 350
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 04:03 PM. | |