Notifications
Clear all

wpForo 1.x.x [Closed] Remove Someone's Avatar

4 Posts
2 Users
0 Reactions
1,600 Views
Posts: 56
Topic starter
(@glowball)
Trusted Member
Joined: 7 years ago

I have avatars working just fine except for one user.  The avatars that are working point to a folder of images on my server, and the one that isn't working is trying to load an image from Google Photos.  My guess is that Google Photos isn't allowing it, so it's a broken image.

I was thinking I could just remove the avatar, but it would be ideal if I could go grab the image and upload it for him.  Is that possible?

Thanks!

Topic Tags
3 Replies
Sofy
Posts: 4813
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi @glowball,

You should ask this user to download the image from Google Photos and upload it in My Profile > Accounts page

Please note: this button is only available for Usergroups who have “Can upload avatar” permissions in granted forum access.

1 Reply
(@glowball)
Joined: 7 years ago

Trusted Member
Posts: 56

Is there a way to programmatically block this type of thing from happening again?  Thanks!

Sofy
Posts: 4813
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi @glowball,

I suggest you hide the "Specify avatar by URL" filed using the following CSS code. The users will not be able to enter the URL. Add the code in Dashboard > Forums > Settings > Styles > "Custom CSS code" textarea. 

.wpf-field-wrap > ul > li:nth-child(2) {
display: none !important;
}