Simone Montanari
Forum Replies Created
-
The last update 2.1.0 solved the problem.
Also I noticed that Revolut Pay doesn’t work alone, you need to keep Revolut Credit Cards active in order to make the other work.
Cheers
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Add Mailchimp interest choice to Ninja FormsHi Lap,
that worked, thanks a lot!
Have a nice,
Simone
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Add Mailchimp interest choice to Ninja FormsHi there,
thank you for your quick reply. I tried the solution in the code snippet but I come across a problem.
My interest field looks like this in the form:
<input type="hidden" name="INTERESTS[761fe95add]" value="Summer project">
And the snippet like this:
add_filter( 'mc4wp_integration_ninja-forms_subscriber_data', function(MC4WP_MailChimp_Subscriber $subscriber, $form_id) { if ($form_id == 3) { $subscriber->interests['761fe95add'] = true; } return $subscriber; }, 10, 2);
When I tried to subscribe from the form I receive this error:
[2021-06-09 15:37:39] ERROR: Ninja Forms > Mailchimp API Error: Bad Request. Invalid Resource. Invalid interest ID: '761fe95add'. Request: POST https://us6.api.mailchimp.com/3.0/lists/**********/members {"status":"pending","email_address":"name.***+TEST@gm***.com","interests":{"761fe95add":true},"merge_fields":{"MMERGE1":"Name"},"email_type":"html","ip_signup":"95.90.***.***","tags":[]} Response: 400 Bad Request {"type":"https://mailchimp.com/developer/marketing/docs/errors/","title":"Invalid Resource","status":400,"detail":"Invalid interest ID: '761fe95add'.","instance":"722e0f6f-31b0-****-94cd-************"}
Am I using the wrong ID? Where should I get the correct one?
Thanks a lot for your help,
Simone
- This reply was modified 3 years, 8 months ago by Simone Montanari.
Hi Thomas,
thanks for the answer. I’ll look into the solution you proposed.
Cheers,
Simone
Forum: Plugins
In reply to: [YITH Pre-Order for WooCommerce] Pre-authorize payments?No problem! Thanks for the reply.
Simone
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Add page slug to Mailchimp tagsHi Lap,
thanks for the answer, the problem is indeed in getting the post name. But I stil haven’t figure out why it doesn’t work.
Anyway thanks for your suggestion.
Simone
Hi @facebook,
yes I’m referring to the ice-breaker questions!
See here: https://ibb.co/7K5PB1X
Thanks,
Simone
Forum: Plugins
In reply to: [WP Activity Log] Reset access to logs and settingsHi there,
I found the solution.
Changing the value of ‘wsal_restrict-plugin-settings’ from ‘only_me’ to ‘only_admins’ did the trick.
Cheers,
Simone
Hi Scott,
the temporary storage method was already on Cookies, I changed it to Sessions and now it works.
Thanks for the support.
Simone
Hi @phillipwoo,
thanks for your answer. Yes at the moment the problem is solved.
It seems that the “Optimize JavaScript Code” option of Autoptimize interferes with the plugin.
So for the moment we disabled that option.
Thanks,
Simone
- This reply was modified 4 years, 9 months ago by Simone Montanari.
- This reply was modified 4 years, 9 months ago by Simone Montanari.
Forum: Plugins
In reply to: [Multisite Language Switcher] Get ID associated post/pageHi Dennis,
thank you. I also corrected the language code (en_US in my case).
I tested the code but it works only with ->get_arr();
$mslsOption = new \lloc\Msls\MslsOptions(); $linked_post = $mslsOption->en_US; $linked_posts = $mslsOption->get_arr(); var_dump( $linked_post ); var_dump( $linked_posts );
For the $linked_post I always get null.
D:\Ampps\www\ep\wp-content\themes\demo-theme\page.php:25:null
D:\Ampps\www\ep\wp-content\themes\demo-theme\page.php.php:26: array (size=7) 'admin_language' => string 'en_US' (length=5) 'display' => int 1 'only_with_translation' => string '1' (length=1) 'description' => string 'English' (length=7) 'before_output' => string 'Switch language:' (length=16) 'content_priority' => string '10' (length=2) 'reference_user' => string '1' (length=1)
But I’m also starting to think I misunderstood what this code does.
Because I don’t understand how can I retrieve the ID of the connected pages from the array information.
Basically in my page Test DE I want to show some information from the connected page Test EN (in my case some files). So I need to be able to get the ID of the page.
Thanks a lot for your help,
Simone
- This reply was modified 4 years, 9 months ago by Simone Montanari.
thank you for the answer!
I must have overlooked that option.
Cheers,
Simone
- This reply was modified 4 years, 11 months ago by Simone Montanari.
Forum: Plugins
In reply to: [Easy Table of Contents] Alternate Headings not working with GutenbergHi Steven,
thanks for the update!
Looking forward to the new version.
Cheers,
Simone
Hi Jules,
thanks for your reply. Deactivating the plugin everything seems normal.
But switching the theme “solve” the problem. We’ll start from this to debug the situation.
Cheers,
Simone