Browse page first member with photo avatar

how setup browse page?

browse list member first with photo avatar

 

tnx

Quote · 1 Jul 2015

Any help me?

Quote · 1 Jul 2015

Is the question that you want to list members with an avatar first and those without last?

Geeks, making the world a better place
Quote · 1 Jul 2015

 

Is the question that you want to list members with an avatar first and those without last?

 

Yes

Quote · 1 Jul 2015

Any Help

Quote · 6 Jul 2015

Change the following code in templates/base/scripts/BxBaseBrowse.php file (code in bold was added):

        // select sorting parameters ;
        $sSortParam = '`Profiles`.`DateLastNav` DESC';
        if ( isset($this -> aDisplaySettings['sort']) ) {
            switch($this -> aDisplaySettings['sort']) {
                case 'date_reg' :
                    $sSortParam = '  (`Profiles`.`Avatar` > 0) DESC, `Profiles`.`DateReg` DESC';
                    break;
                case 'rate' :
                    $sSortParam = ' (`Profiles`.`Avatar` > 0) DESC, `Profiles`.`Rate` DESC, `Profiles`.`RateCount` DESC';
                    break;
                default :
                    $this -> aDisplaySettings['sort'] = 'activity';
                case 'activity' :
                    $sSortParam = '  (`Profiles`.`Avatar` > 0) DESC, `Profiles`.`DateLastNav` DESC';
                    break;
            }
        } else
            $this -> aDisplaySettings['sort'] = 'activity';

Please note this code will work only if you are using Avatar module for the profiles avatars.

Rules → http://www.boonex.com/terms
Quote · 13 Jul 2015
 
 
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.