amedic
Forum Replies Created
-
Forum: Plugins
In reply to: [MailPoet - Newsletters, Email Marketing, and Automation] High CPU usage@mailpoet, I thought that I have, but after reactivating the plugin I had spikes in CPU and RAM usage. They lasts for about 5 minutes and after it everything is back to normal.
I had to deactivate the plugin.
Do you have problems only with Siteground?
- This reply was modified 6 years, 4 months ago by amedic.
Forum: Plugins
In reply to: [MailPoet - Newsletters, Email Marketing, and Automation] High CPU usageUsed wrong path in cron job.
Now it is OK, thanks.
Forum: Plugins
In reply to: [MailPoet - Newsletters, Email Marketing, and Automation] High CPU usage@pedro-magnifico
What path did you use? I have copied the path that I get in the settings but it seems it is not working.Forum: Plugins
In reply to: [MailPoet - Newsletters, Email Marketing, and Automation] High CPU usageThank you for the reply.
I have done that as soon as I have activated the plugin.
I used path from the settings and created a cron job in the cPanel. Frequency was set to once in 2 hours, like I have explained in my post.I had to deactivate plugin last night. After 24h I have reactivated it and processor went up. As soon I have deactivated it CPU went to normal:
https://imgur.com/a/c7fq1woSo what is the solution?
I will migrate from Siteground soon. Are you experiencing the same issues on other hostings? I want to migrate to cloudey.net. Will I experience same CPU abuse with them also?Is solution to downgrate to MP2?
Thank you.
Forum: Plugins
In reply to: [MailPoet - Newsletters, Email Marketing, and Automation] High CPU usageCan support give me an advice how to solve CPU issue. Becasue my only solution was to unsitall the plugin.
Forum: Plugins
In reply to: [MailPoet - Newsletters, Email Marketing, and Automation] High CPU usageYes, I have set it up to once in 2 hours. But had that spikes that crush my site. And I’m on Siteground VPS. Siteground hosting…
@danieliser thank you. It is resolved.
Yes, this is a big problem for me. It sometimes takes 500ms for google fonts request. And it is 1/3 of the total load time. So I would really like to disable it.
Forum: Fixing WordPress
In reply to: Disable google fonts from the pluginUnfortunately that does not works. But thanks for trying.
Forum: Developing with WordPress
In reply to: Forms with ajax, trigger ajax on form submit.Hi @bcworkz,
thank you for previous help. You have gave me a good idea. I’m using it without form:
jQuery('#content').on('change', '#facebook_chk, #twitter_chk, #telegram_chk, #reddit_chk, #email_chk, #phone_chk, #bitcointalk_chk, #kyc_chk, #youtube_chk, #linkedin_chk, #eth_chk, #neo_chk, #xml_chk, #waves_chk, #kmd_chk, #own_chk', function(e) {
Now it was easy to me to pass variable to php and to execute wp query and show the data. Now I have to figure out pagination with ajax.
- This reply was modified 6 years, 10 months ago by amedic.
Forum: Developing with WordPress
In reply to: Forms with ajax, trigger ajax on form submit.Hi @bcworkz,
thank you for your time and trying to help.
My original intention is to filter results when user click on checkbox, without submit button.I’m not sure how to do that if I remove
onchange="this.form.submit()"
.I will try with your suggestion with “change” instead of “checked”
if (this.change)
.Thanks once again.
Forum: Developing with WordPress
In reply to: Forms with ajax, trigger ajax on form submit.Hi, thank you for the reply.
Here is rml_obj.ajax_url:
wp_localize_script( 'rml-script', 'rml_obj', array( 'ajax_url' => admin_url('admin-ajax.php'), 'check_nonce' => wp_create_nonce('rml-nonce') ) );
On form, if I remove
action
page simple reloads.In JS, if I’m using click on element instead of form submit I get the desired results.
I have 16 checkboxes for now. Maybe I can use
.on('change')
function in JS.
Maybe I can implement some solution from here:
Jquery: Binding change to multiple checkboxes
What do you think?
Thank you!
- This reply was modified 6 years, 10 months ago by amedic.
Hi @raster02,
thank you for your reply. I have excluded that page (?pb_autologin=true) but it didn’t help. I even try with W3 Total Cache disabled but it also didn’t help.
Any idea how to make it work?
Thanks,
Ante
Hi Daniel,
yes, it changes page, that is why the pop is triggered again.
So, no solution for this?
Thanks