Single Photo for Couples in /browse.php

This shouldn't be an impossible task, figure I'll throw it out here to you guys and then go get some sleep since it's 4 am here.  Need to adjust the browse.php page so that when a member search is done and there are couple profiles that come up, only the primary member's image shows and the secondary does not.  No image, no thumbnail.  Just the primary member's image so things stay nice and neat on the layout line up.

Thanks in advance guys.  Now I'm off to dreamland.

 

 

Quote · 19 Feb 2010

For those who want this trick to clean up your browse.php page and make it look crisper and cleaner.  Keeps the rows in a nice neat order count.

 

open  browse.php

locate:


 

if (isset($arr['Couple']) && $arr['Couple'] > 0) {
   $iMaxThumbWidth = getParam('max_thumb_width');
   $iNewWidth = 2 * ( $iMaxThumbWidth + 10 + 2 ) ;
   //$templ = str_replace ( "__ext_st__", 'style="width:' . $iNewWidth . 'px;"', $templ );
  } else {


Comment it out as follows:

 


/*if (isset($arr['Couple']) && $arr['Couple'] > 0) {
   $iMaxThumbWidth = getParam('max_thumb_width');
   $iNewWidth = 2 * ( $iMaxThumbWidth + 10 + 2 ) ;
   //$templ = str_replace ( "__ext_st__", 'style="width:' . $iNewWidth . 'px;"', $templ );
  } else*/ {

I knew I just had to dig for a moment.

Quote · 20 Feb 2010

Ok, I have done that, now whats the chance of finding out how to change the couples avatar to just a main profile pic instead of the split avatar?

(it has been my biggest headache,I keep looking and I know its there, just can't seem to find it)!

Derrick

and I am talking about for D-7, it looks like this is for D-6.1, sorry

Back to pulling my hair out! (ouch, ouch,ouch)
Quote · 11 Mar 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.