Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Changing uploaded file path

8 years 4 months ago #282465 by michalmediasphere
Changing uploaded file path was created by michalmediasphere
CB 2.0.14
Joomla 3.5.1

i need to change uploaded file (from registration)destination, now files are saved in images/comprofiler/plug_cbfilefield/[user_id]

i need to change it to images/abstract/[user_lastname]

where i can change it?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
8 years 4 months ago #282479 by krileon
Replied by krileon on topic Changing uploaded file path
You can't. The pathing is hardcoded into it. Why do you want to move the storage? There are no plans to implement support for different storage directory.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

8 years 4 months ago #282528 by michalmediasphere
Replied by michalmediasphere on topic Changing uploaded file path
i need to move storage because this is one of my client demands, i'm building conference registration page where users uploads abstracts, after closing registration organizers want to download (sftp) all abstract and they need to be in user last name folders.

Another question, how to change name styling from first name last name to last name first name, because in users managemet i need to sort via last name not first name in name field

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
8 years 4 months ago #282538 by krileon
Replied by krileon on topic Changing uploaded file path

i need to move storage because this is one of my client demands, i'm building conference registration page where users uploads abstracts, after closing registration organizers want to download (sftp) all abstract and they need to be in user last name folders.

That feature does not exist and there are no plans to implement such a feature, sorry.

The plugin needs a unique predictable path to store files on a per user basis and as it currently does that properly I can see no valid reason to change it. Name is not unique in any way so it is not reliable to use last name.

Another question, how to change name styling from first name last name to last name first name, because in users managemet i need to sort via last name not first name in name field

In user management you can't without altering core XML files. For frontend you can change how name displays with the Name Style and Name Format parameters in CB > Configuration > General.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

Moderators: beatnantkrileon
Powered by Kunena Forum