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 How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old October 11th, 2012, 10:22 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2012
Posts: 11
Contest Ended - sort order not by vote count

Hi Chuck,

I've just ended a contest in one of my forums but I expected the display of that category to now be sorted by the highest vote count.

I've checked the db and the category has sortby set to 9.

Other values that seem to be important in the showgallery.php are:

ratingtype = 1
takevotes = 2
votes = 0

(just out of curiousity since there are votes, I reset the votes value to a positive number but that didn't seem to matter).

Any thoughts on why it's not displaying by vote count?

Any other values that I should check?

Thanks,

Dennis
swtadm is offline   Reply With Quote
Old October 11th, 2012, 12:31 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
There is no sortorder field in the categories table in our program that is 9. I have checked our files and see where we set nothing to 9 so definately would have to see this site backend front end and database to come up with a theory.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 12th, 2012, 10:05 AM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
I have not seen any info on this yet. It would not be part of add a specific sort called votes and this is how I would do it. There is no clear vote sort it is by rating but clearly it would be nice to have seen your issue to comment further.

I would if I wanted to add a specific vote sort do this around line 239 I would add this code in bold.

Code:
Content visible to verified customers only.
I would then down further around line 607 add this code in bold

Code:
Content visible to verified customers only.
You could then add a specific sort in your sort table with sort id of 9 like this

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.
Chuck S is offline   Reply With Quote
Old October 13th, 2012, 10:35 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
Let me know if that achieves what you want or if you need anything else.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 14th, 2012, 01:40 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
Okay well I tried this out myself on my test site and works fine so think I will add this to our next update.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Contest ended - sorting by Rating does not work jdougher Photopost Pro How Do I...? 24 January 23rd, 2011 07:50 PM
Sort by vote zigorob General Discussion 2 May 31st, 2008 04:03 AM
Contest: Not allow members to change their vote Abel21 Photopost Pro How Do I...? 4 January 3rd, 2007 12:28 PM


All times are GMT -5. The time now is 12:33 PM.

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