maorb
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Download Monitor] Download Statistics per fileThank you for that @mbrsolution :-).
Forum: Plugins
In reply to: [Simple Download Monitor] Download Statistics per fileThank you @mbrsolution for your reply.
I don’t need to see these statistics on the frontend (using the shortcode), but I meant for that only at the backend.
In fact the number of downloads for each file is already listed on the backend in a column in the edit.php?post_type=sdm_downloads screen.
I wanted to have the abiity to view these filtering statistics (by date/ by country/by browser etc.) per downloaded file and not only for all the downloads.
Is that a feature you may consider adding in next versions of your plugin?Kind Regards,
Maor- This reply was modified 5 months, 3 weeks ago by maorb.
Hi,
I add here that I’ve checked now on Dropbox itself and found that the full backup file (2GB) is actually there and I was able to manually download it and extract it, so it was uploaded ok although these SIGHUP error signals. So, is there something that needed to be addressed and done with this issue?
Thanks
Thanks you Saif @babylon1999 for your reply.
Yes of course paid and completed are two different things.
But my question deals with the natural flow of sending emails by WC.
As I understand, the WC is sending an email about an order when a new order is being done in the shop by a customer.
That new order status is being auto set to “Pending payment” (if ordered and not paid) or to “Processing” (if it was also successfully paid).
In this point an email is being sent to shop owner by WC.
What action/filter is being trigered during this point, in the process of the email sending?
I want to hook into this filter in order to check which product was in thatr order and if needed to add there a recipient email addresss to the mail that WC is sending.Thanks again.
Thanks @anastas10s for your reply.
You’ve understood correctly.
The workflow is that when an order is being completed (i.e. ordered and paid) for some specific products, I have to inform the product’s supplier about that purchase, so I wanted to trigger the WC filter hook on the point the mail is being sent, and there in my custom function to do a small check which products are in that order, and if some certain products are part of the order, to to add that supplier email addeess as a recipient to that mail that being sent about the order.
(I don’t mind if that will be the same email or if the supplier will get a forarded mail, but I do want that the WC will do the email sending and not for exampe by a 3rd party automation process or so.)
Is there a suitable filter that I may hook into with my custom function for this?Thanks 🙂
Thanks Saif @babylon1999 for your reply!
I want to try to avoid paid extentions for this shop, as it has no budget… Thanks for the idea of the
woocommerce_thankyouaction hook. I’d be happy it there’s a filter for when WC sends it mails after a new order is being completed and a default WC mail is being sent – Is there a filter in that point that I may trigger?10x
- This reply was modified 2 years, 8 months ago by maorb.
Great to hear thatm, you are very invited to Tel Aviv!
I used the plugin’s donation link, you’ve received some money for your beer 🙂
I wish to be in India and have a beer with you now.
But I’m not.. So send me what is your paypal account and how much costs a beer in India 🙂- This reply was modified 5 years, 5 months ago by maorb.
Yes, v2.9 does fix this.
Thank you very much @@aurovrata for all your help and efforts and time for debugging this issue and finding the reason to some slow queries.all works fine now as should be.
You deserve all the glory!I have a similar issue.
I tried to remove my tax_query array for a test, and then I got only posts from the Custom Post Types that specified in post_type argument.
When having also a tax_query array with several custom taxonomies to fetch, the WP_Query that I get all containing posts from all post types and not only from those mentioned in the post_type array.Here is var_dump of the args array, which results in WP_Query containing posts from other Custom Post Types:
array (size=7) 'post_type' => array (size=2) 0 => string 'updates' (length=7) 1 => string 'editorial' (length=9) 'posts_per_page' => int 12 'suppress_filters' => boolean true 'paged' => int 0 'order' => string 'DESC' (length=4) 'date_query' => array (size=1) 'inclusive' => boolean true 'tax_query' => array (size=3) 'relation' => string 'AND' (length=3) 0 => array (size=3) 'taxonomy' => string 'category' (length=8) 'field' => string 'id' (length=2) 'terms' => int 1 1 => array (size=3) 'taxonomy' => string 'subjects' (length=8) 'field' => string 'id' (length=2) 'terms' => int 69When removing the tax_query array from the args, then the WP_Query posts are only from those who appears in the post_type array.
- This reply was modified 5 years, 5 months ago by maorb.
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Pod status as draft/publishedIt’s a Content Type created with Pods, not a WordrPress regular Custom Post Type.
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Pod status as draft/publishedThanks.
So in that way there won’t be any way to easily move pods to draft? (like in the quick edit bar)@aurovrata Thanks for your reply.
I’m not sure that using
supress_filters=truewill be a good idea, since there might be some other filters that should be running there and not needed to be supressed in category.php.
Anyway, I did try it for a test and addedsupress_filters=trueto thequery_postquery parameters, but it made no change at all, so it is still slow on the category archive page.Thus I thought to add a remove_filter function in the category.php template, in order to remove from there all the filter functions that being added by your plugin, so it will ensure they won’t be running there.
(I still wonder why this plugin’s function are running in the cateogry archive template, altough the cateogry is not selected in the plugin’s setup page.)I’ve just sent you a mail to vrata at syllogic dot in.
Check an email from maor at maorb dot infoThanks
Thanks for your reply.
When deactivate the plugin, the speed increases?
Yes, I now see I had a mistype in my question.. When this plugin is deactivated – everything works great and fast.
The slowness is only when this plugin is activate.have you manually sorted all of them?
no, I didn’t manually sorted them, and I didn’t check the categoeries checkbox in the plugin’s setup page. This is why it is so weird, because your plugin should not have any effect on the category.php archive page, but it seems it does affect. As I mentoined, when I deactivate your plugin – everything comes back to normal and fast.
are these posts category archive query being paged?
yes, they are being paged, about 16 posts per page (first page has some more post queries)
However, my category.php is complexed because this is a news site and has some special needs for that category archive, so I have there several get_posts() and query_posts() functions that are running.
Again – when your plugin is deactiveted, it works just fine. Slow issue occur only when your plugin is active.Below you may see sample for some of the code I use in the category.php file.
I suspect that since your plugin uses the posts_join, posts_where, and posts_orderby filters, it may be the reason.//this only on first page of categoty archive $channel_pull = get_posts('cat='.$catid.'&showposts=1&meta_key=_pull_channel_first&meta_value=on&orderby=DESC'); //some more code //some more code $channel_pull_items = get_posts('cat='.$catid.'&showposts=5&meta_key=_pull_channel&meta_value=on&orderby=rand'); //some more code //some more code wp_reset_query() //some more code //some more code //this for all pages of category archive $args= array('cat' => $catid, 'post__not_in' => $in_the_pull_ids, 'posts_per_page' => 16, 'paged' => $paged, 'post_type' => array('post', 'updates')); query_posts($args); query_posts($args);So anyway since I don’t need any intervention of this plugin in the category.php, I thought to add some remove_filter() funcitons to my category.php file, to remove all your plugin filters from there, and see if it fixes my issue with categories.
Would you please help me, what are all the filters I should remove there in order to cancel the operation of the plugin?
(And if it will work fine and solve the issue, you will be able to check why the plugin still works in a category.php even when the categories checkbox is unchecked in the plugin’s setup page)Forum: Plugins
In reply to: [Post Types Order] Can’t Drag&Drop Reorder on Archive admin filtered pageThanks @tdgu
Meanwhile, I have already purchased the advanced version of your plugin, but unfortunately it is not working as expected to my client’s needs, and the interface is not so UI friendly.So finally I found another plugin for that issue, which is free and also working well exactly as needed.
If anyone wants to check the other plugin, it is here:
https://ww.wp.xz.cn/plugins/reorder-post-within-categories