Hi is there any soution to couple members not appearing in the Members block on the home page (6.1.4).
I have found the file where it deals with this section but having played about with the code abit I can either get the block to show all the couples or all the single members but not both.
Anyone found this or solved it?
The file is the\templates\base\scripts\BxBaseIndex.php
and the code should be around Line 360
function getBlockCode_Members() {
global $tmpl;
// number of profiles
$max_num = (int) getParam( "top_members_max_num" );
// Get Sex from GET data
if ( $_GET['Sex'] && $_GET['Sex'] != "all" ) {
$sex = process_db_input( $_GET['Sex'] );
$query_add = " AND `Sex` = '$sex'";
} else {
$sex = "all";
$query_add = "";
}
$query_add .= ' AND (`Couple`=0 OR `Couple`>`ID`)';
$query = "
SELECT
`Profiles`.*
";
if ( $_GET['members_mode'] == 'online' or
$_GET['members_mode'] == 'rand' or
$_GET['members_mode'] == 'last' or
$_GET['members_mode'] == 'top' )
$mode = $_GET['members_mode'];
else
$mode = 'last';