Removing age on Emails

Hello all,

Let me start by saying that I have searched for how to do this in forums already, and even though I found several good answers, none of them make sense to me.

When receiving an email, the senders avatar is displayed in the top left hand corner with the persons age and city,country displayed next to it.

I would like to remove the age & country from being displayed there, but leave the city and add the state if possible. I need this for both inbox, and outbox as well as the others if they display it to.

thanks for your help in advance,

Mel

Quote · 19 Oct 2013

located in 3 spots in /templates/base/scripts/BxBaseMailBox.php

line 395:

$sMemberAge = ( isset($aMemberInfo['DateOfBirth']) && $aMemberInfo['DateOfBirth'] != "0000-00-00" )

                    ? _t( "_y/o", age($aMemberInfo['DateOfBirth']) )

                    : null;

line 789:

$sMemberAge         = ( isset($aProfileInfo['DateOfBirth']) && $aProfileInfo['DateOfBirth'] != "0000-00-00" )

                                ? _t( "_y/o", age($aProfileInfo['DateOfBirth']) )

                                : null;

line 1176:

$sMemberAge = ( $aProfileInfo['DateOfBirth'] != "0000-00-00" )

                            ? _t( "_y/o", age($aProfileInfo['DateOfBirth']) )

                            : null;

Comment out each line.

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 19 Oct 2013
 
 
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.