pstidsen
Forum Replies Created
-
Forum: Plugins
In reply to: [Broken Link Checker] Scan aborted: Too many server errors.Hi Kris,
Unfortunately, the local method does not work for me either, because some links in the database is giving 404, however the link is changed dynamically while loading the page and then the links works fine. Therefore, the cloud version is better because is looks at the links as they are front end.
It seems odd to me that the links are giving server errors because visiting them in the browser, everything is fine.
Best Regards,
PeterForum: Plugins
In reply to: [Broken Link Checker] Questions regarding cloud modeHi there,
Thanks for your replies.
@brbrbr I want all links, not only those in the post content etc. But also links in menu structure, footer, widgets, related posts etc. If I succeed with the web scraper for links, I will turn back with a solution.
/ Peter
Forum: Plugins
In reply to: [Broken Link Checker] Questions regarding cloud modeHi Nithin,
Thanks for your reply. And thank you for confirming that it is not possible to achieve this at the moment.
As mentioned, the site is using WPML for different language versions. I wanted to list all URL’s (and their origin) to see where there is linked from one language to another because this should be fixed manually so the linking is internal in the same language.
I am aware that this use case might be out of scope of your plugin. Instead, I am looking into standard web scraping techniques in order to achieve this.
However, it was nice to know, that the cloud method is analyzing the front end instead of the local method that is analyzing the links in the database.
Best Regards,
PeterForum: Plugins
In reply to: [Broken Link Checker] Scan aborted: Too many server errors.Hi Nithin,
Yes, the site is supposed to work in that way. The subdomain no.domain.dk hosts the Norwegian version of the site, managed by WPML.
The PHP memory limit is 1024M and the PHP time limit is 300.
Best Regards,
PeterForum: Plugins
In reply to: [Broken Link Checker] Questions regarding cloud modeHi Zafer,
Thanks for your reply. I do have a follow-up question:
- Perfect!
- I can only see an option for downloading broken links and the pages they are seen at. Is it possible to download a list of non-broken links?
- Sounds good
Hi Kris and Adam,
Sorry for my late reply. The code you provided fitted my needs perfectly. Thanks!
Best Regards,
PeterForum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Orders on hold instead of processingHi again,
I have submitted a feature request.
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Orders on hold instead of processingHi again,
Yes, the BACS is an offline payment, indeed. However, that’s not the case for a Stripe payment, and therefore the orders should be set to processing regardless of whether the payment is captured or just authorized. The payment is fulfilled by the customer, and confirmed by Stripe, and the order should be processed and not on hold.
You should really change the behavior of the plugin. Or at least make a filter for the “on-hold” value at line 611 in the file woocommerce-gateway-stripe\includes\abstracts\abstract-wc-stripe-payment-gateway.php so it is possible to hook into it and change the order status.
Best Regards,
PeterForum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Orders on hold instead of processingHello @carolm29
Thanks for your reply. I will strongly disagree with you and your design. When a payment is authorized, it is made and the money is reservation at the customer’s account. There is no need to manually confirming that the payment is done. The Stripe API tells that by completing the creation of the order. On hold should only be used for offline payment.
The On hold status is generally assigned to an order when a customer pays via an “offline” payment method that doesn’t have immediate payment confirmation, like the BACS gateway. Offline payment methods require you to manually verify the payment was processed; once you confirm payment has been received, you can change the status of the order.
https://woocommerce.com/document/managing-orders/order-statuses/You do not have a manually confirm that the payment is authorized. Therefore, there is no need to put the order on hold.
At least, are there any filter to hook into, that can change the behavior?
Best Regards,
PeterForum: Plugins
In reply to: [E2Pdf - Export Pdf Tool for WordPress] Custom text based on answerThanks for your reply. That’s awesome.
Is both options available in the free version?
Forum: Plugins
In reply to: [Yoast SEO] Imported posts need resaving before showing readability scoreHello,
Thanks for your reply. It could be nice, if your scores, breadcrumbs and stuff like that, was updated on ‘wp_update_post’ or something like that.
Until then, I have set up a routine in Power Automate which can loop through the products and click the button ??
Best Regards,
Peter B. StidsenForum: Plugins
In reply to: [Schema & Structured Data for WP & AMP] WPML compatibility – WoocommerceI found your dev docs and saw it was pretty easy. Solution below.
function product_callback($product){
if (is_norwegian_translation()){
$product['offers']['priceCurrency'] = 'NOK';
}
return $product;
}
add_filter('saswp_modify_product_schema_output', 'product_callback');
function is_norwegian_translation(){
$current_language = apply_filters('wpml_current_language', NULL);
if ($current_language == 'no'){
return true;
} else{
return false;
}
}Forum: Plugins
In reply to: [WooCommerce] Hundreds of empty orders createdWe deactivate some API’s and plugins. And it was solved over time. We did not manage to find the exact solution.
Hi Darren,
Thanks a lot for your reply! Unfortunately, there is no pattern in how often and when the post should be injected ??
Best Regards,
PeterForum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Load ALM with AJAXHi there @dcooney,
No worries, thanks for your awesome support !
Is it possible to just insert the same HTML as the shortcode outputs and then call start on the wrapper HTML element?
Best Regards,
Peter