Does anyone know if this mod still works in 7.0.5 - it is the mod that would display only people with pictures in the profile block. Not sure who did it Lanconshiredates might have done one version, but there may have been another. Here is the code I have that no longer works:
Random Display in Homepage member block
files to edit \templates\base\scripts\ BxBaseIndexPageView.php
look for this code around line 322
// top menu and sorting
$aModes = array('last', 'top', 'online');
change it to
// top menu and sorting
$aModes = array('last', 'top', 'rand', 'online');
find this code around line 337
case 'last':
if ($sMode == $sMyMode)
$sqlOrder = " ORDER BY `Profiles`.`Couple` ASC, `Profiles`.`DateReg` DESC";
$sModeTitle = _t('_Latest');
break;
add this code bellow it
case 'rand':
if ($sMode == $sMyMode)
$sqlOrder = " ORDER BY `Profiles`.`Couple` ASC, `Profiles`.`Avatar` <> 0 DESC, RAND()";
$sModeTitle = _t('_Random');
break;
around line 326 you need to change the display order
$sMode = (in_array($_GET[$sBlockName . 'Mode'], $aModes)) ? $_GET[$sBlockName . 'Mode'] : $sMode = 'last';
change that 'last' to rand
