Comment to 'How to Recommend profile in UNA'
  • please refer attached screenshotimage_transcoder.php?o=bx_froala_image&h=3184&dpx=1&t=1585219671

    0 0 0 0 0 0
    •     function getAlterOrder()

          {

              switch ($this->aCurrent['sorting']) {

                  case 'featured':

                      return array('order' => ' ORDER BY `bx_persons_data`.`featured` DESC ');

                  case 'recommended':

                      return array('order' => ' ORDER BY RAND() ');

                  case 'none':

                      return array();

                  case 'active':

                      return array('order' => ' ORDER BY `sys_accounts`.`logged` DESC ');

                  case 'online':

                      return array('order' => ' ORDER BY `sys_sessions`.`date` DESC ');

                  case 'last':

                  default:

                      return array('order' => ' ORDER BY `bx_persons_data`.`added` DESC ');

              }

          }



      recommended means  random records.

      0 0 0 0 0 0
      • ok, but it is nothing showing on page

        0 0 0 0 0 0

      UNA - Social Media Software Framework

      Close