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.
cheers...
@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.