Putting names under pictures in members block

This one is really stupid, because I have already done it and can't remember how!  I want to put a field I have defined called "full_name" under the member pictures instead of the NickName field.  I guess I am getting dementia a bit early because I already did it here.

Now, for the life of me I can't remember how I did it.  I've been writing down every change I make to the source files but somehow forgot with this one.  All I remember is that I saw some fields that had 'NickName' and thought "oh there that is!"  and replaced it with 'full_name' and it worked exactly the way I wanted.  Sammie and okweb have already taken a shot at this- does anyone else know?  I want to make that same change on another site.

Rob

Quote · 29 Aug 2008

Your link is not valid?
.

Quote · 29 Aug 2008

http://www.caltrade.com/members

Quote · 29 Aug 2008

inc/members.inc.php

 

// Template customizations

// profile Nick/Age/Sex etc.

$nick = '<a href="' . getProfileLink( $p_arr['ID'] ) . '">' . $p_arr['NickName'] . '</a>';

You do it here

okweb

Quote · 29 Aug 2008

Yes, that is it.  Thanks a bunch okweb.

Rob

Quote · 30 Aug 2008

Actually, one more question about this.  Right below that code in members.inc.php is code you need to comment out to get rid of the sex/age/country box on the search form- or so I thought.

//        $age_str = ($p_arr['DateOfBirth'] != "0000-00-00" ? (_t("_y/o", age( $p_arr['DateOfBirth'] )) .' ') : "");
//        $age_only = ($p_arr['DateOfBirth'] != "0000-00-00" ? ( age( $p_arr['DateOfBirth'] )) : "");
//        $y_o_sex = $age_str . _t("_".$p_arr['Sex']);

I did this and the age/sex box did disappear from the simple search, but it is still on the "all members search" (browse members).  How do I get rid of it there?

Rob

Quote · 30 Aug 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.