Second Profile Pic in Profiles

Can someone PLEASE tell me how to eliminate the second COUPLES pic from there profiles. I want the profiles to look just like the singles profiles with the exception of the couples information.

 

Thanks,

 

Glauco

 

www.comunidadeliberada.com.br

Quote · 21 Sep 2008
up
Quote · 22 Sep 2008

You should change this functional here :
inc/design.inc.php
function get_member_thumbnail

this is not hard.

try comment
if ($aSexSql['Couple'] > 0) {
case

... one question, why you just not close registration as couple? :) it will more simple way for you

Quote · 23 Sep 2008
is not simple I have to keep the data of the couple, husband and wife but the area of picture, only one previous table
Quote · 23 Sep 2008

up

Quote · 23 Sep 2008

Forum Rules ..... 

11. You may not bump threads. Bumping refers to posting useless information or any other action to deliberately keep a thread hot or to bring it to the top of the forum.


HOW TO SEARCH AND NOTE FOR NEW MEMBERS IN THE FORUMS .....

.

Quote · 23 Sep 2008

Up, recheck my post above.

I tell you exact code place.

and all ways to resolve its.

Quote · 24 Sep 2008
up, thank you very much let's wait....
Quote · 25 Sep 2008

Repeat:

inc/design.inc.php
function get_member_thumbnail  (line 726)

Find here
if ($aSexSql['Couple'] > 0) {

put

{

before this line

a little above find this code:

if( extFileExists( $oPhoto -> sMediaDir . 'thumb_' . $aFile['med_file'] ) )

put } before it

Save edited file, so now you commented code that generate second thumb for couple profiles.

Quote · 26 Sep 2008
Thank you very much So I have 1 questions: 1 - How to remove the second image of the profile ? It would be in the same place? thanks
Quote · 26 Sep 2008

UP

Quote · 27 Sep 2008

This is a simple change and requested always, boonex always makes it like it is a big deal, here - I reveal the mystery of removing the second profile picture block in 'profile view':

-

Open  /templates/base/scripts/BxBaseProfileView and find this code (around line 197)

function showBlockPhoto( $iCol, $bNoDB = false )
{
$iPID = 0;
if( $iCol == 1 ) {
$iPID = $this -> _iProfileID;
$sNickName = $this -> _aProfile['NickName'];
} elseif( $iCol == 2 ) {
if( !$this -> _aProfile['Couple'] )
return;

-

Change that code to this:

function showBlockPhoto( $iCol, $bNoDB = false )
{
$iPID = 0;
if( $iCol == 1 ) {
$iPID = $this -> _iProfileID;
$sNickName = $this -> _aProfile['NickName'];
} elseif( $iCol == 2 ) {return;}

-

Presto - all couple information still displays on profile page, but only one picture  Laughing

-

Enjoy,

Chris

www.convictionscommunity.com

Quote · 27 Sep 2008
thank you very much...
Quote · 27 Sep 2008
 
 
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.