Official support hours: from 9 AM — 6 PM Monday to Friday (GMT +2).
The support staff may not reply on technical inquiries on weekends; all requests will be answered necessarily during working days. Reply time: depending on the complexity of your issue, the answer can be provided between a few hours up to 48 hours. In the particular instances we will notify you if extra time will be required to solve the issue.

×

Notice

The forum is in read only mode.

Ability to remove attachments button on Topic or Reply editor?

4 years 3 weeks ago #1111 by Bret Dellinger
Hi,
Is there a configuration to remove the attachments button from the editor? I've configured everything to Not allow attachments except to Administrators and set the file size to 0, but the button still shows. It does prevent uploading an attachment but the user doesn't know that until they try to submit the attachments.

If not configuration, is it a css override?

Thanks
4 years 3 weeks ago #1112 by Eugene S.
Hi Bret,

1. Try to follow this way:
Go to Site Administrator > Components > Kunena > Configuration > Uploads and find these params:

- Allow Image Uploads
- Allow File Uploads

Set them to Nobody.

2. If it will not help, there is a way to hide the button via the CSS.
You need to add a special rule to custom.less file. (
#kshow_attach_form {display: none;}

How to add custom styles

Like our extensions for Kunena?
Add your voice to the JED listing with a 100 score review: bit.ly/2cIg8pF
Thanks!
The following user(s) said Thank You: Bret Dellinger
Moderators: Eugene S.

Partners