2013-08-03, 11:00 PM
2013-08-04, 10:31 AM
Hello Tyrone,
The way I would do this is by simply changing the usercp_avatar template, so that the page is disabled, thus stopping users from selecting avatars.
If you go to your ACP > Templates & Style > Templates > Your Theme > User Control Panel Templates > usercp_avatar
and replace everything with this (or something similar)
Then the UserCP options for uploading avatars will be gone. You can also remove the link to the avatars UserCP page by editing the usercp_nav_profile template, FINDING this line:
and removing it.
The way I would do this is by simply changing the usercp_avatar template, so that the page is disabled, thus stopping users from selecting avatars.
If you go to your ACP > Templates & Style > Templates > Your Theme > User Control Panel Templates > usercp_avatar
and replace everything with this (or something similar)
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->change_avatar}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
Sorry, avatars are disabled on this board.
</td>
</tr>
</table>
{$footer}
</body>
</html>
Then the UserCP options for uploading avatars will be gone. You can also remove the link to the avatars UserCP page by editing the usercp_nav_profile template, FINDING this line:
<div><a href="usercp.php?action=avatar" class="usercp_nav_item usercp_nav_avatar">{$lang->ucp_nav_change_avatar}</a></div>
and removing it.