angeloarlotta
Forum Replies Created
-
many thanks @champsupertramp !
Forum: Plugins
In reply to: [Contact Form 7] Multiple additional headers returning errorThank you @takayukister , I understood! Only one email field was required, so if I turn all the email fields as required the error disappears but, the origin of the request is to give the possibility to insert extra optional Cc: so how can I have only the main email field required and the other email fields not required and not showing this error?
Thanks.
Angelothank you @champsupertramp it solved!??
Thank you Rob,
I will wait for your feedback, let me know if you need something else to replicate this issue.Thanks,
AngeloI just insert the GA variable twice in this field https://ibb.co/VLCwdr8
This variable is already expressed in GA so it’s not necessary to insert it again here.
For that reason I wasn’t able to get ecommerce events in GA but they was triggering into GTM.
But as I saw into your screenshot you didn’t fill this field.. so I guess it’s not your case unfortunately..I know, it took me more than one month until I found this solution.
From your screenshot it seems you correctly set this tag and did non repeated twice the GA variable so maybe my solution won’t help in your case. Try asking support on this facebook group, maybe you will find a solution here: https://www.facebook.com/groups/329145737601165/Hi,
if could help, this is the solution I found thanks to the plugin author:I had to open the tag named “GA – E-commerce impressions” and remove the GA variable into the “Tracking ID” field that I wrongly set because I already did it in the Google Analytics settings.
I had your same problem and now I can see the ecommerce events!
If it could help someone, this is the solution found thanks to the plugin author:
I had to open the tag named “GA – E-commerce impressions” and remove the GA variable into the “Tracking ID” field that I wrongly set because I already did it in the Google Analytics settings.
Now I can see the ecommerce events!
Forum: Plugins
In reply to: [TI WooCommerce Wishlist] Delete database entryThank you very much!
Forum: Plugins
In reply to: [WP Customer Area] Divi compatibility pluginThank you @tlartaud
Hi @champsupertramp thank you for your reply I just found a solution and I hope this is the right procedure in this case.
I followed this article about the use of choises callback feature:
https://docs.ultimatemember.com/article/1486-how-to-use-choices-callbackSo, if it could be useful for other users, I declared the fields in this code:
function custom_dropdown_items() { $customfieldname = array( "Option 1" => "Option 1", "Option 2" => "Option 2", "Option 3" => "Option 3" ); return $customfieldname; }
Then I went into UM > forms and edited my custom dropdown field, adding the function name “custom_dropdown_items” into the Choices Callback field.
Hope this is the correct solution to correctly store infos into the database.
Thank you,
Angelo- This reply was modified 3 years, 7 months ago by angeloarlotta.
After deeper testing and other users notices, seems that the problem is I’m trying to save a dropdown field.
I tried saving a simple custom text field and it works, but the dropdown fields are not being saved.Please @champsupertramp how to solve?
Thanks!
This is the code I’m using:
add_action('um_after_account_general', 'showUMExtraFields', 100); global $ultimatemember; $user_id = um_user('ID'); function showUMExtraFields() { $id = um_user('ID'); $output = ''; $names = array('professioni'); $fields = array(); foreach( $names as $name ) $fields[ $name ] = UM()->builtin()->get_specific_field( $name ); $fields = apply_filters('um_account_secure_fields', $fields, $id); foreach( $fields as $key => $data ) $output .= UM()->fields()->edit_field( $key, $data ); echo $output; } add_action('um_account_pre_update_profile', 'getUMFormData', 100); function getUMFormData(){ $id = um_user('ID'); $names = array('professioni'); foreach( $names as $name ) update_user_meta( $id, $name, $_POST[$name] ); }
Please, what I’m missing here? I read thousand messages here: https://gist.github.com/champsupertramp/c1f6d83406e9e0425e9e98aaa36fed7d
…but seems there’s some incompatibility with the new UM version so the fields doesn’t save values.
Thanks.
AngeloHi @champsupertramp,
the Github page I shared is active since 2015 so I think this is a useful feature for anyone.Anyway, can you please share an updated code working also when saving fields?
Thank you very much for helping!
Hi @champsupertramp this tutorial is about adding a new tab.
The question in this case is about the ability to add and save custom fields into the account tab so I found this:
https://gist.github.com/champsupertramp/c1f6d83406e9e0425e9e98aaa36fed7dThe fields were added but users can’t save it.
Why an important feature like this is not included even in a dedicated addon on a famous plugin like Ultimate Member?
Thanks,
Angelo