Hide Attachments tab

  • Hello,


    I want to restrict the ability to attach files to certain user groups, I have reduced maximum number of attachments to 1 (zero is not possible) and reduced the max file size to 0 Byte and deleted all the extensions:




    With this configuration the user is still able to try to upload a file even if there's an error after that:




    But I'd like to hide the Attachments tab to those users in that user group, how can I do it?

    My styles and plugins in the Plugin-Store.

    ♪Quiero robarle los minutos a las horas pa' que mis padres nunca se me pongan viejos...♫

    • Official Post

    Have you considered simply revoking the permission to upload attachments to posts instead?

    Alexander Ebert
    Senior Developer WoltLab® GmbH

  • No, because I want to allow other user groups to upload attachments

    My styles and plugins in the Plugin-Store.

    ♪Quiero robarle los minutos a las horas pa' que mis padres nunca se me pongan viejos...♫

  • Solved. It wasn't the Everyone group but another group where the user was a member.

    My styles and plugins in the Plugin-Store.

    ♪Quiero robarle los minutos a las horas pa' que mis padres nunca se me pongan viejos...♫

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!