jpowersdev
Forum Replies Created
-
Forum: Plugins
In reply to: [Easy Forms for Mailchimp] The requested resource could not be foundHi @tpm00304,
This is probably coming from your theme, and you’re right that it’s probably JS. Could you post a link to your site? I might be able to find it using the browser dev tools.
Thanks,
JonForum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Unable to create Tabs with the REST APIHi @afssoftware,
I’m going to send along some links that may be helpful:
– Adding Custom API Endpoints in WordPress
– Authenticating API Requests using Application Passwords
– Adding/Updating Post MetaJon
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Unable to create Tabs with the REST APIHi @afssoftware,
The product tabs are stored as Serialized Data. It looks like you are trying to create your own implementation of PHP’s serialize function with a .NET library. I would highly recommend creating a custom API route that simply accepts data and stores it in
yikes_woo_products_tabs. Then you can just send a normal JSON POST request from any environment you’d like, and let the WordPress server take care of storing the information correctly.Does that help point you in the right direction?
JonForum: Plugins
In reply to: [Easy Forms for Mailchimp] Problem with birthday calendarHi @cris18,
Ah, so in that case, you’re probably running into a “function already defined” error. You can do one of two things:
1. Make the change_year and change_month true for all forms. That would look like this:
add_filter( 'yikes-mailchimp-datepicker-options','yikes_mailchimp_customize_datepicker_options', 10, 2 ); function yikes_mailchimp_customize_datepicker_options( $options, $form_id ) { $options[‘change_year’] = true; $options[‘change_month’] = true; }2. Check for either form, like this:
add_filter( 'yikes-mailchimp-datepicker-options','yikes_mailchimp_customize_datepicker_options', 10, 2 ); function yikes_mailchimp_customize_datepicker_options( $options, $form_id ) { if ($form_id === 1 || $form_id === 3) { $options[‘change_year’] = true; $options[‘change_month’] = true; } }Let me know if that works,
Jon- This reply was modified 5 years, 1 month ago by jpowersdev.
Forum: Plugins
In reply to: [Easy Forms for Mailchimp] Problem with birthday calendarHi @cris18,
It looks like you are missing the curly brace to close the function. Add one more } at the end and you should be fine.
Let me know if that helps,
JonForum: Plugins
In reply to: [Easy Forms for Mailchimp] Problem with birthday calendarHi @cris18,
Yes, we do have some documentation on customizing the datepicker. That can be found here: https://yikesplugins.com/knowledge-base/customization-options-for-the-datepicker/
The line most relevant to you is going to be
$options['change_year'] = true;. You’ll also want to make sure to update the form ID from 12 to the ID of the form you want to modify.Let me know if that helps,
JonForum: Plugins
In reply to: [Easy Forms for Mailchimp] Opt-In emails not being receivedHi @xanderdw,
That all looks to be correct. Do you have double opt-in enabled for this audience in Mailchimp itself?
Our plugin doesn’t manage the sending of the confirmation emails. Instead, when you select double opt-in, the audience member will be added with a status of ‘Pending’ which informs Mailchimp that an opt-in email needs to be sent.
Let me know if that helps,
JonHi @adamwalnut,
I’d recommend using a plugin like Better Search & Replace for this. Often you will find that the data in the postmeta table is serialized, so a raw SQL S&R won’t work. Plugins that perform S&R are generally going to unserialize the data before performing the replace, then serialize it again before saving it.
If you have SSH access, you can also use the WP CLI tool to accomplish this: https://developer.wordpress.org/cli/commands/search-replace/. You will want to pass the
--preciseflag.Let me know if that helps,
JonForum: Plugins
In reply to: [Easy Forms for Mailchimp] authorisation header is missingHi @knuppi,
That is certainly strange, as that error message is related to your overall server setup, rather than a specific plugin. This is what I found to address the problem:
1. Flush your permalinks
2. Check your .htaccess file to make sure it includes the lineRewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]You may just want to reach out to your host about step 2, as many hosts don’t provide easy access to that file.
Let me know if that helps,
JonForum: Plugins
In reply to: [Easy Forms for Mailchimp] Opt-In emails not being receivedHi @xanderdw,
Could you provide a link to the site you are having trouble with? A screenshot of the form settings would also be helpful. You can use a service like https://imgbb.com/.
Thanks,
JonForum: Plugins
In reply to: [Easy Forms for Mailchimp] Check Boxes not appearing when creating formHi @surfer105,
Okay, so that looks to be an image of the Mailchimp form builder, and those fields do look like interest groups. The information supplied to our plugin is managed in Audience Settings, you don’t need to build the form in Mailchimp as well.
This article talks about using interest groups and should point you in the right direction.
Let me know if that helps,
JonForum: Plugins
In reply to: [Easy Forms for Mailchimp] Form submission errorHi @purlavenue,
Now that the giveaway is over, would you still like help troubleshooting?
Let me know,
JonForum: Plugins
In reply to: [Custom WP Login] Redirect on login problemHi @ferjsz,
You are close! The actual hook you will want to use is the following:
add_filter('yikes-custom-login-login-redirect-url', 'yikes_custom_login_redirect_after_login');Let me know if that helps,
JonForum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Tab-description in URL on product pageThe link you provided (without the hash) is the actual page URL. That hash is the ID of the description tab, and is just being appended to the current page. This is a strategy normally used to link a visitor to a specific part of your page, but in this case, WooCommerce uses it to show and hide your site’s tabs.
There is most likely some javascript in your theme activating the primary tab on the page load, so as to show the content. I would check there first and see what’s loading in.
Let me know if that helps,
Jon