MyBB Community Forums

Full Version: Impossible to Disable attachments and img code
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I've tried to disable img code and uploading attachments but it's not working. No matter what I set the permissions to, all users can upload files and use img code in their psots.
Ok, this should actually be in bug reports then.
Well I didn't know if it was a problem with my board or if it affected everyone's.
It should be here before we confirm it.

Are these permissions set per forum? Or are they set as the usergroup/forum permissions?
They were set per forum to not allow img tags.
I was able to edit permissions for user groups and prevent uploads but I still can't disable img tags.
usercp / board settings / user registration and profile options / "Allow img Code in Signatures" / No

and

usercp / board settings / Private Messaging / "Allow img code" / No

now, if you have disabled the img code via forum permissions, then your posts and forum will be image'less Smile
I've done all this and still users can post images.
I think I found the problem. In upload/inc/functions_post.php on line 76
if($allowimgcode)

should be

if($allowimgcode !="no")

Can somebody verify this? It seems to work. Oh btw, thanks for a great board Toungue
I think you need to take away the "!" or it might show up on your forum some where.
Pages: 1 2