2006-08-24, 09:43 AM
Hello all,
I would like to do a minor adjustment in the MemberProfile.
Since our site is alumni-site, users are never deleted. So I've created a special usergroup for deceased.
So when people look up members and they find a record of a person who is deceased, they will see in their usergroup and through the usergroup-image I've set up. However, also the birthdate and the calculation of the age goes on.....
Sooo...to make things easy....I would like to have the following logic:
if usergroup='17', $birthdate='' else $birthdate=mybb->user[birthdate]
or even hide the entire birthdate-line if the usergroup=17
whatever is the easiest..
can someone help me code this in the member.php
cheers,
kimmo
I would like to do a minor adjustment in the MemberProfile.
Since our site is alumni-site, users are never deleted. So I've created a special usergroup for deceased.
So when people look up members and they find a record of a person who is deceased, they will see in their usergroup and through the usergroup-image I've set up. However, also the birthdate and the calculation of the age goes on.....
Sooo...to make things easy....I would like to have the following logic:
if usergroup='17', $birthdate='' else $birthdate=mybb->user[birthdate]
or even hide the entire birthdate-line if the usergroup=17
whatever is the easiest..
can someone help me code this in the member.php
cheers,
kimmo