Kunena / Kunena-Forum

Kunena Forum - Forum / Bulletin Board / Discussions component for Joomla - This is the 6.x/5.x main development branch. Please do not open issues regarding earlier versions of Kunena
https://www.kunena.org
GNU General Public License v3.0
1.75k stars 814 forks source link

Set attachment as private cannot be disabled #9683

Closed rich20 closed 1 month ago

rich20 commented 2 months ago

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 commented 1 month ago
  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_INSERTPRIVATEATTACHMENT . Bildschirmfoto vom 2024-05-06 12-18-22
xillibit commented 1 month ago

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

rich20 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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

rich20 commented 1 month ago

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