View Full Version : sort gallery feature not working
February 9th, 2010, 01:47 PM
Have no clue what happened, but the past 2 days I can no longer sort photos from the options on the page.
I chose, sort by views, Sort order Descending With Titles.
No matter what I choose, nothing happens???
this is the result I get each and every time.
What could have happened?
Contest Current Week Entries - BytePhoto Galleries (http://www.bytephoto.com/photopost/showgallery.php?sortby=v&sorttime=9999&way=desc&thumbsonly=2&page=1&cat=959&ppuser=&thumbcheck=0&cat=959)
February 9th, 2010, 07:07 PM
Have you modified any of the files?
February 10th, 2010, 10:16 AM
no, nothing changed. It worked one day then didnt work the next.
I even went into the PP Admin area to set the default to see if it had anything to do with it
February 10th, 2010, 11:59 AM
Well the reason I ask is I have tested sorting on a default gallery with no changes and it works fine.
Try this. Turn your SEO to on and test does the sort work?
February 10th, 2010, 01:52 PM
I'm trying to find where that option is located.. right now in Global options and don't see it.
Can you direct me quickly please :)
February 10th, 2010, 02:03 PM
Its the spider seo url option in global options you have yours set to none
February 10th, 2010, 06:48 PM
ok, I checked. It was already set to no.
Use Spider-friendly URLs? set to no
Is that what you meant?
One of my members just pm'd me and said he to can no longer sort. So now I know its at least not just me :(
He said he could do it a couple days ago, but not now
February 10th, 2010, 06:49 PM
The only thing different I did with PP was turn on the voting option that I mentioned before. It wouldn't have been that would it?
February 10th, 2010, 07:07 PM
Well if all your categories are voting categories I could see this because voting categories are specific set to a sort they are locked into that sort.
February 10th, 2010, 08:37 PM
what sort are they locked into?
Seems kind of strange that it would be locked. People view those all week long and some change their sort depending on how they need to view them. It also allows to sort by rating which is what the voting is isnt it? or is that just the 1-10 rating?
February 10th, 2010, 08:54 PM
No its not stranged they are locked into a sort
Voting is specifically set to specific sorts
if ( $catinfo['takevotes'] == 0 )
$sortby = "b";
$catinfo['sortorder'] = 4;
elseif ( $catinfo['takevotes'] == 1 )
$sortby = "b";
$catinfo['sortorder'] = 4;
$sortby = "r";
$catinfo['sortorder'] = 6;
I believe it is set when the voting is ended etc to MOST POPULAR
February 10th, 2010, 09:22 PM
Can I end the voting and enable it again and still not lose the votes that were there?
I have a feeling the users might not like the fact they can no longer sort within the contest which is the most popular place on the website.
February 11th, 2010, 01:11 AM
Sure you only lose votes when you hit clear votes but as stated as long as the category is set to be voting category its going to follow the specific sorts that the developer has setup the application to work.
February 11th, 2010, 08:24 AM
During voting, sorting is RANDOM and when its done, sorted by highest votes. It's just always been that way since we released it.
February 11th, 2010, 09:47 AM
Thanks Michael. I've been a member of the website I now own since 2003. But the previous owner only used the rating option and never the vote option, so this is my first experience with it as is with a lot of our members.
The sort doesnt seem to be random each time. It seems to choose a sort and stick to it.
Am I going to have problems later tonight when I have to move all the photos all the photos into an archive category that is not set for voting?
Wasn't sure if anything would be effected as in will the votes dissappear?
February 11th, 2010, 11:14 AM
If you move photos into a category that is not setup for voting or change a category back to regular ratings not vote your sort options will work.
Possibly in the future what we could do is actually hide that entire sort box if the category is a voting category that might eleviate some of the misunderstanding.
February 11th, 2010, 11:35 AM
it might also tick off the users if they can't sort lol. I'll probably start getting questions as to why they dont see the sort option anymore in the contest. A few of them have pm'd me since yesterday wondering why they can't sort.
I was thinking, that if I continue to use the vote option, to only have it activated the last 2 days of the week so they can vote which will allow them to sort the 1st 5 days of the week.
February 11th, 2010, 12:56 PM
Got ya all a personal choose I guess. I dont think I have ever scene a site that has had every last category a voting category.
February 12th, 2010, 04:48 AM
guess what, I have a category I named Finalists that I had set last week to vote just to test it.
so I clicked on End Voting to see if I could then sort, and I still can't sort or change my gallery view in any way like just with thumbs, or with titles etc.
The whole gallery is stuck permanently. Who do I undo this?
Finalists 01-15-10 to 01-21-10 - BytePhoto Galleries (http://www.bytephoto.com/photopost/showgallery.php?sortby=d&sorttime=9999&way=asc&thumbsonly=2&page=1&cat=981&ppuser=&thumbcheck=0&cat=981)
February 12th, 2010, 07:32 AM
If your going to have a category set to voting does not matter if its enabled ended or active the sorts are locked into either random or most popular depending on the voting action.
February 12th, 2010, 11:57 AM
It wasn't sorted by the votes either in the category where people voted after I closed it.
If there were over 90 or more pictures since that is the most allowed per view, it would be hard to locate the ones voted in order of who was voted most.
How do I turn the feature off? I can't seem to locate it where I thought it was when I originally found it to turn it on
February 12th, 2010, 12:07 PM
In Admin => edit categories is where you set either a category as voting or ratings for each cat you edit
February 12th, 2010, 02:02 PM
thanks, I kept looking at overall settings instead of categories
February 12th, 2010, 02:07 PM
No Problem glad to help
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.