MyBB Community Forums

Full Version: Set off "email" in the profile
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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. Wink
Ahan thanks Smile
Erm.. What's "Ahan" ?
(2011-01-06, 09:55 AM)Yaldaram Wrote: [ -> ]Erm.. What's "Ahan" ?

Ahan is like hmm or ok Smile
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&amp;uid={$memprofile['uid']}">{$lang->send_user_email}</a></td>
</tr>

Change to:
<tr>
<td class="trow2"> &nbsp; </td>
<td class="trow2"> &nbsp; </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.