Remote avatar
#1
Is there any way to disable Remote avatar
#2
Template Modification:
Admin CP --> Templates --> Modify / Delete --> Expand your template set --> User CP Templates --> usercp_avatar
Find and remove:
<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>

Code Modification
In usercp.php:

Find:
        else // remote avatar 
        { 

After that, add:
error("Remote avatars disabled");



You can choose to do either one of the modifications, or both, to disable remote avatars for all users. (Administrators will still be able to specify an avatar URL through the Admin CP).
Dennis Tsang
Former MyBB Team Member
Web: http://dennistt.net
#3
Thank you DennisTT


Forum Jump:


Users browsing this thread: 1 Guest(s)