×
Kunena 5.1.18 Released (30 Jun 2020)

The Kunena team has announce the arrival of Kunena 5.1.18 [K 5.1.18] which is now available for download as a native Joomla extension for J! 3.9.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1.

× Topics must relate to a currently supported version of Kunena. If you are unsure what is the current supported version of Kunena, please go to the download page.

If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.

Question How to change an attachment folder?

More
7 months 1 week ago #1 by Igor_77
Hi!
I want to know how can I change the attachment folder?
I have read this stuff - www.kunena.org/forum/159-K-17-Common-Que...stom-image-directory
The reason I would like to do that - is to pay less for the images saving, I can mount one more disc to my server that cost lower price and to use it for attachments.
Is it possible to realize that?

Please Log in or Create an account to join the conversation.

More
3 months 4 days ago - 3 months 1 day ago #2 by gojeto
Hello, still no answers to that ? Have you even found a solution to it or not yet ?

________________________________________________________
SHAREit MX Player
Last edit: 3 months 1 day ago by gojeto.

Please Log in or Create an account to join the conversation.

More
3 months 3 days ago - 3 months 3 days ago #3 by 9themestore
@Igor_77, @gojeto,
The Kunena component does not support change the attachment folder path in the back-end. So you can change the folder path in the core files of Kunena component. I tested and it worked fine. Follow some bellow steps to change the attachment folder path.

- Step 1: Backup your site.
- Step 2: Open three files:
[root]/libraries\kunena\attachment\attachment.php
[root]/libraries\kunena\bbcode\bbcode.php
[root]/administrator\components\com_kunena\install\model.php

- Step 3: Replace the "/media/kunena/attachments/" path to your path. (example: /media/kunena/attachments2/).
- Step 4: Reload your site and try to add a file to your post.

Please do above steps on dev site before apply to the main site.

Best regards,

- Please provide your site url if it has been lived.
- Please share tip if it worked fine with you.
- Don't be shy about using the "Thanks" button below if you found my comment helpful :)
Last edit: 3 months 3 days ago by 9themestore.

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.098 seconds