arfanzr77
Forum Replies Created
-
Forum: Plugins
In reply to: [Koko Analytics] koko-analytics-collect.php disapearI Try to rollback to WP 5.9.9, then I update again to latest wp. Then now koko analytic create these file automatically..
SOLVED. I Dont know Why.. Just try to rollback then update again.
Thanks @lapzor for your reply..
Forum: Plugins
In reply to: [Koko Analytics] koko-analytics-collect.php disapearI have checked that koko-analytics-collect.php here…
/home/my_username/domains/my_domain/public_html/koko-analytics-collect.php
then the koko-analytics-collect.php
// path to pageviews.php file in uploads directory define('KOKO_ANALYTICS_BUFFER_FILE', '/home/my_username/domains/my_domain/public_html/wp-content/uploads/pageviews.php'); // path to functions.php file in Koko Analytics plugin directory require '/home/my_username/domains/my_domain/public_html/wp-content/plugins/koko-analytics/src/functions.php'; // function call to collect the request data KokoAnalytics\collect_request();
But above php file still removed automatically.. Actually it work, but I don’t convenience with the ”?The plugin is currently not using an optimized tracking endpoint. xxxx” notification.
I think may be my hosting knew it as something dangerous. Then i asked my hosting provider, but they don’t know exactly what I am going through. And they said that nothing dangerous in my wordpress..
Forum: Plugins
In reply to: [Koko Analytics] koko-analytics-collect.php disapearYes,
I Have entered script content as instructed..
When I Disable pulgin, the koko-analytics-collect.php still remaining. but it disapear again when I activated and open analytic dashboard.
How can i check wheter temporary files failed to write? You mean pageview.php in upload folder?
Forum: Plugins
In reply to: [WP Fastest Cache] Remove HTML Trailing Slash When Creating CachePERFECT… It work like a charm.. Thanks @emrevona for your time.
Now, I have found no errors and warning in W3C Validator. Nice..
Thanks very much. So, I want next plugin update, It means I have to keep /inc/cache.php? Or is there another file to keep?
Forum: Plugins
In reply to: [WP Fastest Cache] Remove HTML Trailing Slash When Creating CacheYes, Can you make the filter snippet for me.. I am newbie..
I dont know how to use it for removing trailing slash..
add_filter( 'wpfc_buffer_callback_filter', 'your_function_name', 10, 3);
function your_function_name($buffer, $extension, $cache_file_path){
// Your code
return $buffer;
}Thanks @emrevona for making a great plugin..
Forum: Plugins
In reply to: [Yoast SEO] Remove image-in _yoast_seo_linkOK.. thanks…
Forum: Plugins
In reply to: [WP Fastest Cache] Remove HTML Trailing Slash When Creating CacheNo.. WP Fastest Cache working normally.. But I Want add some function to remove trailing slash… I Know that this plugin can rewrite html code when minify html..
<meta property="og:type" content="website" /> to <meta property="og:type" content="website">
Forum: Plugins
In reply to: [Koko Analytics] Lighthouse User AgentI used tthis…
// Disable Tracking by remote IP Address - Koko Analytic add_filter( 'koko_analytics_load_tracking_script', function() { $ip_address = $_SERVER['REMOTE_ADDR']; $excluded_ip_addresses = array( '127.0.0.1', '114.79.0.0', ); if (in_array($ip_address, $excluded_ip_addresses, true)) { return false; } return true; });
Unfortunately it does’t work with Cache Plugin. These snippet make script disapear..
Forum: Plugins
In reply to: [Koko Analytics] Lighthouse User AgentThanks Danny,
If I cant catch Lighhouse user-agent, Can i Exclude Lighthouse IP ?? E.g : 66.249.xx.xx (Lighthouse IP)
Wow great!!…. Thanks @dvankooten …
Thats Awesome…You mean I have to change this line?
add_filter('koko_analytics_load_tracking_script', function() { // Change it with $myblocklist xxxx ? if ( stripos( $_SERVER['REQUEST_URI'], '/wp-admin/' ) === 0 ) { return false; } return true; });
If i use elsif, Will it work?
add_filter('koko_analytics_load_tracking_script', function() { // do not load tracking script if URL starts with "/wp-admin/" if ( stripos( $_SERVER['REQUEST_URI'], '/wp-admin/' ) === 0 ) { return false; } elseif { $myblockllist = array('url1','url2','url3'); if(in_array($_SERVER['HTTP_REFERER'], $myblockllist)) } return true; });