Jump to content

Remove date of birth from all members public profile


ssc

Recommended Posts

Posted

If there was a place in the ACP where I could hide different member profile fields for entire user groups that would be great. For privacy reasons I would really like a way to hide the age and date of birth from showing on each members profile page and I cant find a way to do this right now.

Posted

I don't think, you can do it for particular groups, but if you want to remove it altogether...

ACP>Look & Feel>your_skin>Templates tab>Profiles>profileModern

Delete, or comment out following section:

<dt>{$this->lang->words['m_age_prefix']}</dt>

					<if test="member_age:|:$member['_age'] > 0">

						<dd>{$member['_age']} {$this->lang->words['m_years_old']}</dd>

					<else />

						<dd>{$this->lang->words['m_age_unknown']}</dd>

					</if>

					<dt>{$this->lang->words['m_birthday_prefix']}</dt>

					<if test="member_birthday:|:$member['bday_day']">

						<!-- SKINNOTE: We should use the localized date formatting for this -->

						<dd>{$member['_bday_month']} {$member['bday_day']}<if test="member_bday_year:|:$member['bday_year']">, {$member['bday_year']}</if></dd>

					<else />

						<dd>{$this->lang->words['m_bday_unknown']}</dd>

					</if>
Posted

The year on the date of birth became optional in IPB 3. So it'll show someone's birthday without showing their age now (finally).

  • 10 months later...
Posted

Hello,

I would like to suggest to let members choose what they want to show:

Birth & Age
Age
Birth (has we have now with the optional year)

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...