Thread Starter
serprj
(@serprj)
i guess i need extend function and install my own plugin, am I right?
Hey @serprj,
to change the folder name you would have to rename the variable “$upload_folder” in “forum-uploads.php”.
If you want I can create a filter for you to rename the name of the upload folder from your own plugin.
Thread Starter
serprj
(@serprj)
@qualmy91 , Hi, Dominik,
Before, I want to say THX for answer.
I know how to do this “hard”. But this isn’t really solution, in case of update everything will be overwritten.
I also found out that the function is declared privately in the class =(
Hey @serprj,
I’ve added a new filter to change the upload folder:
https://github.com/Asgaros/asgaros-forum/pull/305
I hope it will be part of the next update.
I would advise you to add the new filter manually by adding line 19 of includes/forum-uploads.php from my commit:
https://github.com/Asgaros/asgaros-forum/pull/305/commits/88c714378862f51c9cf7fd777fe2d46b1a25155b
In this commit is also the documentation on how to use this filter.
This way would allow you to make your settings in a separate plugin or child theme.
I will also set this thread to solved. If you still have questions, feel free to ask here or on a new topic.
Thread Starter
serprj
(@serprj)
Thanks a lot @qualmy91 ! )
Where can I see roadmap or something, when update will coming ?)
I’ll add this filter in further in mine function and will wait update )
upd:
[spoiler]Btw… i tried to send donate … do you have other options besides paypal , i mean something for europians? Im from RF and we dont use paypal here.[/spoiler]
-
This reply was modified 5 years, 4 months ago by
serprj.
Hey @serprj,
unfortunately, we don’t have a roadmap yet. Usually, Thomas (the owner of the plugin) was used to make an update every month, but he was super busy the last time.
I will let Thomas know that he should add another way to donate for the plugin.
If you just want to thank me for helping you: https://www.buymeacoffee.com/qualmy91
I accept credit cards π
Hello @serprj
The fix of @qualmy91 got merged into the dev-version and will be included in the upcoming update very soon!
Thread Starter
serprj
(@serprj)
Thanks a lot guys! Great job.
I have new thinks, I also changed it in source manually at this moment and will be glad if it will be default option in further )
@asgaros also, like I said upper, i want to support project,but ways what u used arent support in my country or not so popular and hardly to use anyway.
— upd: “If you just want to thank me for helping you: https://www.buymeacoffee.com/qualmy91” , hah , I see , ok )
Owh, da, also I didn’t find a way to limit the moderator’s rights in certain sub-forums and categories, I suppose this isn’t possible now? And will it be in further?
-
This reply was modified 5 years, 4 months ago by
serprj. Reason: upd