MicrostockGroup Sponsors


Author Topic: Pages - Browsing Bug  (Read 10847 times)

0 Members and 1 Guest are viewing this topic.

« Reply #25 on: August 25, 2013, 09:52 »
0
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)

Code: [Select]
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.


Ron

« Reply #26 on: August 25, 2013, 10:32 »
0
Ow sorry, yes, I took that code and made the changes, but I didnt do anything else.

« Reply #27 on: August 25, 2013, 10:36 »
0
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.  :(

Ron

« Reply #28 on: August 25, 2013, 10:40 »
0
I am on 2.5.5

ShazamImages

  • ShazamImages.com
« Reply #29 on: August 25, 2013, 11:14 »
0
...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.

« Reply #30 on: August 25, 2013, 12:03 »
0
...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:

ShazamImages

  • ShazamImages.com
« Reply #31 on: August 25, 2013, 12:12 »
0
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.

ShazamImages

  • ShazamImages.com
« Reply #32 on: August 25, 2013, 12:24 »
0
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.

« Reply #33 on: August 25, 2013, 12:29 »
0
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.

« Reply #34 on: August 25, 2013, 12:36 »
0
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:

Code: [Select]
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 ){         



 

Related Topics

  Subject / Started by Replies Last post
16 Replies
4841 Views
Last post April 28, 2010, 16:02
by madelaide
15 Replies
4506 Views
Last post August 27, 2013, 14:42
by Leo Blanchette
0 Replies
1768 Views
Last post September 03, 2013, 14:05
by timd35
4 Replies
4121 Views
Last post June 30, 2015, 05:11
by skyfish
3 Replies
3952 Views
Last post August 17, 2018, 08:48
by steheap

Sponsors

Mega Bundle of 5,900+ Professional Lightroom Presets

Microstock Poll Results

Sponsors