Pagination Issues For My Favorite Photos 6.1.4

Hello!


Yes, it's bug from not flexible paginate procedure in D6.1. For fixing try to do next changes:

1) Find in file inc/classes/BxDolSharedFiles.php next code:

$sMainUrl = $this->sType.'/all';

$aFields = array( 'ownerName', 'tag', 'rate' );

foreach ($aFields as $field) {
if( isset( $_GET[$field] ) ) {
$sParam = htmlentities( process_pass_data( $_GET[$field] ));
switch ($field) {
case 'ownerName':
$sMainUrl = $this->sType.'/gallery/all/'.$sParam;
break;
case 'tag':
$sMainUrl = $this->sType.'/gallery_tag/'.$sParam;
break;
case 'rate':
$sMainUrl = $this->sType.'/gallery_top';
break;
}
}
}

2) And change it like:

$sMainUrl = $this->sType.'/all';

$aFields = array( 'ownerName', 'tag', 'rate', 'fav' );

foreach ($aFields as $field) {
if( isset( $_GET[$field] ) ) {
$sParam = htmlentities( process_pass_data( $_GET[$field] ));
switch ($field) {
case 'ownerName':
$sMainUrl = $this->sType.'/gallery/all/'.$sParam;
break;
case 'tag':
$sMainUrl = $this->sType.'/gallery_tag/'.$sParam;
break;
case 'rate':
$sMainUrl = $this->sType.'/gallery_top';
break;

case 'fav':
$sMainUrl = 'browse' . ucfirst($this->sType) . '.php?action=fav';
break;                            }
}
}

Regard

Quote · 8 Mar 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.