PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old September 19th, 2006, 12:29 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Posts: 33
Contest Votes by Users Awaiting Confirmation

I run Photopost 5.21 and use vBulletin registration. In trying to understand why the vote totals for a leading pic drastically reduced on the last day of voting, I became aware that Users Awaiting Confirmation were able to vote in the contest. I checked all the user settings in Photo Post and they are only able to view and nothing else. I cheked the Category settings and this user group is not allowed to vote. I even checked the data in the SQL database and confirmed that it agrees with the control panel. Yet they continue to be able to vote. Any ideas why this would be?
tjanders is offline   Reply With Quote
Old September 19th, 2006, 09:00 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
In showgallery template try adding in bold

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; September 27th, 2006 at 10:44 PM.
Chuck S is online now   Reply With Quote
Old September 19th, 2006, 09:53 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Posts: 33
Tried this coding, but it looked to me like the last semicolon should be a right parenthesis. I tried it as one with no result. Where should the right parenthesis be to complete the If statement?
tjanders is offline   Reply With Quote
Old September 20th, 2006, 09:24 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
its complete must have deleted the ) putting in the bbcode tags. Basically that this says is if they are logged in do they have voting rights. You can turn off voting rights for usergroups in edit categories
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old September 21st, 2006, 01:55 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Posts: 33
Sorry poor copying by me. Doesn't change the results, though.

The function is definitely turned off for the usergroup in edit categories, but I've tested and they can definitely vote. In fact, I've also indicated that Moderators and the Administrator can't vote, but when they log in, they are able to vote too. It appears that it's testing only the ability to successfully log in and not which usergroup is involved.
tjanders is offline   Reply With Quote
Old September 21st, 2006, 04:38 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
Reapply the edit the catid variable needs to be $thecatid
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old September 27th, 2006, 10:39 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Posts: 33
I revised, but with no change in results. All categories can still vote. Here's a copy of the coding now on the server, in case I've misunderstood the revisions.

if ( $takevotes == 1 && $CatPerms['ugvote'][$thecatid] = 0; ) {
tjanders is offline   Reply With Quote
Old September 27th, 2006, 10:44 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
remove the semi-colon
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old October 2nd, 2006, 09:50 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jul 2002
Location: London
Posts: 273
Hi guys,

I also run v5.21 and have exactly the same problem.

I tried adding the bold fix but that did not change things. I also tried cutting and pasting in the whole code block above, that did not fix it either.

So, as per tjanders, all levels of logged in user can vote in our competition... even though the category has it set for just 3 user levels to be able to do this.

Thanks for any help you can give.

Steve
Steve_UK is offline   Reply With Quote
Old October 2nd, 2006, 10:51 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
Code:
Content visible to verified customers only.
That definately works fine

I would suggest you go into your cats editor if your edit is as noted and make sure only registered admins mods etc can vote
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old October 12th, 2006, 12:40 AM   #11 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Posts: 33
Not sure what I'm not getting right here, as all categories can vote even though only registered is turned on in the cats editor. For a work around, I've turned off the ability to view images for Users Awaiting Confirmation as this prevents them from voting nicely. Here's a copy of my code in case I still haven't set it up right:

if ( $ratingtype == 1 ) {
if ( $hasvoted == 0 && $User['userid'] != $gallery['userid'][$x] && $User['userid'] > 0 ) {
if ( $takevotes == 1 && $CatPerms['ugvote'][$thecatid] = 0 ) {
echo<<<PPPRINT
<span class="{$Style['small']}"><a href="{$Globals['maindir']}/misc.php?action=vote&amp;photo={$gallery['id'][$x]}">{$Globals['pp_lang']['vote']}</a></span>
<br />
PPPRINT;
}
}
tjanders is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prevent users in Awaiting Email confirmation group from viewing pictures? DefenceTalk.com Photopost Pro How Do I...? 5 February 23rd, 2007 09:19 AM
Awaiting license... machelp Before You Buy 1 September 3rd, 2006 06:20 PM
Sort by Votes for Gallery in Contest up23 Photopost Pro How Do I...? 0 June 11th, 2006 10:21 PM
Contest - Make votes results not visable until contest is over... Quarterbore Photopost Pro How Do I...? 3 April 30th, 2006 06:11 PM


All times are GMT -5. The time now is 04:49 PM.

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