pstidsen
Forum Replies Created
-
Forum: Plugins
In reply to: [Seriously Simple Podcasting] Player stopped working: Failed to load resourceHi Serhiy,
I have checked my settings. Will this be a good choice?
https://app.screencast.com/gIFEawJNmp8mr?tab=Details&conversation=NWmv4o4R9kO3FFYIRK2bp1
Forum: Plugins
In reply to: [Seriously Simple Podcasting] Player stopped working: Failed to load resourceI am just using the LiteSpeed WordPress plugin
Forum: Plugins
In reply to: [Seriously Simple Podcasting] Player stopped working: Failed to load resourceBut how do I avoid that it will happen again ?
Forum: Plugins
In reply to: [Seriously Simple Podcasting] Player stopped working: Failed to load resourceNope, I did nothing. Or.. Maybe I have cleared the cache.
Forum: Plugins
In reply to: [Seriously Simple Podcasting] Player stopped working: Failed to load resourceHi @zahardoc
That sounds like the problem! I’ve set up LiteSpeed myself. What should I change in the configuration?
Best Regards,
PeterI cannot do the hosts file trick due to how the server is set up. Any ideas on how to make the Duplicator transfer then?
Best Regards,
PeterForum: Plugins
In reply to: [WooCommerce] Hundreds of empty orders createdHi @ckadenge,
Thanks for your reply. This is the fatal error log from yesterday, where the problem occurred. It doesn’t look to be related to the issue.
Thanks for your reply. I have tried the hosts file trick. However, the clientname.com domain is already pointing at the “live “new” server’s IP address, but just showing content from a different folder on the server.
Forum: Plugins
In reply to: [WooCommerce] Hundreds of empty orders createdHi @serafinnyc,
Thanks for your reply! The “hsn_cfu_pending_users” is added by the now closed calderaforms which we have used before. On the top of that, we had some “pending user” functionality, meaning that when a form was filled, a user was created, but it was pending until an admin approval. We have now moved to Forminator. There are other tables with “_cf” – I think the developer of the “pending user” functionality has forgotten to include the table prefix.
I will fix the outdated Flatsome template. However, I barely think that could be the issue.
Best Regards,
PeterHi there,
I have now had the chance to try implementing your plugin. My first idea was to loop through the categories and then collect all the ids during that. And lastly output the shortcode.
<span style="font-size: 12.8px;">$ids = array();</span> <span style="font-size: 12.8px;">foreach($categories as $cat){ $products = $shop->getThemeProducts($theme_id, $<span style="font-size: 12.8px;">cat</span>->term_id); foreach($products as $post){ $ids[] = $post->ID; } } </span> <span style="font-size: 12.8px;">echo do_shortcode('[ajax_load_more id="alm_3244907660" loading_style="infinite classic" post_type="product" posts_per_page="10" progress_bar="true" post__in="' . implode(',', $ids) . '"]');</span>
That actually works, but I really want to show the customer a headline when moving from one category to another. Is it somehow possible to inject a headline in the AML loop?
As an alternative attempt, I have been thinking about making a shortcode for each cateogry. That gives me the opportunity to output the headline directly, but it will also initially load multiple loops and a lot more products than necessary, which is making the solution slow. During my test I did also see that sometimes the third or fouth AML shortcode was loaded before the first which is a bit odd for the customer.
<span style="font-size: 12.8px;">foreach($categories as $cat){ $ids = array(); print '<h2 style="clear:both;">'.$<span style="font-size: 12.8px;">cat</span>->name.'</h2>'; $products = $shop->getThemeProducts($theme_id, $<span style="font-size: 12.8px;">cat</span>->term_id); foreach($products as $post){ $ids[] = $post->ID; } echo do_shortcode('[ajax_load_more id="alm_3244907660" loading_style="infinite classic" post_type="product" posts_per_page="10" progress_bar="true" post__in="' . implode(',', $ids) . '"]'); }</span>
Do you have an idea on how I can move forward to have a smooth solution and keeping the headline?
Best Regards,
PeterHi Laura,
Thanks a lot. Unfortunately, that does not help that much because the entry/submission ID or object is not present in the filter. I would need that for my goal.
Hi Kris,
Sorry for the confusion. I mean more a filter hook like this:
add_filter('forminator_meta_value', 'custom_filter_value', 10, 2); function custom_filter_value($value, $entry_id){ if ($something){ $value = 'some value'; } return $value; }
Is there something like this example code?
Hi Nithin and Zafer,
That snippet did indeed help a lot! Thank you for your awesome support!
A sub question: Is it possible to filter the entry meta values in the submissions page? That will open for a lot of flexibility.
Best Regards,
PeterHi Zafer,
Thanks for writing back. I am looking forward to hearing further.
My idea was to maybe insert a hidden field and then filter the shown field value in the submissions page if possible..
Since the form has an e-mail field, the entry has information that can be used to get the user information.
Looking forward to hearing from you.
Best Regards,
Peter B. StidsenThat’s awesome. Thank you !