I tried messing with profile.php and can't get the email to show. Any ideas?
// profile mod test
$display_profile_form_param = array(
array('text', 'username', $lang_register_php['username']),
array('text', 'reg_date', $lang_register_php['reg_date']),
array('text', 'group', $lang_register_php['group']),
array('text', 'email', $lang_register_php['email]),
array('text', 'user_profile1', $CONFIG['user_profile1_name']),
array('text', 'user_profile2', $CONFIG['user_profile2_name']),
array('text', 'user_profile3', $CONFIG['user_profile3_name']),
array('text', 'user_profile4', $CONFIG['user_profile4_name']),
array('text', 'user_profile6', $CONFIG['user_profile6_name']),
array('text', 'pic_count', $lang_register_php['pic_count']),
array('thumb', 'user_thumb'),
);
Showing user's email to public is not a good idea, that makes spam trouble for them
BTW here is your answer
You need to change default part of switch statement too
change this
$form_data = array('username' => $user_data['user_name'],
'reg_date' => localised_date($user_data['user_regdate'], $register_date_fmt),
'group' => $user_data['group_name'],
'user_profile1' => $user_data['user_profile1'],
'user_profile2' => $user_data['user_profile2'],
'user_profile3' => $user_data['user_profile3'],
'user_profile4' => $user_data['user_profile4'],
'user_profile5' => $user_data['user_profile5'],
'user_profile6' => bb_decode($user_data['user_profile6']),
'user_thumb' => $quick_jump,
'pic_count' => $pic_count,
);
with this
$form_data = array('username' => $user_data['user_name'],
'reg_date' => localised_date($user_data['user_regdate'], $register_date_fmt),
'group' => $user_data['group_name'],
'email' => $user_data['user_email'],
'user_profile1' => $user_data['user_profile1'],
'user_profile2' => $user_data['user_profile2'],
'user_profile3' => $user_data['user_profile3'],
'user_profile4' => $user_data['user_profile4'],
'user_profile5' => $user_data['user_profile5'],
'user_profile6' => bb_decode($user_data['user_profile6']),
'user_thumb' => $quick_jump,
'pic_count' => $pic_count,
);
I don't test this please confirm if it's working
Yes, it works. Thanks.
I am using Nibblers suggestion here as well.
http://forum.coppermine-gallery.net/index.php?topic=46130.0