Hide Age From Birthday List

Current Version: 2.0.2
Released: 2013-10-27
Forum rules
Before creating a new support thread, please take a look at the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
Chumbawamba
Active Member
Posts: 4
Joined: 22. January 2013 13:41
phpBB.com User: Chumbawamba

Hide Age From Birthday List

Post by Chumbawamba »

Your Portal Version: -
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Basic Knowledge

What have you done before the problem was there?
I'm using prime birthdate mod to hide age from users profiles but it still shows up in birthday announcements with boardportal Is there anywhere i can modify the age even if i just change it to 00. i've tried searching and searching and cannot find a solution any help would be appreciated.
Thanks


What have you already tryed to solve the problem?
Searching phpbb.com for solutions

Description and Message
please help
User avatar

archivar
Portal Professional
Posts: 1959
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: Hide Age From Birthday List

Post by archivar »

Search them in root / portal / modules / portal_birthday_list.php and remove this code:

Code: Select all

					if ($age = (int) substr($row['user_birthday'], -4))
					{
						$birthday_list .= ' (' . ($now['year'] - $age) . ')';
					}

Code: Select all

					if ($age = (int) substr($row['user_birthday'], -4))
					{
						$birthday_ahead_list .= ' (' . ($now['year'] - $age) . ')';
					}
V.G. archivar
sorry for my bad english

Topic author
Chumbawamba
Active Member
Posts: 4
Joined: 22. January 2013 13:41
phpBB.com User: Chumbawamba

Re: Hide Age From Birthday List

Post by Chumbawamba »

Thanks did the trick.
Locked

Return to “Board3 Portal 2.0.x - English Support”