MyBB Community Forums

Full Version: How to remove "website" from the profile fields?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I would like to entirely remove the option for adding a website to one's profile.

I do not wish to use a plugin and would rather edit the templates directly. Can you please inform me which templates need to be edited?
Go to your theme templates> Usercp Templates > Usercp_profile template

find this code :

<tr>
<td colspan="3"><span class="smalltext">{$lang->website_url}</span></td>
</tr>
<tr>
<td colspan="3"><input type="text" class="textbox" name="website" size="25" maxlength="75" value="{$user['website']}" /></td>
</tr>


remove it ...this should help you.Smile
Thank you, however this code removal only removes the option from the User CP.

Now where else must I edit in order for the website field to not be displayed on each profile?
Admin CP -> Templates & Style -> Templates -> *your theme templates* -> Member Templates -> member_profile

Delete this code:

<tr>
<td class="trow1"><strong>{$lang->homepage}</strong></td>
<td class="trow1">{$website}</td>
</tr>
Thank you both!