PDA

View Full Version : Sort not working


guaranis
12-11-2005, 04:47 PM
the sort is not working. (when the page rank is disabled)
One way to solve this is to enable the page rank, but in that case your are going to query google for each feed and probably banned if you have a lot of feeds and a cron setup.
Another way, check the index.php and find
if(!ENABLE_PAGERANK || !SHOW_PAGERANK && $sort == 'P')
$sort = 'H';

replace with
if((!ENABLE_PAGERANK || !SHOW_PAGERANK) && $sort == 'P')
$sort = 'D';

This seems to work for me

David
12-11-2005, 07:21 PM
thank you for the input.
Now that we have a few people using the script, I'm starting to get more feedback, as well as working on a slightly updated version of the script.

FrenchF
09-19-2006, 09:57 AM
I have the same problem in 3.0.6.

Original code :
if (ENABLE_PAGERANK != 1 || SHOW_PAGERANK != 1 && $sort == 'P')
$sort = 'H';

Replace by :
if ((ENABLE_PAGERANK != 1 || SHOW_PAGERANK != 1) && $sort == 'P')
$sort = 'H';

It seems to work.