MyBB Community Forums

Full Version: How do I disable remote avatar URL?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Someone used a remote avatar url to run an IP Logger. Is there a way to disable the ability to use a remote avatar to prevent further incidents?
(05-26-2016, 07:17 PM)Edgestra Wrote: [ -> ]Someone used a remote avatar url to run an IP Logger. Is there a way to disable the ability to use a remote avatar to prevent further incidents?

Do you mean gravatar? I dont think there is an option to remove that feature via Admin.

You can try removing this section from the usercp_avatar template

			<tr>
				<td class="trow2" width="40%">
					<strong>{$lang->avatar_url}</strong>
					<br /><span class="smalltext">{$lang->avatar_url_note}</span>
				</td>
				<td class="trow2" width="60%">
					<input type="text" class="textbox" name="avatarurl" size="45" value="{$avatarurl}" />
					<br /><span class="smalltext">{$lang->avatar_url_gravatar}</span>
				</td>
			</tr>
(05-26-2016, 07:40 PM)Ashley1 Wrote: [ -> ]
(05-26-2016, 07:17 PM)Edgestra Wrote: [ -> ]Someone used a remote avatar url to run an IP Logger. Is there a way to disable the ability to use a remote avatar to prevent further incidents?

Do you mean gravatar? I dont think there is an option to remove that feature via Admin.

You can try removing this section from the usercp_avatar template

			<tr>
				<td class="trow2" width="40%">
					<strong>{$lang->avatar_url}</strong>
					<br /><span class="smalltext">{$lang->avatar_url_note}</span>
				</td>
				<td class="trow2" width="60%">
					<input type="text" class="textbox" name="avatarurl" size="45" value="{$avatarurl}" />
					<br /><span class="smalltext">{$lang->avatar_url_gravatar}</span>
				</td>
			</tr>

The server will still be able to receive these values; currently it's possible to achieve with plugins or core edits.

There is a ticket on GitHub now so it should be implemented in one of the upcoming releases:
https://github.com/mybb/mybb/issues/2413