PDA

View Full Version : Admin featured & partner lists


Bryan Ex
01-10-2007, 03:25 PM
I have noticed the listings for both Featured Sites and Partner sites are displaying incorrectly. Both admin functions are missing some links and also display duplicates... presumably an error in function getFeaturedLinks and function getPartneredLinks for admin. I have compared my database listing and it is correct... no duplicate entries and the count is accurate. eSyndiCat displays the correct number of featured & partner but the actual listings are incorrect.

Both Featured and Partner seem to be displaying correctly on the front end of my site and Featured / Partnered settings also seem to be correct in manage-links.php. I have also checked that it is not cross links that are affecting it and that also seems fine as there is no pattern. Some duplicates are cross linked while others are not. Could someone check the output for function getFeaturedLinks in Pro 1.2 please? :bum-bum:

John Turner
01-11-2007, 04:43 AM
Hi Bryan,

Please try this variant
1. Open your '../classes/DirAdmin.php'
***find following function getFeaturedLinks
try to change

$sql .= "GROUP BY t2.`id` ";

to

$sql .= "GROUP BY t1.`id_link` ";


Make such changes with getPartnerLinks function

If trouble will not be fixed I offer to provide me with your FTP and MySQL credentials over PM I'll try to help.

Bryan Ex
01-13-2007, 05:13 PM
That has repaired the Featured and Partner listings John... thank you very much.