471 comments found.
Hi there,
I am trying to send my userprofile fields to to Mailchimp. All fields are send correctly to Mailchimp. I use the Wordpress User Extra Fields for 1 extra field. It works fine with simple fields. But when I use a radio button or checkbox field the data is not being send correctly to Mailchimp.
The guys from Mailchimp for Wordpress (the plugin that send the data to Mailchimp) have solved the issue by synchning the right output of the field now. But a new error came up. This is what they said:
“It looks like the update actually worked perfectly, so that’s good. Sadly, a new issue popped-up now that the field is being sent to MailChimp.
The error message indicates that you have a field named BEZORGMOM in Mailchimp that accepts one of these values: Dinsdagochtend (10:00-12:00), Dinsdagmiddag (12:00-16:00), Dinsdagavond (18:00-20:00)
Please note that it has to be exactly one (and not more) of these values and the text must also be an exact match. It looks like your users have the option to either select a value that is not one of those listed or to select more than one of these values, therefore Mailchimp is refusing the entire submission.”
If I check my user data, all of them made 1 choice when checking the radio button field, which is obvious, because you cannot choose more than 1.
How can the output be more than 1, anyway? Could you please find out what’s happing?
Thanks in advance.
Babette
Hi,
I’m sorry but I have no clue on what you are asking 
I do not know how the customization that you are using to implement the Mailchimp support has been designed, so I do not know what could be the cause of the issue. Furthermore, I cannot give you assistance for customization implemented by 3rd parties 
$result = wpuef_get_field($field_id, $user_id);
In the case of radio/checkbox, that value is the index of the selected option. Please refer to the reply I left to the other comment of yours in which I explain how to retrieve that field index and eventually the label associated: https://www.dropbox.com/s/lrblbsof24m8mu9/wpuef_checkbox.png?dl=0
Once done, make sure that the customization you implemented is properly retrieving the value from that field.
We had the extra user fields up and running on our site and then switched themes. Now all that is showing is the Login. No registration option at all. Help?
Hi,
without any further clue it is quite hard to determine the casue. It could be due to a theme issue or the fact it is not properly triggering the needed wordpress actions used by the plugin to hook and injects its data.
Please make eventually sure you are running the latest 14.1 plugin version. You can manually download the new version via CodeCanyon or receive as an automatic update by installing and configuring the Envato updater plugin: https://goo.gl/pkJS33 (here the guide that explains how to configure: https://envato.com/market-plugin/ ). To manually update just deactivate and delete the old plugin version and then install the new one. Don’t worry you won’t lose any data.
For further help, you need to renew your support license.
Hi, i would like ti know how can i automatically trim a user input text using your plugin. Thank you very much. Kind regards, Guilhem
I’m sorry, but unfortuantely the plugin doesn’t offer such a feature 
Hi, I’ve a pre-purchase question: I need to have some profile fields that users can’t edit, only admin can do it. I need it for create a search form. I hope I’ve explain well. Could your plugin do something like it? Thank you!
Hi,
yes, you can create fields that can be edited only by the admin, but the plugin doesn’t offer any search feature on those fields.
However, the plugin has a demo site where you can fully test its feature in order to be sure it actually fits your needs and expectations. In case of further info, feel free to ask!
Thank you very much. I don’t need if your plugin doesn’t offer search feature, for search feature I have find anther plugin, so I would to use your plugin to create field and other to create search form. Thank you!
Hi,
I am using woocommerce box office and user extra field.
On the ticket page, there is a ‘who bought?’ link which does not return any result.
I created an event, I bough tickets to this event but when checking on the product page who bought, there is no one listed. Empty list.
I am talking about the product page / Product Data / General / “who bought?”
Thank you.
Hi,
the “who bought” feature is related to the WooCommerce Customers Manager plugin.
That features however has been designed to work with standard WooCommerce product types. Using a custom product type (like a “ticket” / “events”) may prevent that particular plugin feature to properly work.
Hi,
I have bought you wonderful plugin. And i have a question about merging my radiobutton field to MailChimp. I keep getting this error:
Bad Request. Invalid Resource. Your merge fields were invalid. – BEZORGM : Value must be one of: Dinsdagochtend 10.00-12.00u, Dinsdagmiddag 12.00-16.00u, Dinsdagavond 18.00-21.00u (not 2) Request: PATCH https://us20.api.mailchimp.com/3.0/lists/3e1649fba6/members/3243d516ceab61b5cd53332e5110cd6d – Response: 400 Bad Request – {type Resource”,status merge fields were invalid.”,instance must be one of: Dinsdagochtend 10.00-12.00u, Dinsdagmiddag 12.00-16.00u, Dinsdagavond 18.00-21.00u (not 2)”}]}
It seems that the output is reading “2” in stead of my one of my 3 options: Dinsdagochtend 10.00-12.00u, Dinsdagmiddag 12.00-16.00u or Dinsdagavond 18:00-21.00u.
The radio button field in Mailchimp is exactly the same as my extra field and “not required” (as recommended).
Could you please advise?
Kind regards,
Babette Gunning
Hi Babette,
What do you mean with “merging” radio button field to MailChimp?
Note that the plugin hasn’t any support for MailChimp plugin. Could you provide a more detailed description of the actions you performed to “merge” those fields?
Thank you.
Hi,
Thanks for the quick reply. By merging I mean synchronising the field to Mailchimp. Your plugin works fine with simple fields. But when I use a radio button or checkbox field the data is not being send correctly to Mailchimp. I use the WP Fusion plugin or the Mailchimp for Wordpress user synch plugin to send data from WP to Mailchimp and they both give the same error message. BEZORGM: Value must be one of: Dinsdagochtend 10.00-12.00u, Dinsdagmiddag 12.00-16.00u, Dinsdagavond 18.00-21.00u (not 2)”
"Error while updating meta data: Invalid Resource: Your merge fields were invalid.
It seems that instead of sending the field value it is send “1” or “2”.
Maby you know a code to add to make sure the fields output is sends/synchronizes the radio button field correctly to Mailchimp.
Regards,
Babette
Unfortunately, I have no clue on how the WP Fusion/Mailchimp are performing the “merging” operation, you should ask those support teams.
Most likely however it depends on how the Extra Fields plugin stores the selected value for radio and check fields.The value is the “index” of the selected option. For example, if you have a radio/check list as follows:
- Option 1 -> index 0
- Option 2 -> index 1
- Option 3 -> index 2
Make sense? Could be this the cause of the merging issue?
If you want to get the option name for the selected value, you can use the following code snippet:$result = wpuef_get_field($field_id, $user_id]); $option_name = $result->field_options->options[$result->value];$option_name holds the option name, the $user_id and $field_id are the field id and the user id for which you wish to retrieve the field value.
Thanks for your reply! I wil use this information to ask for Mailchimp for Woocommerce for help. Kind regards, Babette
You’re welcome!!
At last but not least, If you enjoyed my efforts to assist you and/or my plugin please consider leaving the 5 stars, I would really appreciate! 
(to leave a rating: go to your profile page, click on “Downloads” and from there you can rate to your purchases).
Have a great day!!! 
I’m looking for a plugin where I can add custom fields to a Wordpress / User Profile, and with shortcode be able to drag them forward for the logged in user to create a size, or, personal fit profile – is this something your Plugin will allow me to do?
I’m sorry but the plugin hasn’t such a feature 
Hello, are there any way to not to echo the wpuef_description span on the front-end when it is empty at the back-end? Why: I wanted to add “i” icon before the wpuef_description span but it seems the wpuef_description span field always visible even it is empty.
you can customize the output by modifing the files you find in the templates folders.
For example, if you want to modify fields shown in the register form, edit the any_register_form.php file.
The description is prited at the bottom of any template, look for the:
<?php //Description
if( isset($extra_field->field_options->description)): ?>
<span class="description wpuef_description"> <?php echo $extra_field->field_options->description; ?></span>
<?php endif; ?>
snippet.
Ciao,
senza maggiori dettagli è difficile stabilire la causa e quindi suggeriti un metodo per risolvere.
- tuo indirizzo email
- accesso admin all’area wp-admin
- accesso FTP
- link alla pagina dove posso verificare l’errore
Hello, are there any way to show/hide fields based on a conditional (logic)? Thanks.
I’m sorry but the plugin is not designed for that 
Ok 
Hi! It seems that users cannot update their user profiles. When you change a field and save your profile it’s not updates when you check the profile afterwords.
Hopefully you can advise!
Regards, Babette
Hi Babette,
unfortunately, without any further clue, it is quite hard to determine the cause.
I’ve performed several tests, and the user extra field data is properly saved and loaded in the My Account -> Account details page.
Could you use the demo site:https://www.codecanyon.eu/wpuef/wp-admin
user: demo
pass: demo
to recreate your scenario and report me if you still experience the issue?
If not, could you try to disable all the 3rd party plugins, make sure you are running the latest 14.1 plugin version and report me if you still experience the issue?
I have a issue with extra field. First issue is that the field repeat the same value on the each new order that one single user/customer makes. The second issue is that on User Orders tab the extra field shows as editable, despite the fact that I marked it as not editable. Can you help?
- What do you mean that the field repeat the same value on each new order? could you provide a more detaild description of the issue and the configuration you are using?
- User order tab you mean the admin order edit page? In that case, the admin will always be able to edit it. Edit funcion can be disabled only for customers
1. Yes, the same value set for the first order repeats each time current user created new order. 2. I mean user tab in his My account page on the front end.
How do I send you print screen of the field configuration?
- Have you enabled the option to copy the usermeta into ordermeta? If so, the current user value will be always copied into the order meta
- Are you accessing the My account page via and admin account? If so it will be always editable even the edit option has been disabled
You can share the configuration screen here or send me a private message (click on my name then use the low-right box) reporting your email. I’ll reply with mine where you can send the screen.
Make also sure you are running the latest 14.1 plugin version.
Ok, I sent you private message with more details.
Got it, check your inbox.
Hi, I’m having some issues with the plugin – there’s some shortcodes which aren’t displaying at all (dates and names), and when customers change user fields in the my account section it’s not updating the database. Can you help?
Hi,
yes but without any further clue, it is quite hard to determine the cause. Few questions:
For what concerns the shortcode, are you sure that the field content you are trying to display is not empty? Make also sure to be using the right double quote character to pass the id parameter. If you copy and paste the example from the description page, the double quote character is not correct.
For what concerns the field update, could you try disabling the other 3rd party plugins to see if you still experience the issue? Have you altered in any way the my account management?
We’re running Super Forms and the Registration Add-on, and have assigned all of the correct fields to User Extra Fields – all of the text fields register fine, but dates, times and radio buttons don’t work properly
What do you mean that you have assigned all the correct fields to the User Extra Fields? note that the plugin hasn’t any support for those 3rd party plugin.
Are you saving data from those plugin into the User Extra Field metadata? if so, could it be that you inserted the wrong values? note that for example the date fields requires that the saved value must have the following format yyyy/mm/dd. If not, the plugin won’t be able to properly display it.
times format is HH:i and for radio input, you must save the index of the selected option.
Thanks for this info. Managed to get the date and time to work.
Can you please elaborate on what you mean by “save the index” for the radio buttons.
For example I have the field name and metakey set like this field_1|wpuef_cid_c102 for the id of the radio field but what would I need to add to this to show the different radio options. Lets say the options were Yes or No?
You’re welcome
Currently, the plugin stores in the user profile the index of the selected option. This is the field “value.For example, if you have a radio/check list as follows:
- Option 1 -> index 0
- Option 2 -> index 1
- Option 3 -> index 2
$result = wpuef_get_field($field_id, $user_id]); $option_name = $result->field_options->options[$result->value];where $field_id is the field id and $user_id the user id.
If you want to retrieve all the available options, use the follwing:
$result = wpuef_get_field($field_id, $user_id]); $option_names = $result->field_options->options[];$option_names will hold an array containing the option names.
Hi, is it possible to make a check box with hierarchy support, like as post category?
Hi,
I’m sorry but unfortuantely it is not possible 
Hi there,
I have purchased the plugin for my client. Very happy with it. Do have one question.
How do I add the correct snippet in my admin email for showing a customers profile update?
I have 3 extra fields all of the are ‘radio’ fields.
Could you please advice how to add the right code?
Kind regards,
Babette
Hi Babette,
I’m glad you appreciate it.
What do you mean with “showing a customer profile update”? Note that the plugin hasn’t any particular feature to notify the admin in case any user updated any of the extra fields.
However, to read field data, you can use the following snippet:$result = wpuef_get_field($field_id, $user_id); $value = $result->value; $value_label = $result->field_options[$value]->label;where the $field_id is the id of the field you wish to retrieve the data (for example, ‘c13’). $user_id the is of the user.
$value is the index of the selected option by the user, the $value_labe isl the label of that index.
Thanks for your quick reply!
To be more specific: I am adding a function snippet to create an admin notification when a customer has changed his customer profile.
The code works, but I want to include the extra fields. So my client nows which fields are changed.
The snippet I use is this one:function user_profile_update( $user_id ) { $site_url = get_bloginfo(‘wpurl’); $user_info = get_userdata( $user_id ); $to = $user_info->admin_email; $subject = “Profile Updated: ”.$site_url.””;
// get the user data into an object $user = get_userdata( $user_id ); // get the site administrator’s email address $admin_email = get_option( ‘admin_email’ ); // the email body $message = sprintf( __( ‘This user has updated their profile on your site: %s’ ), get_option(‘blogname’) ) . ”\r\n\r\n”; $message .= sprintf( __( ‘Display Name: %s’ ), $user->display_name ). ”\r\n\r\n”; $message .= sprintf( __( ‘Username: %s’ ), $user->user_login ). ”\r\n\r\n”; $message .= sprintf( __( ‘Email: %s’ ), $user->user_email );
// send the email wp_mail( $admin_email, sprintf( __( ‘[%s] User Updated a Profile’ ), get_option(‘blogname’) ), $message );
} add_action( ‘profile_update’, ‘user_profile_update’, 10, 2);
So now I want to add the 3 extra fields. Could you please advice me on how to include them into the .php code?
Thanks you so much in advance!
$result = wpuef_get_field($field_id, $user_id); $value = $result->value; $value_label = $result->field_options[$value]->label; //This is useful in case the field is a radio or a select field. The $value is the idex the user selected used to retrieve the label used for it
The wpuef_get_field allows you to retrieve the field content of the $user_id user. That function will return an object that contains the value selected by the user + all the field metadata (like the labels used for select or radio option indexes).
In the plugin description page, under the Retrieve And Save Fields Data Programmatically paragraph you find more details about that function.
Hi! One last question. When I add the code in the snippet above. Nothing shows. Do you have any idea where to add the code so the profile update admin email will show the changed profile with extra fields? Regards, Babette
I’m sorry, but unfortunately I have no clue 
try eventually make some debug by printing via a var_dump on the email the value of the returned $result, then the value of the $result->value and at last the $result->field_options[$value]->label;
To see what it returns.
Hi,
I’m using your User Extra Fields plug-in together with WooCommerce Membership, Bookings, and Subscription. On my site, I sell event tickets and membership subscriptions. Only customers who purchase a membership will have to create an account. Customers who only book events, don’t need to create an account.
To achieve above, I enable Woo Guest Checkout in Woo Settings (so that customers who only book events don’t need to create account). If customer buys membership, Woo Membership overrides guest checkout and ask customer to provide username and password during checkout screen. I want to use your plug in to get additional info during check out (when customer buys membership), but I can’t seem to get the extra fields to display.
Please help!
Hi,
to display fields on checkout page, just enable the special option while configuring the field: https://www.dropbox.com/s/0q4q61orxv1l6zm/wpuef_checkout.jpg?dl=0
Note however that the plugin is designed to work with default Checkout form and hasn’t any specific support for those plugins. If they are altering in any way the Checkout form, it may not work as expected.
Hi, I did what you had suggested but the form does not show, perhaps because the guest checkout setting is on. Is there a way for me to display the extra fields, even if the guest checkout setting is turned on?
I’m sorry, but it is not possible. As reported in the plugin description page, user extra fields associate extra fields to the registered user profile. Guest users have not any profile, so extra field content cannot be associated with any profile, this is why fields are not displayed in case the user is not performing the login.
Disable the guest checkout settings, and extra fields will be properly shown on the checkout form.
Hello, How do I restrict extra fields from showing on customer account page?
Hi,
while configuring a field, under the WooCommerce Options area, check/uncheck the special options according to your needs: https://www.dropbox.com/s/ig073nhq7flm662/wpuef_visibility.jpg?dl=0
Yes. But even if I do not check the options, extra field appear. Its like they do not recognize the change. 
For example, if I want to replace billing first name, I get that same extra field duplicated on the customer account page
What do you mean that you want to replace billing first name? Note that the plugin hasn’t any feature to replace default fields, it can only eventually overwrite their value according the value set through an extra field.
Have you altered in any way the My account pages? Could you use the demo site:https://www.codecanyon.eu/wpuef/wp-admin/
user: demo
pass: demo
to replicate your scenario and report me a step by step guide on how to experience the issue?
Thank you.
The problem is that in this demo you shared WooCommerce Customers Manager is not installed. This is where I get the problem.
So you are referring to the WooCommerce Customers Manager user details page, not the Frontend customer account pages?
Could you share a screenshot showing the issue? Note however that in the user details page, user extra fields are reported in the Extra fields area and cannot be hidden.
I’m sorry, but unfortuantely there isn’t any option to hide that section. If you wish to hide.
If you wish to hide, edit the WCCM_CustomerDetails.php file located in the classes\com folder iniside the WooCommerce Customers Manager directory and remove from line 226 to 232.
Ok, thanks
Logs says that the last version is 14.1, but I downloaded the package and it is version 14.0. I need to update.
Thank you for reporting, I’ve just republished the 14.1! It shold work, let me know! 
Hi, still 14.0 in the package.
Can you send me by email please? I have an issue in my site and I need to update your plugin.
Retry now! (unfortuantely the CodeCanyon update systems take a while to publish new updates!)
Hello, first of all, this is great plugin. Thank you for your efforts. I have some questions for you. I hope you can help me through
- Can you tell me how can we display the file name (if the field is file type) above the Download / View button? - Is it possible to use a PDF icon (or custom image) for preview pdf files? - And is it possible to hide “wpuef_file_uploader_container” if the filed has already a meta value?
Thanks.
Thank you for your appreciation
please also consider leaving the 5 stars, I would really appreciate! 
(to leave a rating: go to your profile page, click on “Downloads” and from there you can rate to your purchases).
- To do that, you have to customize the templates (according to where you are displaying the file) you find inside the templates folder. For example, if you are displaying my account page, edit the woocommerce_my_account.php file. The extra field file type is managed at line 163. In that line is displayed the button you are referring. You can extract the file name from the $field_value[“url”] that holds the download URL
- You could, just check the file type for the $field_value[“url”] URL and eventually display what you wish!
- Same as above. Customize the template by hiding the container according to your needs
Thank you for your reply, I’ll give 5 stars, you can be sure about that 
Regarding 1: $field_value[“url”] populates the file url. I need the file name. Do we have a code for that?
Regarding 2: How can I check the filetype for $field_value[“url”], is there any helper doc you have?
Regarding 3: It is a little bit different from above. Here, I need to check if there is a meta value or not. Can you help me regarding this one?
Last question, can we create a child plugin for that modifications?
Thank you very much, I really appreciate 
- Filename is not saved in the field data. However, the file url contains also the file name. To retrieve via PHP there are several method, the most simple is to use the basename() function (https://www.php.net/manual/en/function.basename.php ).
- Same thing as above
you can extract the extension just parsing it from the file name or use a native function like pathinfo , or the mime_content_type(). For the latter function, you can use as parameter the $field_value[‘absolute_path’] variable. It holds the server path instead that URL. - Unfortunately support service doesn’t include customization service
I can provide the direction, but it is customer duty to implement it - no unfortuantely there isn’t any feature specific of the plugin (or wordpress) that allows “child plugin” creation
Thank you so much for your replies. I’ll try and will let you know about the result.
By the way, I can upload a file after logged in without any console error but unable to upload a file during registration. This is a theme & plugin js conflict I guess. Can you help me? Thank you so much.
https://www.dropbox.com/s/o8rbmwm4yzr2p26/console1.jpg?dl=0 https://www.dropbox.com/s/iu1h1ucgq9fwycy/console2.jpg?dl=0Yes, it seems that a 3rd party plugin is including a JavaScript code that is raising errors. This may prevent the Extra Field javascript library to be properly executed by the browser (and then properly perform the upload process).
However, I have no clue on which plugin is declaring that code 
I can only say to try disabling all the 3rd party plugin, If the error is not raising, re-enable one by one until you find the interfering one. If the error still occurs, try temporarily switch theme. Once identified the cause, you should report to its developer in order to fix it!
It seems like the conflict is about the theme’s custom js codes which is related to its tab box feature. Thank you for your reply.
You’re welcome!
Have a good night! 
Another question
is it possible to mapping user extra fields with ACF fields?
Theorically it would be possible.
Field values are stored into user metadata. Save and Load process are managed by the WPUEF_User.php component located in the classes\com folder.
You could custom modify the save_fields() (used to save in bulk fields), save_field() (used to save single field) and the get_field() methods in order to save and/or retrieve data from/to ACF custom fields (that have to be previously manually created).
I guess I can fix all my troubles (regarding populating user extra fields meta values) with Admin Columns Pro 
A feature suggestion: Upload, corp and set avatar image (this can be an option for file type fields) during registration would be great!!! 
Thank you for your excellent support.
Thank you for your suggestion! Have a great day! 
Hello, this shortcode doesn’t retrieve the meta value (c172) for the current user, am I missing something? [wpuef_show_field_value field_id=”c172” user_id=”“]
+By the way are there any simple way to retrieve the meta values without shortcode, I mean I need to retrieve values without shortcode in classic editor (posts).
Thanks.
That worked [wpuef_show_field_value field_id=’c172’] I think you should update your examples. ” doesn’t work ’ works
Shortcodes are not managed directly by plugins but by wordpress. According to the shortcode name, checks if any plugin has registered it and passes the parameters.
If you however are using the ” character instead of the ” character, it won’t work. WordPress only recognize single or double quote characters.
HTML pages many times render the ” as ”, so if you copy and pasted the code, this was the cause of the issue.
Can I add an extra authentication field like worker number identification or something else into the login page?
I’m sorry but unfortunately the plugin hasn’t such an option