MyBB Community Forums

Full Version: How to delete users website option
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, Is there a way to get rid of the user website option that comes with mybb, also once the option is removed is there a query i can run in the database to delete all current ones.
Thanks.
Reece.
You can just go to their profile in the Mod CP and remove the text in the website field.
I personally would go into PhpMyAdmin, go into the table called mybb_profilefields or something like that and delete the website row. I'd remove all the users' websites and delete the ability to add one. I'd make a backup so later if you change your mind you can add it back.
Open the member_profile template, find and delete:
<tr>
<td class="trow1"><strong>{$lang->homepage}</strong></td>
<td class="trow1">{$website}</td>
</tr>

Open the usercp_profile template, find and delete:
<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>

Run this query in phpMyAdmin:
UPDATE mybb_users SET website = ''