Forum Replies Created
-
AuthorPosts
-
June 10, 2025 at 11:18 PM in reply to: Fill MB CF group in user profile with n8n via API, fields remain empty #48427
Matthias Berndt
ParticipantHello Peter,
Thanks, but do you perhaps have any idea what the following data is supposed to do and why it only appears in the first entry of a data record entered via a user form and not via the API?
;s:6:"_state";s:8:"expanded";June 10, 2025 at 3:02 AM in reply to: Fill MB CF group in user profile with n8n via API, fields remain empty #48417Matthias Berndt
ParticipantThe first problem was the forgotten prefix for the field IDs within the group, which is why the data wasn't being output. Saving the groups wasn't configured, but saving the group elements was already configured, and the group was already set to User.
Now these entries are being accepted by the API and output in the profile.
The next problem I'm having is that further entries aren't being accepted via the API, or they're just overwriting the first ones instead of adding to them.
User-Custom-Fields:
https://pastebin.com/b3reqg4An8n JSON for HTTP-Request
https://pastebin.com/BqiEDmZRDatabase-Data:
https://pastebin.com/SrX0pPNhThe entries from the form contain the following data at the end of the first entry, which is no longer included in subsequent entries.
;s:6:"_state";s:8:"expanded";These aren't included in the API entries. Could this be the cause, or what am I doing wrong?
June 7, 2025 at 6:40 PM in reply to: Fill MB CF group in user profile with n8n via API, fields remain empty #48403Matthias Berndt
ParticipantHello Peter,
Sorry I couldn't reply sooner because I had to resolve another issue in the meantime, but unfortunately I haven't been able to restore the data entry (which I obviously corrupted during testing).
Currently, no data is being saved that I send from n8n to the WordPress site for the fields.
- REST-API-URL: https://domain.tld/wp-json/wp/v2/users/15/
- I didn't find the entry in the wp_usermeta, but in the wp_postmeta.
- https://pastebin.com/Y9GgQqDA (Here is the custom fields code.)
- https://pastebin.com/7DLw36Lg (The registration form is implemented with Bricksforge Pro Forms and the data to be entered is sent to n8n via webhook, as I have not yet found a way to save this data directly from a registration form in the user profile.)My goal is to ask the user, if any of the texts change later, to confirm these texts again and not to overwrite these confirmations, but to add to them, so that later on it is still possible to see which of the changes the user has accepted.
Thank you, Kind regards
MatthiasJune 6, 2025 at 2:39 AM in reply to: Extend MB User Registration Form in Bricks Builder with fields #48386Matthias Berndt
ParticipantHello Peter,
sorry, but I'm not nearly as deep into MetaBox yet, so I can't really use these instructions yet.
I also don't want to start with JavaScript, as I got my license hoping to be able to implement my plans without programming. I'm not exactly young anymore, so I can't keep up with programming as well as I should, as there's always something new being added.
June 5, 2025 at 12:58 AM in reply to: Extend MB User Registration Form in Bricks Builder with fields #48378Matthias Berndt
ParticipantI found out that I can completely expand the form with the ID, but I don't want to include all fields (date and text) and I would like to be able to define that the date field and the text field are automatically filled in via hidden fields or automatic processes.
-
AuthorPosts