confusedneedhelp
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Astra] BBpress user profile broken on latest updateAlso highlighted on the BBpress forum.
https://bbpress.org/forums/topic/user-page-seems-to-be-stuck-in-a-loop/
I think I just found the answer, sorry!
add_filter( 'sgo_bypass_query_params', 'add_sgo_bypass_query_params'); function add_sgo_bypass_query_params( $bypass_query_params ) { // Add custom query params, that will skip the cache. $bypass_query_params[] = 'query_param'; $bypass_query_params[] = 'query_param2'; return $bypass_query_params; }- This reply was modified 4 years ago by confusedneedhelp.
Ok, thanks for confirming that. It is helpful to know that dynamic caching should not be enabled.
I will try and test and come back if there is a problem.
Cheers 🙂
Thanks for the quick reply.
I completely understand your answer.
However, it seems that dynamic caching is set on and cannot be turned off unless the plugin works. So I think that I am getting dynamic caching on my staging site and I don’t want it. But there is nothing I can do to turn it off.
Do you understand me?
Forum: Plugins
In reply to: [Mail logging - WP Mail Catcher] auto delete not workingSame here. Auto delete does not work. I have no php errors in the log.
The problem was that I have BBpress installed. You have to use the filter bbp_user_email_update_content to change the email text.
Ok many thanks for your help. I will go back to my previous caching solution.
Ok, thanks for your help. I have done some more testing. It seems that the FB caching is causing the problem. If I only have Dynamic Cache set to on then the auto purge works. However, with FB cache set on it does not purge. I have changed all the settings for FB caching but no difference. Can you finally please confirm if you have FB caching enabled on your test site?
Can you confirm that as a non-logged user you refreshed the page after submitting the comment? Because it will show a comment in the browser of the person that submitted it added by ajax. But when you open the page on another browser it is not showing.
I have not blocked the internal WordPress cron as far as I know.
Hi, this is a further request. Can this topic be deleted please.
I have checked this with both comments being submitted directly without approval and needing approval and the cache does not clear. I suspect therefore that the action you refer to above is not being used or it is being used and there is another issue. Whatever the issue I feel that your plugin should be compatible with the WpDiscuz plugin.
Actually the comment is held in moderation after being submitted by the plugin. Then it is as far as I know the standard wordpress approve comment from the back end.
[deleted]
- This reply was modified 4 years, 4 months ago by confusedneedhelp.
Thanks, working for me now after the update.
I am also using this function sg_cachepress_purge_cache but it is not clearing the cache. I am using it to clear the cache after a new comment is approved but it does not work. Should it clear the file based cache too?