Change Block: featured members

Hello!

I would like to show under the profile picture, behind the name, the age of the user.

I've adapted the code already as follows:


$ret .= '<div class="featured_block_1">';
$ret .= get_member_thumbnail( $featured_arr['ID'], 'none' );

/* Start */
$ret .= '<center>';
$ret .= '<a href="' . getProfileLink( $featured_arr['ID'] ) . '">';
$ret .= process_line_output( $featured_arr['NickName'] );
$ret .= ", ";
/* Geburtsdatum in Alter umwandeln*/
$ret .= process_line_output( date("d.m.Y",strtotime( $featured_arr['DateOfBirth'] )));
$ret .= '</a>';
$ret .= '<br>';
$ret .= process_line_output( $featured_arr['Ortsteil'] );
$ret .= '<br>';
$ret .= process_line_output( $featured_arr['suche'] );
$ret .= '</center>';
/* Ende */
$ret .= '</div>';


How do I have to change the bolded line to show up the age instead of DayOfBirth?

By now I thank for every helpful answer.

Quote · 3 Nov 2008

Nobody an idea for it?

Quote · 5 Nov 2008

Age only,

$ret .= age( $featured_arr['DateOfBirth'] );

Quote · 5 Nov 2008

Excuse, how silly!

I promise improvement ;) Many thanks for your solution!!

Quote · 5 Nov 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.