Everithing works, the files are correctly uploaded in the determined folder, but the file name changes to a numerical string and I really don't know ho to fix this.
We just got the feedback from our colleagues and they have told us that we save attachments with a name that represents bookingId_randomToken, because the attachments are saved in wp-content/uploads which is a public folder and so that there couldn't be two files with the same name. The real name is remembered in the database in customer_bookings, under custom fields, like so:
Hello,
I have an issue with Custom Field - Attachment.
Everithing works, the files are correctly uploaded in the determined folder, but the file name changes to a numerical string and I really don't know ho to fix this.
Any ideas?
Kind Regards
Marco
Hello Marco,
We have forwarded your ticket to our level 2 agents and as soon as we get some feedback from them we will contact you immediately.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thank You.
I will wait for your response.
Kind Regards
Marco
Hello,
still no news from the level 2 agents?
Thanks
Marco
Hello Marco,
Our colleagues work on very complicated tickets and they work on them in the order in which they arrived.
As soon as we get some feedback from them we will contact you. Your patience is highly appreciated.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hello Marco,
We just got the feedback from our colleagues and they have told us that we save attachments with a name that represents bookingId_randomToken, because the attachments are saved in wp-content/uploads which is a public folder and so that there couldn't be two files with the same name. The real name is remembered in the database in customer_bookings, under custom fields, like so:
{"22": { "label":"Attachment","value": [{"name": name_of_uploaded_file , "fileName": given_name_with_random_token }] ,"type":"file"}}
22 is the id of the custom field and label is custom field's label.
If you have any more questions please open a new separate ticket for each question and we will gladly help you there.
We wish you all the best.
Have a nice day.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables