MyBB Community Forums

Full Version: Ban Gif avatars
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have done it before and currently have it working on a forum, but I'm working on another and can't remember how I achieved it many years ago.

Does anyone know how to stop members adding Gif / Animated avatars ?

Thank you.
Not sure this is best way - but you could prohibit the attachment type from being used as avatar.

ACP - Configuration - Edit Attachment Type - Avatar File.

If I remember right, does nothing for preexisting avatars, but will stop new ones with an upload failed message.

Have the same question regarding animated gifs in signatures. Wink

cheers...
You can try Paul H.'s theory: https://community.mybb.com/thread-95880.html
Seems like it should work right.
@nixer55's response should be the most appropriate with the latest MyBB versions were this attachment setting is present.
Thank you all very much. Yes I checked and nixer55's suggestion was how I had done it my old forum, but I've just tried on the new install I'm working on and got the following error.


SQL Error:
    1054 - Unknown column 'forcedownload' in 'field list'
Query:
    UPDATE mybb3y_attachtypes SET `name`='GIF Image', `mimetype`='image/gif', `extension`='gif', `maxsize`=500, `icon`='images/attachtypes/image.png', `enabled`=1, `forcedownload`=0, `groups`='-1', `forums`='-1', `avatarfile`=0 WHERE atid='4' 

Any ideas ?

Thank you.
Read https://community.mybb.com/thread-233247...pid1369876

Known problem, will be corrected in next release
(2021-08-17, 11:04 AM)Crazycat Wrote: [ -> ]Read https://community.mybb.com/thread-233247...pid1369876

Known problem, will be corrected in next release

Thank you, that sorted it.

Also thank you to the other replies.