Kunena-Forum icon indicating copy to clipboard operation
Kunena-Forum copied to clipboard

Set attachment as private cannot be disabled

Open rich20 opened this issue 1 year ago • 1 comments

Describe the bug https://www.kunena.org/forum/76-Official-Announcements-and-News-about-Kunena/168408-kunena-6-3-0-stable-release-for-joomla-4-4-5-0#231253

You can disable private messages, but not private attachments. This should also be possible.

rich20 avatar May 01 '24 23:05 rich20

  1. This fix only removes the "Set all attachments as private" button, but not the "Set as Private" button. 2. Where does this code COM_KUNENA_EDITOR_INSERT_PRIVATE come from (see image)? Only this code is present in php as well ini files. COM_KUNENA_EDITOR_INSERT_PRIVATE_ATTACHMENT . Bildschirmfoto vom 2024-05-06 12-18-22

rich20 avatar May 06 '24 13:05 rich20

I had renammned the COM_KUNENA_EDITOR_INSERT_PRIVATE by COM_KUNENA_EDITOR_INSERT_PRIVATE_ATTACHMENT, i can't find in files the COM_KUNENA_EDITOR_INSERT_PRIVATE anymore

it seems that you haven't all the lastest changes

xillibit avatar May 06 '24 14:05 xillibit

it seems that you haven't all the lastest changes

No, I'm up to date. My ini file show this code: COM_KUNENA_EDITOR_INSERT_PRIVATE_ATTACHMENT I also can't find in files the COM_KUNENA_EDITOR_INSERT_PRIVATE. No idea where this code on the button comes from. . Bildschirmfoto vom 2024-05-06 12-18-22

rich20 avatar May 06 '24 18:05 rich20

Found it: kunena_media/core/js/upload.main.js:276: .html(Joomla.getOptions('com_kunena.icons.secure') + ' ' + Joomla.Text._('COM_KUNENA_EDITOR_INSERT_PRIVATE'))

rich20 avatar May 06 '24 18:05 rich20

Sorry, my mistake, the folder media i forgot to update

rich20 avatar May 06 '24 18:05 rich20

Sorry, my mistake, the folder media i forgot to update, can be closed

rich20 avatar May 06 '24 19:05 rich20