Kristiyan Katsarov
Forum Replies Created
-
Forum: Plugins
In reply to: [CoursePress Learning Management System] Backend Is SlowHello, is there any update on this issue? Thanks!
Forum: Plugins
In reply to: [CoursePress Learning Management System] Plugin is slow in backendHi Nastia,
I have tried disabling all plugins and returning to the default theme, as well putting the memory limit 512MB. What I noticed though is that, if I have a unit and add 5 modules, it is the front-end that is blocking (poor javascript). The php and nginx server are completely free (0% load), but the browser is on 100%. Just try having a demo course with 5 units, each with 15 modules and then add a module in any unit, you will notice how the browser seem to block.
Greetings,
KristiyanIn your plugin there are ads, places, zones and blocks. In one static page I use 5 different places with 5 different shortcodes. I want to ask what could be the reason, these ads have different statistics, if they are displayed only in this page.
In my case I have 5 places on one page on the website.
What could be the reason that 5 places on the same page have different statistics?
Thank you. Also there is a small difference in statistics, when I have 5 places on the homepage, but they have different hits, is a hit counted only when in the viewport?
Would this also affect hits count from logged in users? Thank you.
As a logged in user I want to see the ad, but not count the statistics. The general problem is that the hits in the plugin are like 100% more than in Google Analytics, which is really bad when wanting to use the integrated sale system.
Forum: Plugins
In reply to: [Simple Ads Manager] Mysql 100% loadHello, is the issue resolved in the Pro version?
Forum: Themes and Templates
In reply to: Previewing Meta fieldsSolution:
/**
* Saving meta information on post submit
*/
function ausstattung_meta_save($post_id, $post) {$meta = $_POST[‘ausstattung’];
// verify this came from the our screen and with proper authorization,
// because save_post can be triggered at other times
if ( !wp_verify_nonce( $_POST[‘ausstattung_noncename’], plugin_basename(__FILE__) )) {
return $post->ID;
}// Is the user allowed to edit the post or page?
if ( !current_user_can( ‘edit_post’, $post->ID ))
return $post->ID;// Handle revisions
if($post->post_type == ‘revision’) {
if(get_post_meta($post->post_parent, ‘ausstattung’, FALSE)) { // If the custom field already has a value
update_post_meta($post->post_parent, ‘ausstattung’, $meta);
} else { // If the custom field doesn’t have a value
add_post_meta($post->post_parent, ‘ausstattung’, $meta);
}
} else {
// OK, we’re authenticated: we need to find and save the data
// We’ll put it into an array to make it easier to loop though.
if(get_post_meta($post->ID, ‘ausstattung’, FALSE)) { // If the custom field already has a value
update_post_meta($post->ID, ‘ausstattung’, $meta);
} else { // If the custom field doesn’t have a value
add_post_meta($post->ID, ‘ausstattung’, $meta);
}
}
}Forum: Plugins
In reply to: [NextScripts: Social Networks Auto-Poster] Not working if article editetThank you! I couldn’t see it, it seems to be a problem with the user IDs!