Couple profiles not shown on homepage

Couple profiles are not shown on member block nor in featured member block.

I look I check I try, but no success!

Does anyone now!?

Diddy is not greedy and has time. Dolphin is cool and its not just mine :-)
Quote · 17 Jan 2010

no one else has this issue or knows a solution?

Diddy is not greedy and has time. Dolphin is cool and its not just mine :-)
Quote · 18 Jan 2010

Hi mate. I spent hours looking into it and I couldn't get anywhere. You're best telling your agent and get them to find the issue.

Regards

Ped

PS if you get a solution post it lol

Quote · 18 Jan 2010

I wait a few more days then I will let my agent now :-)

Diddy is not greedy and has time. Dolphin is cool and its not just mine :-)
Quote · 18 Jan 2010

Do make sure you have couples enabled.  Check that by going into admin>settings>advanced settings>profiles and checking the box next to Enable Global Couples.  Ours couple profiles work fine in showing up (all other issues with couple profiles are a different subject)

Quote · 18 Jan 2010

it is enabled.

What I did now was uncheck it and enable it again. Cleared my cache, but still the same :-(

Diddy is not greedy and has time. Dolphin is cool and its not just mine :-)
Quote · 19 Jan 2010

this problem still remains...

did anyone figured it out yet???

Quote · 15 May 2010

Hace anyone solved this problem yet?

Quote · 14 Jun 2010

Hace anyone solved this problem yet?

Quote · 14 Jun 2010

couples profiles are in the memberblock on the homepage, but they are situated at the end.

go to your last page in the memberblock. You'll find them there.

first are shown all the singlesprofiles and second the couples.

didn't figure out yet how to get them mixed.

Quote · 14 Jun 2010

Have anyone figures out how to mix couple and single yet? :)

Quote · 27 Jun 2010

wow, this really seem to be very difficult or so easy no one bothers!

Diddy is not greedy and has time. Dolphin is cool and its not just mine :-)
Quote · 18 Sep 2010

Sorry. Never saw this post or would have answered it sooner.

Edit templates/base/scripts/BxBaseIndexPageView.php

At about line 328 look for the following.

foreach( $aModes as $sMyMode ) {
switch ($sMyMode) {
case 'online':
if ($sMode == $sMyMode) {
$sqlCondition .= " AND `Profiles`.`DateLastNav` > SUBDATE(NOW(), INTERVAL ".$iOnlineTime." MINUTE)";
$sqlOrder = " ORDER BY `Profiles`.`Couple` ASC";
}
$sModeTitle = _t('_Online');
break;
case 'last':
if ($sMode == $sMyMode)
$sqlOrder = " ORDER BY `Profiles`.`Couple` ASC, `Profiles`.`DateReg` DESC";
$sModeTitle = _t('_Latest');
break;
case 'top':
if ($sMode == $sMyMode) {
$oVotingView = new BxTemplVotingView ('profile', 0, 0);
$aSql        = $oVotingView->getSqlParts('`Profiles`', '`ID`');
$sqlOrder    = $oVotingView->isEnabled() ? " ORDER BY `Profiles`.`Couple` ASC, (`pr_rating_sum`/`pr_rating_count`) DESC, `pr_rating_count` DESC, `Profiles`.`DateReg` DESC" : $sqlOrder;
$sqlMainFields .= $aSql['fields'];
$sqlLJoin    = $aSql['join'];
$sqlCondition .= " AND `pr_rating_count` > 1";
}  
$sModeTitle = _t('_Top');
break;
}
$aDBTopMenu[$sModeTitle] = array('href' => "{$_SERVER['PHP_SELF']}?{$sBlockName}Mode=$sMyMode", 'dynamic' => true, 'active' => ( $sMyMode == $sMode ));
}


And replace with this.

foreach( $aModes as $sMyMode ) {
switch ($sMyMode) {
case 'online':
if ($sMode == $sMyMode) {
$sqlCondition .= " AND `Profiles`.`DateLastNav` > SUBDATE(NOW(), INTERVAL ".$iOnlineTime." MINUTE)";
$sqlOrder = "";
}
$sModeTitle = _t('_Online');
break;
case 'last':
if ($sMode == $sMyMode)
$sqlOrder = " ORDER BY `Profiles`.`DateReg` DESC";
$sModeTitle = _t('_Latest');
break;
case 'top':
if ($sMode == $sMyMode) {
$oVotingView = new BxTemplVotingView ('profile', 0, 0);
$aSql        = $oVotingView->getSqlParts('`Profiles`', '`ID`');
$sqlOrder    = $oVotingView->isEnabled() ? " ORDER BY (`pr_rating_sum`/`pr_rating_count`) DESC, `pr_rating_count` DESC, `Profiles`.`DateReg` DESC" : $sqlOrder;
$sqlMainFields .= $aSql['fields'];
$sqlLJoin    = $aSql['join'];
$sqlCondition .= " AND `pr_rating_count` > 1";
}  
$sModeTitle = _t('_Top');
break;
}
$aDBTopMenu[$sModeTitle] = array('href' => "{$_SERVER['PHP_SELF']}?{$sBlockName}Mode=$sMyMode", 'dynamic' => true, 'active' => ( $sMyMode == $sMode ));
}


The lines that are to be changed show in red. The replacement lines in green.

Hopefully the posting to this forum did not strip anything out.

https://www.deanbassett.com
Quote · 18 Sep 2010

Thanks

Diddy is not greedy and has time. Dolphin is cool and its not just mine :-)
Quote · 18 Sep 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.