Giuseppe Milo
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Hotelier] Issues with rooms translationHi Benito you can find the gist here:
https://gist.github.com/pixael/b7a8700b3be304049124acac27c0a3baForum: Plugins
In reply to: [WP Hotelier] Issues with rooms translationI’ve used a few filters and actions to do the same with polylang. If interested I can send you the code. In the plugin for wpml I think it would be better to change the room id when you create the booking instead of when you add it to the cart, otherwise the customer will see the room name in another language?
Also I’ve hooked into the available rooms number too otherwise the customer will be able to select more rooms than available in the rooms listing.Just to let you know, maybe you already did that.
Forum: Plugins
In reply to: [WP Hotelier] Email notification on booking confirmationOk thanks.
Forum: Plugins
In reply to: [WP Hotelier] Issues with rooms translationOk thanks I’ll have a look at that plugin and see what they are doing.
Thanks for the plugin btw it has a lot of cool features.
Forum: Plugins
In reply to: [WP Hotelier] Email notification on booking confirmationYes that’s the case. Is there an hook I could use to send the confirmation email automatically? The box says “resend” email so I thought an email would have been sent when the admin confirm the booking.
Forum: Plugins
In reply to: [WP Hotelier] Email notification on booking confirmationHi Benito, the first email confirming the booking arrives and says the booking is in review. When the customer approves the booking there is no notifications. I’ve added a log in the method sending the email and it is not called. If I send the email from the booking editing page that one arrives so there is an issue with the automatic notification when the status changes.
Forum: Plugins
In reply to: [Two Factor (2FA) Authentication via Email] Disable it on apihey @ss88_uk thank you very much for this! I’ll let you know if I have any issues.
Forum: Plugins
In reply to: [Two Factor (2FA) Authentication via Email] Disable it on apiOk no worries, thanks for your time.
Forum: Plugins
In reply to: [Two Factor (2FA) Authentication via Email] Disable it on apiOh yeah sorry ??
Please check out these 2 screenshots, I only have authentication enabled:
https://postimg.cc/gallery/c0hcDtvForum: Plugins
In reply to: [Two Factor (2FA) Authentication via Email] Disable it on apiJust log-in sending a POST request to:
https://website.com/?rest_route=/simple-jwt-login/v1/auth
passing this in the body:{
"username": "XXX",
"password": "XXX"
}
you will get the jwt back.Then send a GET request to:
https://website.com/wp-json/wp/v2/posts
using the jwt token in the Bearer Token authorization header.Instead of the post list, you should get your plugin html page.
Forum: Plugins
In reply to: [Two Factor (2FA) Authentication via Email] Disable it on apiSorry @ss88_uk, authentication works fine. When you get the token then call any api endpoint and you will get your html page:
…
<p><strong>Account Protected</strong><p>
<p>This account has Two Factor Authentication (2FA) enabled.<br />Please check your email inbox (including Spam/Junk) for your unique login link.</p>
<p><small id="timertext">The unique link will expire in <span id="timer" data-minutes="15">15 minutes</span>.</small></p>
…Just call /wp-json/wp/v2/posts with the bearer token and you will see it.
Forum: Plugins
In reply to: [Two Factor (2FA) Authentication via Email] Disable it on apiHi @ss88_uk, I’ve enabled the 2 factors authentication for all users with:
define('SS88_2FAVE_ENABLE_ALL', true);
did you try that?
Forum: Plugins
In reply to: [Google for WooCommerce] Uncaught TypeErrorHi
yes, I’m using the latest version. Post meta are stored in the wp core table PREFIX_postmeta.Forum: Plugins
In reply to: [Google for WooCommerce] Uncaught TypeErrorHi, I’ve found that your plugin was saving postmeta with broken serialized data. This was braking the whole editing page. My customer wasn’t able to modify woocommerce products.
In particular the broken postmeta had meta_key _wc_gla_errors with values like these:
s:118:"a:2:{i:4143;a:1:{s:13:"internalError";s:14:"Internal error";}i:4144;a:1:{s:13:"internalError";s:14:"Internal error";}}";
This will unserialize in a string, not an array.
You may look into this.
Forum: Plugins
In reply to: [Google for WooCommerce] Uncaught TypeErrorThanks I will.