MyBB Community Forums

Full Version: Question about Profile picture plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm using Starpaul20's Profile picture plugin. Everything works fine, except one thing:

The possibilty to remove profile pictures "Remove users profile picture" in the ModCp (as shown in this picture)
[Image: 4041-1322325214-profilepic3.png]
is not appearing. There's no checkbox and no text.

What's going wrong?
The code was probably not added to the template. To fix it, just edit the template modcp_editprofile, find (near the top):

<tr>
<td colspan="3"><span class="smalltext"><label><input type="checkbox" class="checkbox" name="remove_avatar" value="1" /> {$lang->remove_avatar}</label></span></td>
</tr>

and add just below it:

<tr>
<td colspan="3"><span class="smalltext"><label><input type="checkbox" class="checkbox" name="remove_profilepic" value="1" /> {$lang->remove_profile_picture}</label></span></td>
</tr>
Thanks a lot Paul; it works! Great plugin by the way!
Do you adjust the original plugin as well so changes to the template are not necessary anymore?
http://mods.mybb.com/view/profile-pictures

I've made a dutch (NL) translation for this plugin; so if you're interested tell me where to send it.

Ger