|
Change in the MemberProfile Request
|
|
08-24-2006, 09:43 AM
Post: #1
|
|||
|
|||
|
Change in the MemberProfile Request
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 |
|||
|
08-24-2006, 11:39 AM
Post: #2
|
|||
|
|||
|
RE: Change in the MemberProfile Request
Find.
PHP Code: if($memprofile['birthday']) PHP Code: if($memprofile['birthday'] && $memprofile['usergroup'] != 17) Should do it. |
|||
|
08-24-2006, 11:58 AM
Post: #3
|
|||
|
|||
|
RE: Change in the MemberProfile Request
indeed it did
thanks!
|
|||
|
08-24-2006, 12:00 PM
Post: #4
|
|||
|
|||
|
RE: Change in the MemberProfile Request
No problem, happy to help
|
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)
Search
Member List
Calendar
Help



