MicrostockGroup Sponsors

Pages - Browsing Bug

Started by djpadavona, July 28, 2013, 16:55

Previous topic - Next topic

cathyslife

Quote from: Ron on August 25, 2013, 15:44
I Just edited the code and that was it. I used the blue host file editor to do it. I did use the original code and didnt change anything from DESC to ASC, all my images are GREEN and priority 2.

Is this the code you used? (copied from your link)

edit network-manager.php (in symbiostock/inc/classes/network-manager).

Go to lines 1477-1500. There will be three times 'order'     => 'ASC', change all to 'order'     => 'DESC'.

Then go to comment
//temporary function until everyone has toggled their theme   and is equal to or above 2.4.9

and below change
      if(   $image_rank_update == true ){         
to
      if(   $image_rank_update == false ){         

now you should have old sort order.


If yes, you did change ASC to DESC.

But maybe I misunderstood...I thought that code would ignore the whole GREEN-YELLOW-RED thing and change the sort order back to the images showing by first uploaded date first.
#boycottShutterstock   #shutterstockBoycott

Ron

Ow sorry, yes, I took that code and made the changes, but I didnt do anything else.

cathyslife

Quote from: Ron on August 25, 2013, 16:32
Ow sorry, yes, I took that code and made the changes, but I didnt do anything else.

OK.

I also updated to 2.5.6, reuploaded network-manager.php with the changed code, and it still didn't change the sort order.  :(
#boycottShutterstock   #shutterstockBoycott

Ron


ShazamImages

Quote from: cathyslife stockphotos.com on August 25, 2013, 12:49
...I added the code from Ron's link to network-manager.php and the sort order remains ASC not DESC.

I just did a search on your site (for "food") and the images look like they are in DESC order.
My Direct Sales Website: ShazamImages

cathyslife

Quote from: ShazamImages on August 25, 2013, 17:14
Quote from: cathyslife stockphotos.com on August 25, 2013, 12:49
...I added the code from Ron's link to network-manager.php and the sort order remains ASC not DESC.

I just did a search on your site (for "food") and the images look like they are in DESC order.


But the order looks the same as when I had the code that said ASC.

So just to be clear, if I want my images to show this way: images that I uploaded first (older date) to show up on the first page, and the images that I just uploaded recently to show on the last page (newer date), which order should they appear in, ASC or DESC?

As I said, it didn't seem to matter whether the code said ASC or DESC, the images show in the order that I see now, which is the images that I uploaded a few days, with newer date, show on page one, and images I uploaded first, which were my best images, show on the last page (older date). Screenshot below:
#boycottShutterstock   #shutterstockBoycott

ShazamImages

Quote from: cathyslife stockphotos.com on August 25, 2013, 18:03
So just to be clear, if I want my images to show this way: images that I uploaded first (older date) to show up on the first page, and the images that I just uploaded recently to show on the last page (newer date), which order should they appear in, ASC or DESC?

To order dates from oldest to newest, you would use ASC (ascending) order.

I'm just not sure what field the search is ordering on.
My Direct Sales Website: ShazamImages

ShazamImages

Quote from: ShazamImages on August 25, 2013, 18:12
Quote from: cathyslife stockphotos.com on August 25, 2013, 18:03
So just to be clear, if I want my images to show this way: images that I uploaded first (older date) to show up on the first page, and the images that I just uploaded recently to show on the last page (newer date), which order should they appear in, ASC or DESC?

To order dates from oldest to newest, you would use ASC (ascending) order.

I'm just not sure what field the search is ordering on.

I just checked at it seems to be ordering search results on the date (if you set $image_rank_update == false as suggested above), so if you set the order to ASC then it should show your images from oldest to newest.
My Direct Sales Website: ShazamImages

cathyslife

Quote from: ShazamImages on August 25, 2013, 18:24
Quote from: ShazamImages on August 25, 2013, 18:12
Quote from: cathyslife stockphotos.com on August 25, 2013, 18:03
So just to be clear, if I want my images to show this way: images that I uploaded first (older date) to show up on the first page, and the images that I just uploaded recently to show on the last page (newer date), which order should they appear in, ASC or DESC?

To order dates from oldest to newest, you would use ASC (ascending) order.

I'm just not sure what field the search is ordering on.

I just checked at it seems to be ordering search results on the date (if you set $image_rank_update == false as suggested above), so if you set the order to ASC then it should show your images from oldest to newest.

OK let me try that.
#boycottShutterstock   #shutterstockBoycott

cathyslife

Quote from: ShazamImages on August 25, 2013, 18:24
I just checked at it seems to be ordering search results on the date (if you set $image_rank_update == false as suggested above), so if you set the order to ASC then it should show your images from oldest to newest.

Yes, that is correct! Thanks for figuring that out.

So if you want your first-uploaded images (oldest date) to show FIRST in the sort/search, do this:

edit network-manager.php (in symbiostock/inc/classes/network-manager).

Go to lines 1504, below the line that says:
//temporary function until everyone has toggled their theme   and is equal to or above 2.4.9

change that line
      if(   $image_rank_update == true ){         
to
      if(   $image_rank_update == false ){         

#boycottShutterstock   #shutterstockBoycott