Plugin Author
Nikel
(@nikelschubert)
Hi,
I am not sure, what you mean. Have you followed this documentation?
https://beautiful-cookie-banner.com/documentation/cookie-consent-premium-add-on-documentation/auto-block-scripts-and-cookies-configure-blocking-rules/
You have to first enable the blocking and then add the services to block.
Regards
Thanks Nikel,
for answering. I followed the above instructions. However after enabling the blocking I see no list or button “Add Rule”. See screenshot below https://photos.app.goo.gl/gnppYaKhVSEfzNPW8
I just added a view of the network traffic from the Chrome developer tools and it seems the iFrame document can’t be loaded (404)
Regards
Oliver
Hi Nikel,
I found the culprit. My wordpress runs on a NON default port (not 443) and that trips some security checks. Here is how I fixed it locally.
$url_host_name = parse_url($plugin_url, PHP_URL_HOST);
$request_host_name = $_SERVER['HTTP_HOST'];
// [ need to cater for <code>host:port</code> since some "buggy" SAPI(s) have been known to return the port too, see http://goo.gl/bFrbCO
$strpos = strpos($request_host_name, ':');
if($strpos !== false){
$url_host_name .= ":" . parse_url($plugin_url, PHP_URL_PORT);
}
if ($url_host_name !== $request_host_name) {
$plugin_url .= "_NOT_THE_SAME_HOST_" . $plugin_url . "_NOT_THE_SAME_HOST_";
}
in plugins/beautiful-and-responsive-cookie-consent-addon/admin/app/index.php
Plugin Author
Nikel
(@nikelschubert)
Hi,
thanks a lot for sharing. Will implement a fix for the next version.
Regards
Plugin Author
Nikel
(@nikelschubert)
Hi @smartpersonalfinance,
the newest version (1.2.2) should fix the error.
Thanks a lot for the report and pointing out the cause.
Regards