MyBB Community Forums

Full Version: remove avatar upload from computer documents
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi i just want this so i cant store there images sizes in my database .. i just want that if user will upload a avatar i want them to used a link from image hosting.. not the whole picture from there computer.
(2011-08-27, 06:18 AM)Jason L. Wrote: [ -> ]ACP > Templates> Your Theme > User Control Panel Tempaltes > usercp_avatar

Find and remove:
<tr>
<td class="trow1" width="40%"><strong>{$lang->avatar_upload}</strong></td>
<td class="trow1" width="60%">
<form enctype="multipart/form-data" action="usercp.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="file" name="avatarupload" size="25" class="fileupload" />
{$auto_resize}
</td>
</tr>
thanks bro