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 :-) |
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 :-) |
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
|
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 :-) |
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) |
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 :-) |
this problem still remains...
did anyone figured it out yet???
|
Hace anyone solved this problem yet? |
Hace anyone solved this problem yet? |
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.
|
Have anyone figures out how to mix couple and single yet? :) |
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 :-) |
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 |
Thanks deano its working :-)
Diddy is not greedy and has time. Dolphin is cool and its not just mine :-) |