Forum Replies Created
-
AuthorPosts
-
synchro
ParticipantI send you the login credentials through the contact form. Thank you for help.
synchro
ParticipantI have Meta Box AIO 1.18.1 and when I update Meta Box to 5.6.16 I get the error upon form submission. All cache cleared. I am forced to roll back Meta Box to 5.6.14 to get the form going..
synchro
ParticipantOK, thanks.
December 12, 2022 at 4:56 PM in reply to: ✅How to remove Edit /Delete from upload field in frontend submission? #39708synchro
ParticipantOK, thanks. For files it was:
.rwmb-file-actions { display: none; }synchro
ParticipantThank you for your answer Long, I succeeded to return the file url 🙂 after like 2 hours of fight...
I learn with you a lot 🙂synchro
ParticipantAny updates? Is it possible it would come in any near future?
synchro
ParticipantThank you, I'm waiting for updates then 🙂
March 14, 2022 at 8:27 PM in reply to: ✅How to include field groups in email sent after form submission #34513synchro
ParticipantSorry for late reply. It works of course, thank you.
synchro
ParticipantThank you, the code provided in the last reply by vacdk worked great.
February 7, 2022 at 3:35 PM in reply to: ✅How to display attachemnts upload /modification date? #33697synchro
ParticipantThank you so much for help, Long. I had to make a couple of trials but eventually this is the code that worked for me:
{% set field = attribute( user, 'dodaj-dokumenty' ) %} {% for item in field %} <a href="{{ item.url }}">{{ item.name }}</a> {% endfor %} {% for item in field %} Data: {{ mb.get_the_date( 'd.m.Y g:i:s A', item.ID ) }} {% endfor %}Thank you again, really appreciated.
February 3, 2022 at 5:31 PM in reply to: ✅How to display attachemnts upload /modification date? #33634synchro
ParticipantThank you for your answer Long.
I tried inserting it into the view like this:{% set files = mb.rwmb_meta( 'dodaj-dokumenty', user ) %}
{% for file in files %}
{{ mb.get_the_date( 'd.m.Y' ) }}
{% endfor %}but I can't get it work.
I get an error whenever I try to modify the code and get the variables.And if I just insert it like this:
{% for item in field %}
{{ mb.get_the_date( 'd.m.Y' ) }}
{% endfor %}I obviously get the page publish date.
I would appreciate if you could help me further on this and get the code right.
synchro
ParticipantHa, magic 🙂 Thank you.
synchro
ParticipantSo I kind of know what I am doing wrong but I don't know how to fix it.
How to make those attachments being saved in the user profile instead of any CPT?synchro
ParticipantOK, so these are screenshots of my custom fields settings.
https://asia.41.pl/wp-content/uploads/2022/01/1.png
https://asia.41.pl/wp-content/uploads/2022/01/2.png
https://asia.41.pl/wp-content/uploads/2022/01/3.pngI created one field for file upload for users. So I test it and add that file as a user via the front-end form. And after submission I'd like that file to be displayed in the user account page. So I created a view to display that field and I inserted its shortcode into My Account template. But the file is not visible in the account. It is an entry in my CPT but not in the user profile. I thought if I enable custom fields location for users, the files will go to users profiles as well.
And if I edit the user profile as an admin from the backend, and upload the file via the form directly from there, it is visible in the frontend in My account.
I hope it's clear... 🙂
synchro
ParticipantOK, ignore point 2 , I got it 🙂
Just 3 I can't get it work.
-
AuthorPosts