WordPress.org

Forums

Easy Plugin for AdSense
[resolved] Easy Adsense Version 7.00 (24 posts)

  1. manojtd
    Member
    Plugin Contributor

    Posted 1 year ago #

    This release contains some deep changes to the options handling, translation, admin page rendering etc. It has been tested quite thoroughly, but you may find some features that don't work as expected. If so, please leave a message here as a reply to this thread. Thanks.

    https://wordpress.org/plugins/easy-adsense-lite/

  2. cbielich
    Member
    Posted 1 year ago #

    My ads do not appear on my site anymore. I have all the default settings in place just as before with showing only 2 ad blocks on the top of the articles and it no longer shows ads on the homepage. It is not set to suppress them on the homepage either so I am not sure whats going on. It was working fine till the update

  3. manojtd
    Member
    Plugin Contributor

    Posted 1 year ago #

    Could you post the URL to your blog page where you expect the ad?

    I would like to look at the HTML code and see if the ad code appears there.

  4. BigRigTravels
    Member
    Posted 1 year ago #

    I also have issues with the latest update. My ads used to show perfectly inside the post box above the post text....and the sidebar.

    The exact minute I updated to this latest version, the ads inside the post block refuse to show on the front page.....but one ad does show only if you open a single post.

    Is there a way I can go back to the previous version? As a temporary fix, I have put one ad above the header..... since no ads are able to be shown in the first two posts like they did before. :(

    This has cost me about half of my ad revenue ...

    http://18wheelsacrossamerica.net

  5. BigRigTravels
    Member
    Posted 1 year ago #

    Ok, did more testing and this is what I found. I CAN make the ads show above the post text.....BUT, only if I choose the option to display unlimited ads.....but then it shows in EVERY post, AND the ad is all that shows, meaning it removes the actual post text itself! Not good. If we can't roll back to the previous version, I will need to uninstall. This was the perfect item for me, but now I might have to look elsewhere.

  6. manojtd
    Member
    Plugin Contributor

    Posted 1 year ago #

    Sorry to hear that there are issues with this release. I will try to reproduce the issue and fix it.

    The previous version is available at
    http://downloads.wordpress.org/plugin/easy-adsense-lite.6.51.zip

  7. scostell
    Member
    Posted 1 year ago #

    I am having an issue with version 7.01 on my site. When ever I have the plugin active no text shows up on my pages or posts. I just get a '.'

    if I use chrome and inspect the elements, I can see the text so I know it is there.

    If i then disable the easy adsense lite plugin all my text displays correctly.

    do you have any idea?

    http://sileadmanager.com/si-lead-manager-v7-pre-release/

    I've also noticed that if I "suppress" the add unit's it the text displays correctly.

    P.S. - I needed to suppress the ads so my site works. If you have any questions or need me to unsuppress the ads let me know and I can do it for a short while.

  8. scostell
    Member
    Posted 1 year ago #

    here is the html that is generated for the easy adsense ad and the text in my post. The result of this html is a '.' and nothing else...

    <div class="ezAdsense adsense adsense-leadin" style="float:right;margin:12px;border:#000000 solid 1px;' onmouseover='this.style.border=" #000000="" solid="" 1px"'="" onmouseout="this.style.border=&quot;#000000 solid 1px&quot;&quot;><script type=&quot;text/javascript&quot;><!--
    google_ad_client = &quot;ca-pub-1681249074767422&quot;;
    /* SILM - Lead In */
    google_ad_slot = &quot;8877608337&quot;;
    google_ad_width = 250;
    google_ad_height = 250;
    //-->
    </script>
    <script type=&quot;text/javascript&quot;
    src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;>
    </script></div>
    
    <p>I’ve gotten tons of great feed back from current users of beta 6, but I’m looking for even more.Sign up for the Pre-Release mailing list and follow along with the development of SI Lead Manager v7. &nbsp;Get regular updates on what is going on and give me feedback on what you think. &nbsp;You may have an idea that I never though of!</p>
    <p><strong>SI Lead Manager v7 will no longer be free</strong>&nbsp;once it is officially released.</p>
    <p>However…<strong>If you sign up for this mailing list you will get it free of charge&nbsp;</strong></p>
    				<span class=&quot;clear&quot;></span>
    			</div>
    
    			<div class=&quot;entry-content&quot;>
    <!-- Post[count: 2] -->
    <div class=&quot;ezAdsense adsense adsense-leadin&quot; style=&quot;float:right;margin:12px;border:#000000 solid 1px;" onmouseover="this.style.border=&quot;#000000 solid 1px&quot;" text="" javascript'="" src="http://sileadmanager.com/wp-includes/js/admin-bar.min.js?ver=3.8.1">
    	<script type="text/javascript">
    		(function() {
    			var request, b = document.body, c = 'className', cs = 'customize-support', rcs = new RegExp('(^|\\s+)(no-)?'+cs+'(\\s+|$)');
    
    			request = true;
    
    			b[c] = b[c].replace( rcs, ' ' );
    			b[c] += ( window.postMessage && request ? ' ' : ' no-' ) + cs;
    		}());
    	</script>
    			<div id="wpadminbar" class="nojq nojs" role="navigation">
    			<a class="screen-reader-shortcut" href="#wp-toolbar" tabindex="1">Skip to toolbar</a>
    			<div class="quicklinks" id="wp-toolbar" role="navigation" aria-label="Top navigation toolbar." tabindex="0">
    				<ul id="wp-admin-bar-root-default" class="ab-top-menu">
    		<li id="wp-admin-bar-wp-logo" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://sileadmanager.com/wp-admin/about.php" title="About WordPress"><span class="ab-icon"></span></a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-wp-logo-default" class="ab-submenu">
    		<li id="wp-admin-bar-about"><a class="ab-item" href="http://sileadmanager.com/wp-admin/about.php">About WordPress</a>		</li></ul><ul id="wp-admin-bar-wp-logo-external" class="ab-sub-secondary ab-submenu">
    		<li id="wp-admin-bar-wporg"><a class="ab-item" href="http://wordpress.org/">WordPress.org</a>		</li>
    		<li id="wp-admin-bar-documentation"><a class="ab-item" href="http://codex.wordpress.org/">Documentation</a>		</li>
    		<li id="wp-admin-bar-support-forums"><a class="ab-item" href="http://wordpress.org/support/">Support Forums</a>		</li>
    		<li id="wp-admin-bar-feedback"><a class="ab-item" href="http://wordpress.org/support/forum/requests-and-feedback">Feedback</a>		</li></ul></div>		</li>
    		<li id="wp-admin-bar-site-name" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://sileadmanager.com/wp-admin/">SI Lead Manager</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-site-name-default" class="ab-submenu">
    		<li id="wp-admin-bar-dashboard"><a class="ab-item" href="http://sileadmanager.com/wp-admin/">Dashboard</a>		</li></ul><ul id="wp-admin-bar-appearance" class="ab-submenu">
    		<li id="wp-admin-bar-themes"><a class="ab-item" href="http://sileadmanager.com/wp-admin/themes.php">Themes</a>		</li>
    		<li id="wp-admin-bar-customize" class="hide-if-no-customize"><a class="ab-item" href="http://sileadmanager.com/wp-admin/customize.php?url=http%3A%2F%2Fsileadmanager.com%2Fsi-lead-manager-v7-pre-release%2F">Customize</a>		</li></ul></div>		</li>
    		<li id="wp-admin-bar-comments"><a class="ab-item" href="http://sileadmanager.com/wp-admin/edit-comments.php" title="0 comments awaiting moderation"><span class="ab-icon"></span><span id="ab-awaiting-mod" class="ab-label awaiting-mod pending-count count-0">0</span></a>		</li>
    		<li id="wp-admin-bar-new-content" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://sileadmanager.com/wp-admin/post-new.php" title="Add New"><span class="ab-icon"></span><span class="ab-label">New</span></a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-new-content-default" class="ab-submenu">
    		<li id="wp-admin-bar-new-post"><a class="ab-item" href="http://sileadmanager.com/wp-admin/post-new.php">Post</a>		</li>
    		<li id="wp-admin-bar-new-media"><a class="ab-item" href="http://sileadmanager.com/wp-admin/media-new.php">Media</a>		</li>
    		<li id="wp-admin-bar-new-page"><a class="ab-item" href="http://sileadmanager.com/wp-admin/post-new.php?post_type=page">Page</a>		</li>
    		<li id="wp-admin-bar-new-landing_page"><a class="ab-item" href="http://sileadmanager.com/wp-admin/post-new.php?post_type=landing_page">Landing Page</a>		</li>
    		<li id="wp-admin-bar-new-user"><a class="ab-item" href="http://sileadmanager.com/wp-admin/user-new.php">User</a>		</li></ul></div>		</li>
    		<li id="wp-admin-bar-edit"><a class="ab-item" href="http://sileadmanager.com/wp-admin/post.php?post=1197&action=edit">Edit Landing Page</a>		</li></ul><ul id="wp-admin-bar-top-secondary" class="ab-top-secondary ab-top-menu">
    		<li id="wp-admin-bar-search" class="admin-bar-search"><div class="ab-item ab-empty-item" tabindex="-1"><form action="http://sileadmanager.com/" method="get" id="adminbarsearch"><input class="adminbar-input premise-input" name="s" id="adminbar-search" type="text" value="" maxlength="150"><input type="submit" class="adminbar-button premise-submit" value="Search"></form></div>		</li>
    		<li id="wp-admin-bar-my-account" class="menupop with-avatar"><a class="ab-item" aria-haspopup="true" href="http://sileadmanager.com/wp-admin/profile.php" title="My Account">Howdy, admin<img alt="" src="http://1.gravatar.com/avatar/fe0e3d770b973dcf5a80d87a0865fd43?s=26&d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D26&r=G" class="avatar avatar-26 photo" height="26" width="26"></a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-user-actions" class="ab-submenu">
    		<li id="wp-admin-bar-user-info"><a class="ab-item" tabindex="-1" href="http://sileadmanager.com/wp-admin/profile.php"><img alt="" src="http://1.gravatar.com/avatar/fe0e3d770b973dcf5a80d87a0865fd43?s=64&d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D64&r=G" class="avatar avatar-64 photo" height="64" width="64"><span class="display-name">admin</span></a>		</li>
    		<li id="wp-admin-bar-edit-profile"><a class="ab-item" href="http://sileadmanager.com/wp-admin/profile.php">Edit My Profile</a>		</li>
    		<li id="wp-admin-bar-logout"><a class="ab-item" href="http://sileadmanager.com/wp-login.php?action=logout&_wpnonce=89b97c00ab">Log Out</a>		</li></ul></div>		</li></ul>			</div>
    						<a class="screen-reader-shortcut" href="http://sileadmanager.com/wp-login.php?action=logout&_wpnonce=89b97c00ab">Log Out</a>
    					</div>
    
    				<script type="text/javascript">jQuery('input[type=text]').addClass('premise-input'); jQuery('input[type=submit]').addClass('premise-submit');</script>
    
    </div>
  9. manojtd
    Member
    Plugin Contributor

    Posted 1 year ago #

    I think this is a bug. I will fix it and make a release within 24 hours.
    Thanks for pointing it out.

    As a workaround, could you try disabling the option "Show a border around the ads? "?

  10. scostell
    Member
    Posted 1 year ago #

    yup, disabling "show a border around the ads" fixes the issue.

  11. manojtd
    Member
    Plugin Contributor

    Posted 1 year ago #

    Just pushed V7.02 to fix this issue. Please give it a go. Thanks.

  12. Rhycar
    Member
    Posted 1 year ago #

    With the release of 7.01, I am no longer able to block an ad that shows up on my home page. It's problematic because I have my website in a centered orientation, and the ad is pushing text off to the side. Any ideas how to change this?

    Website is http://www.lrfoodcast.com. Thanks~

  13. manojtd
    Member
    Plugin Contributor

    Posted 1 year ago #

    Did you try checking the following options on the admin page?
    Suppress AdSense Ad Blocks on:
    Sticky Front Page
    Home Page
    Front Page

    I'm working on improving the handling of these options. Will make another release (7.10) in about ten hours with this and other coding improvements.

  14. Rhycar
    Member
    Posted 1 year ago #

    Thank you for the response. I checked all of them in various combinations and saved my changes. When I went back to my home page, nothing changed. When I then returned to the Easy Adsense settings, the options I had saved had been unchecked again.

  15. manojtd
    Member
    Plugin Contributor

    Posted 12 months ago #

    I just committed V7.10 to handle the ad blocks and suppression better. Please take a look and see if this issue is resolved.

  16. Rhycar
    Member
    Posted 12 months ago #

    As soon as WordPress makes it live, I will let you know how it goes. Thank you for your communication, it's very much appreciated.

  17. Rhycar
    Member
    Posted 12 months ago #

    It did not work for me, though at least the options I mentioned above stay checked. I have now blocked ads on pages, sticky front page, home page and front page, but the ad is still there on my home page.

    http://www.lrfoodcast.com

  18. manojtd
    Member
    Plugin Contributor

    Posted 12 months ago #

    That's strange. How do you specify the home page http://www.lrfoodcast.com? I mean, what do you have as "WordPress Address (URL)" and "Site Address (URL)" in http://www.lrfoodcast.com/wp-admin/options-general.php? Is there some other option in your theme config where you specify your home page?

    Looks like the WP functions like is_home(), is_front_page() and is_sticky() are returning false on your home page, which is why I ask.

  19. Rhycar
    Member
    Posted 12 months ago #

    Yes, both my WordPress Address and Site Address are set to http://www.lrfoodcast.com. I am using Virute 2.1.0 as my theme. I'm not entirely sure how to modify the functions is_home(), is_front_page() and is_sticky(). Any advice on how to change those?

  20. manojtd
    Member
    Plugin Contributor

    Posted 12 months ago #

    We cannot change the WP functions like is_home etc. I will try to take a look at the theme and debug. Thanks.

  21. manojtd
    Member
    Plugin Contributor

    Posted 12 months ago #

    BTW, when you visit your home page after logging in as admin, does it give you an option to Edit Page or Post? If so, could you edit the page and add a Custom Field with name = adsense and value = no? This custom field should suppress ad blocks on the page.

  22. manojtd
    Member
    Plugin Contributor

    Posted 11 months ago #

    @Rhycar,

    Do you have a customized front_page.php in your theme folder? I installed the Virtue theme in my local blog, and it seems to return the correct values for the functions.

    I added the following lines at the beginning of front_page.php:

    <?php
    $kills = array('page', 'sticky', 'home', 'front_page', 'category',
            'tag', 'archive', 'search', 'single', 'attachment');
    foreach ($kills as $k) {
      $fn = "is_$k";
      printf("Output of <code>%s</code> is: <code>%b</code><br/>\n", $fn, $fn());
    }
    ?>

    And I get:

    Output of is_page is: 0
    Output of is_sticky is: 0
    Output of is_home is: 1
    Output of is_front_page is: 1
    Output of is_category is: 0
    Output of is_tag is: 0
    Output of is_archive is: 0
    Output of is_search is: 0
    Output of is_single is: 0
    Output of is_attachment is: 0

    May be you could try the test?

  23. Rhycar
    Member
    Posted 7 months ago #

    Hi, I am so sorry it's taken me months to respond to this. I ran the test and did not get the same results you did. Specifically, the home output did not return positively.

    Output of is_page is: 1
    Output of is_sticky is: 0
    Output of is_home is: 0
    Output of is_front_page is: 1
    Output of is_category is: 0
    Output of is_tag is: 0
    Output of is_archive is: 0
    Output of is_search is: 0
    Output of is_single is: 0
    Output of is_attachment is: 0

    What should I do to make output of is_home become a 1? Thanks again for all your help.

  24. manojtd
    Member
    Plugin Contributor

    Posted 6 months ago #

    I'm sorry, I don't know how to modify is_home() function, and why it would behave differently for you.

    Since is_front_page() is returning 1, may be you could try suppressing ads on the front page?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic