2011-06-16, 09:56 AM
2011-06-16, 10:24 AM
So you don't want users to upload a Custom Avatar? Should they only be able to choose one from the Local Avatar Galleries?
2011-06-16, 10:56 AM
(2011-06-16, 10:24 AM)faviouz Wrote: [ -> ]So you don't want users to upload a Custom Avatar? Should they only be able to choose one from the Local Avatar Galleries?
Yes. But there will only be one gallery.
2011-06-16, 12:19 PM
1. Go to Admin CP > Templates & Style > Templates > Your Template Set > User Control Panel Templates > usercp_avatar.
2. Find and delete:
2. Find and delete:
<tr>
<td class="tcat" colspan="2"><strong>{$lang->custom_avatar}</strong></td>
</tr>
<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>
<tr>
<td class="trow2" width="40%"><strong>{$lang->avatar_url}</strong></td>
<td class="trow2" width="60%"><input type="text" class="textbox" name="avatarurl" size="45" value="{$avatarurl}" /></td>
</tr>
</table>
<br />
<div align="center">
<input type="hidden" name="action" value="do_avatar" />
<input type="submit" class="button" name="submit" value="{$lang->change_avatar}" />
<input type="submit" class="button" name="remove" value="{$lang->remove_avatar}" />
</div>
</td>
</tr>