forum.coppermine-gallery.net
No Support => Feature requests => Topic started by: muellerfamily on July 21, 2004, 08:29:40 pm
-
Is it possible to allow a registered user to view the member list and see clickable email links for each user.
I want my users to be able to email each other ???
Thanks
-
Can a simple code be added to allow users to email each other???
Or can the member list be set up so that users emails can be clickable.
Thanks.
-
edit usermgr.php, find
$usr_link = '<a href="profile.php?uid=' . $user['user_id'] . '">' . $user['user_name'];
if ($user['pic_count']) {
$usr_link .= '</a> (<a href="thumbnails.php?album=lastupby&uid=' . $user['user_id'] . '">' . $lang_usermgr_php['latest_upload'] . '</a>)';
} else {
$usr_link .= '</a>';
}
Add after it$usr_email_link = '<a href="mailto:' . $user['user_email'] . '">' . $user['user_email']. '</a>';
Find<td class="tableb">$usr_link</td>
and replace with<td class="tableb">$usr_link $usr_email_link</td>
Haven't tested this, but I guess this is roughly what you want.
GauGau
-
GauGau,
Why not add this feature to the next release?
Regards,
tanfwc
-
Never!!! it will be a field day for all those email harvesters
-
Okay. I changed the code as mentioned above. It works great, but only for the admin.
How can I make it work for all logged in registered users???
Thanks
-
Never!!! it will be a field day for all those email harvesters
Ok. I understand.
-
Okay. I changed the code as mentioned above. It works great, but only for the admin.
How can I make it work for all logged in registered users???
Thanks
did you enable the meberlist in coppermine config?
GauGau
-
did you enable the meberlist in coppermine config?
GauGau
I checked and it is enabled. When I log in as the admin I can see the email links in the member list. When I log in as a registered user, they email addresses do not appear??
Any suggestions on how to get this to work for the users???
Thanks
-
please post a link to your page together with a test user account (non-admin).
GauGau
-
I had my test URL on here for a few days and never received a response. I removed it. I did not want just anyone going to my gallery. Can you help my fix this problem.
Again, it works for the admin, but not for registered users???
Do I need to modify some code in an additional place. Do I need to modify it in the theme I am using. I am currently using the Waterdrop theme on my gallery??/
Thanks
-
you'll have to edit usermgr.php then and find out what keeps the said modification from being displayed. As this is not a coppermine feature, but an additional modification you want for your page, you will have to find out the details. As this will never go into the coppermine core code, I won't look into this any further, sorry. You have to understand that there are lots of coppermine users requesting changes in their coppermine install. If the changes can be applied easily, we're ready to help. If not, you will have to code the modifications for yourself. Sorry.
GauGau