jpowersdev
Forum Replies Created
-
Forum: Plugins
In reply to: [Easy Forms for Mailchimp] Freezes Website Vertical scroll after UninstallForum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Tabs for Review and Q&AHi @zglocal,
Yes, in theory it should be compatible. It depends on how the reviews content is rendered. If the plugin provides a shortcode, you can just drop that in the tab content and it should show up fine.
Let me know if that helps,
JonForum: Plugins
In reply to: [Easy Forms for Mailchimp] Groups in Contact Form 7Hey @kindnessville,
In the example code you would change 111111 to the id of the CF7 form, and you’d change 12345 to the id of the group in mailchimp.
You can simply repeat that if statement with more combinations of CF7 ID / Mailchimp Group ID if you want to support more than one mapping.
If you have a lot of them, something like this might be cleaner:
function cf7_change_MC_groups( $data, $type, $list_id, $integration_vars ){ // Get your form id $cf7_form_id = isset( $_POST['_wpcf7'] ) && ! empty( $_POST['_wpcf7'] ) ? filter_var( $_POST['_wpcf7'], FILTER_SANITIZE_NUMBER_INT ) : 0; $mapping = array( // 'contact_form_7_id' => 'mailchimp_group_id' 11111 => 11, 11112 => 12 ); foreach ($mapping as $key => $val) { // If form id is desired id if ( (int) $cf7_form_id === $key ) { // Add your desired group id $data['interests'] = array( $val ); break; } } // Return the form data return $data; } add_filter( 'yikes-mailchimp-checkbox-integration-body', 'cf7_change_MC_groups' );Let me know if that helps,
JonForum: Plugins
In reply to: [Easy Forms for Mailchimp] Freezes Website Vertical scroll after UninstallHi @shivaji,
When you uninstall our plugin (deactivate and delete), all of the data should be removed from the database. The uninstall hook deletes the
yikes_easy_mc_formstable, several site options, and any relevant transients. However, if you simply deactivate the plugin, it doesn’t really do anything besides flag it as needing to be activated.As for your site freezing – when you say “website”, do you mean the public-facing pages or the wp-admin side?
Could you provide a link to the website you’re having trouble with?
Thanks,
JonForum: Plugins
In reply to: [Easy Forms for Mailchimp] Problem with adding css class to buttons.Forum: Plugins
In reply to: [Easy Forms for Mailchimp] Preventing YARPP settings from savingHi @mnelson4,
Thank you for bringing this to our attention! I agree, that selector is much too broad. I’ll work on a resolution, and I think your suggestion will do the job.
Thanks,
JonForum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Divi incompatibility ?Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Anchor link to a tabOkay, so that makes it a little tricky. The thing is, we can’t mark the user as active initially if you use double opt-in. The point of double opt-in is that you have to wait for a second confirmation from the user that they are in fact interested. That is why the user is originally added with the ‘pending’ status.
If you can’t use the single opt-in strategy for your users because of the local laws, then you may have to find another way to trigger the automated actions. You can also add that delay as referenced by the support staff, but you still risk the user having not yet confirmed their interest when the automation is triggered. Is there any way to set it to only trigger when a user is given an active status?
Jon
Hi @serhatc,
This is a little beyond what we can effectively troubleshoot using the free forums. If you could please send us a message through our website, we’d be happy to take a deeper look for you.
Thanks,
JonForum: Plugins
In reply to: [Easy Forms for Mailchimp] Problem with adding css class to buttons.Hi @alygraphy,
Unfortunately, I was not able to reproduce the issue. I tried adding a random additional class to the form using my browser dev tools, and it seems to have registered me successfully.
I imagine the problem is either some issue with malformed html, or the javascript we use for ajax submissions is not able to find some necessary information (or otherwise prevented from executing). It would be difficult to diagnose further without witnessing it fail.
Let me know if you can provide any more information and I’d be happy to help.
Thanks,
JonForum: Plugins
In reply to: [Easy Forms for Mailchimp] Using with other formsHi @blazmate,
You’re right, and this is on our radar with regards to future improvements. Thank you for expressing your interest in those features.
For the time being, a combination of using a child theme and some of our available hooks should allow you to customize the behavior to suit your needs.
Thanks,
JonHi @puresoftrob,
In form settings, please make sure the Opt-In setting is set to ‘Single’. The new subscriber status is only set to ‘Pending’ if Opt-In is set to Double, because at that point you’re still waiting for the second opt in.
https://yikesplugins.com/knowledge-base/opt-in-settings/
Jon
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Anchor link to a tabHi @marc59,
I didn’t, I’m sorry. Thank you for replying to the thread.
I’m not sure why that code didn’t work, but I decided to throw together a simplified version.
document.body.addEventListener('click', function(event){ if (event.target.hash && event.target.hash.includes('tab-title')){ // Ignore other click events event.preventDefault(); // Set up variables const tabTitleName = event.target.hash.replace('#', ''); const tabName = tabTitleName.replace('title-', ''); const tabTitle = document.getElementById(tabTitleName); const tab = document.getElementById(tabName); // Click on tab title to display tab tabTitle.getElementsByTagName('a')[0].click(); // Scroll to tab jQuery('html, body').animate({ scrollTop: tab.offsetTop }, 300); } });Let me know if that helps,
Jon