Hello,
I want that no user can email any other user via the profile "send email to XYZ" and he cannot the email in the profile. so how to close the option of email, in the profile? kindly guide
regards,
Shoaib
Yes, possible with a plugin. I'll create this shortly.
whats this request , add an email button to the postbit ?
(2011-01-06, 04:57 AM)shoaib Wrote: [ -> ]Hello,
I want that no user can email any other user via the profile "send email to XYZ" and he cannot the email in the profile. so how to close the option of email, in the profile? kindly guide
regards,
Shoaib
You can do this by editing the template for each theme:
ACP > Templates&Style > Templates > select theme > Member Templates >
Edit Template: member_profile_email
Change from:
<tr>
<td class="trow2"><strong>{$lang->email}</strong></td>
<td class="trow2"><a href="member.php?action=emailuser&uid={$memprofile['uid']}">{$lang->send_user_email}</a></td>
</tr>
Change to:
<tr>
<td class="trow2"> </td>
<td class="trow2"> </td>
</tr>
This will put a space (blank) character in place of the email and will preserve the layout of the page and remove the email link.