coolph
Forum Replies Created
-
Forum: Plugins
In reply to: [Ad Invalid Click Protector (AICP)] Not working anymoreLet’s talk in private please. Need to share some more information. Please contact me using contact us button my on website.
I’m enabling the cache again.
Forum: Plugins
In reply to: [Ad Invalid Click Protector (AICP)] Not working anymoreNot coming now. Seeing an entry from 162.144.26.58 at 2019-04-14 20:27:15
Forum: Plugins
In reply to: [Ad Invalid Click Protector (AICP)] Not working anymoreNot sure, the second ad is loading fine for me. Try reloading the page. Sometimes it doesn’t comes on first go.
Forum: Plugins
In reply to: [Ad Invalid Click Protector (AICP)] Not working anymoreDone. Please try and let me know.
I have also cleared that blocked IP.Forum: Plugins
In reply to: [Ad Invalid Click Protector (AICP)] Not working anymoreI will disable the cloudflare cache for sometime. Let me know when you will be online.
Forum: Plugins
In reply to: [Ad Invalid Click Protector (AICP)] Not working anymoreHi, I have added shortcodes like this in functions.php file –
add_shortcode( 'M1', function() { if( aicp_can_see_ads() ) { // This part will show ads to your non-banned visitors $adCode = '<div class="aicp"><!-- Don\'t forget to add this div with aicp class --> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- M1 --> <ins class="adsbygoogle" style="display:inline-block;width:300px;height:250px" data-ad-client="ca-pub-XXXX" data-ad-slot="6371855059"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div><!-- end of the aicp div -->'; return $adCode; } } );
Also not sure how is this possible, but it’s logging same IP every time. I’m seeing the click from IP 162.144.26.58 (the same one as I mentioned before) at 2019-04-14 11:58:29.
There is no caching apart from cloudfare caching of website’s static content (JS, CSS, etc)
Forum: Plugins
In reply to: [Ad Invalid Click Protector (AICP)] Not working anymoreOkay. I have reactivated your plugin and added shortcode to one specific page.
https://www.techiedelight.com/list-of-problems/ (Below Subscribe to post button, two 250x300px ads are displayed.. second one uses your shortcode with data-ad-slot=”6371855059″)
Initially, this ad didn’t get loaded to me since plugin has a blocked user with IP 162.144.26.58, but on clearing the IP, the ad loaded fine.
Hope this helps.
Forum: Plugins
In reply to: [Ad Invalid Click Protector (AICP)] Not working anymoreI have removed all the shortcodes for now since advertisements were not being displayed. I was blocking the user for 24 hours on single ad-click.
I did monitor the impressions of different codes in my adsense account. The one which was using your shortcode were not reflecting in my account. Everything started working when I cleared the blocked users and again the issue started happening on the first ad click.
I don’t use any cache plugin, neither did I made any other changes recently.
Forum: Plugins
In reply to: [Yoast SEO] Plugin not working: Several errors at consoleThank for replying. I’m already on WP Version 4.9.8. The issue got revolved with plugin’s 5th September update.
Forum: Plugins
In reply to: [Ad Blocking Advisor] Not workingNope. Removing last
'
didn’t work. Crashed my site. But on removing esc_url() function, the JavaScript is loaded fine.wp_register_script( "aba_script", plugin_dir_url( __FILE__ ) . 'js/ad-blocking-advisor.js', array( 'jquery' ) );
Forum: Plugins
In reply to: [Ad Blocking Advisor] Not workingI installed the plugin normally through WordPress dashboard. I reinstalled it again but no luck.
And you’re right. The issue is that it is somehow sanitizing the URL by converting ‘ to & #039; and space to %20.
../js/ad-blocking-advisor.js'%20defer%20onload=''
From the source code of plugin I can see you’re using esc_url() function. Would that be causing the issue?
wp_register_script( "aba_script", esc_url( plugin_dir_url( __FILE__ ) . 'js/ad-blocking-advisor.js' ), array( 'jquery' ) );
I think you need to remove last ‘ inside esc_url(). Something like
'js/ad-blocking-advisor.js )',
This one was coming fine –
echo '<img src="' . plugin_dir_url( __FILE__ ) . 'images/1px-transparent.png" alt="">';
<div class="footer_ad"><img src="https://www.techiedelight.com/wp-content/plugins/ad-blocking-advisor/images/1px-transparent.png" alt="" style="display: none !important;"></div>
Forum: Plugins
In reply to: [Comments - wpDiscuz] HTTP ERROR 500 on edit-comments.phpPHP version is 5.6 hosted by Bluehost.
Forum: Plugins
In reply to: [Comments - wpDiscuz] HTTP ERROR 500 on edit-comments.phpAlso it broke when I upgraded to WP latest version.
Forum: Plugins
In reply to: [Comments - wpDiscuz] Error after Update 4.0.10 Error 500Please test properly before releasing any update!!