WordPress.org

Ready to get started?Download WordPress

Forums

Float Left Right Advertising
Ads gone after upgrading (13 posts)

  1. sijo55
    Member
    Posted 1 year ago #

    My side ads went away after upgrading to 2.0
    Gone back to 1.0 and it works again..

    http://wordpress.org/extend/plugins/float-left-right-advertising/

  2. drmen8x
    Member
    Plugin Author

    Posted 1 year ago #

    hi sijo55, can you tell me what problem with you when you upgrading to 2.0?

  3. drmen8x
    Member
    Plugin Author

    Posted 1 year ago #

    I have tested my plugin with wordpress version 3.4.1 and version 3.4.2 and it done. Check it here http://blog.casanova.vn

  4. sijo55
    Member
    Posted 1 year ago #

    Hi again..
    The ads are not showing with the new version.
    I have tried with IE, FF and chrome.
    I'm using wp 3.4.2

  5. drmen8x
    Member
    Plugin Author

    Posted 1 year ago #

    Try uninstall and reinstall it again. Remember set width & height of your banner (Left & Right).
    You can test it in IE, Chrome, FF this link: http://blog.casanova.vn

  6. sijo55
    Member
    Posted 1 year ago #

    I have done uninstall and reinstall several times with same result.
    I have also tried "Active plugin Yes/No" several times.
    I can see it works on your site, but still not on mine..

  7. sijo55
    Member
    Posted 1 year ago #

    Take a look at this. This is the diff inserted into body:

    Version 1.0:

    <div style="display: none;"><a href="http://casanova.vn" title="Ao So Mi Nam Han Quoc">Ao So Mi Nam Han Quoc</a> va Ao Vest Han Quoc, Ca Vat Han Quoc</div>	<div id="divAdRight" style="display: none; position: absolute; top: 0px;"> <a target="_blank" href = "http://www.xn--idyry-yua.no/iDyroy/redirect.php?url=www.dyroymat.no/">
    <img alt="" src="http://www.xn--idyry-yua.no/iDyroy/images/ads/DMannonse2012.gif" width="180" height="600" class="style1" /></a></div><div id="divAdLeft" style="display: none; position: absolute; top: 0px;"><a target="_blank" href="http://norwayfishing.co.uk/">
    <img alt="" src="http://www.xn--idyry-yua.no/iDyroy/images/ads/NorwayFishing.jpg" width="180" height="600" class="style1" /></a>
    </div>
        	<script type="text/javascript">
    		var clientWidth	=	document.body.clientWidth;
    		if(clientWidth > 1024){
    			MainContentW = 1000;
    			LeftBannerW = 180;
    			RightBannerW = 10;
    			LeftAdjust = 10;
    			RightAdjust = 10;
    			TopAdjust = 80;
    			ShowAdDiv();
    			window.onresize=ShowAdDiv;
    		}
        </script>
    
    	<script type="text/javascript">

    Version 2.0:

    <script type="text/javascript">
                var clientWidth	=	document.body.clientWidth;
                if(clientWidth > 1024){
                    document.write('<div id="divAdRight" style="position: absolute; top: 0px; width:180px; height:600px; overflow:hidden;"> <a target="_blank" href = "http://www.xn--idyry-yua.no/iDyroy/redirect.php?url=www.dyroymat.no/">
    <img alt="" src="http://www.xn--idyry-yua.no/iDyroy/images/ads/DMannonse2012.gif" width="180" height="600" class="style1" /></a></div><div id="divAdLeft" style="position: absolute; top: 0px; width:180px; height:600px; overflow:hidden;"><a target="_blank" href="http://norwayfishing.co.uk/">
    <img alt="" src="http://www.xn--idyry-yua.no/iDyroy/images/ads/NorwayFishing.jpg" width="180" height="600" class="style1" /></a>
    </div>');	
    
                    var MainContentW = 1000;
                    var LeftBannerW = 180;
                    var RightBannerW = 180;
                    var LeftAdjust = 10;
                    var RightAdjust = 10;
                    var TopAdjust = 80;
                    ShowAdDiv();
                    window.onresize=ShowAdDiv;
                }
            </script>

    Is this right?

  8. drmen8x
    Member
    Plugin Author

    Posted 1 year ago #

    download plugin again (if you want). I've added screenshot-3.png (see: http://blog.casanova.vn//wp-content/plugins/float-left-right-advertising/screenshot-3.png), and replace document.body.clientWidth to window.screen.width;.

    Remember: If your resolution width >= Banner Left Width + Margin Left + Main Content Width + Banner Right Width + Margin Right then it display good.

  9. sijo55
    Member
    Posted 1 year ago #

    downloaded and tried, still dont work...

  10. drmen8x
    Member
    Plugin Author

    Posted 1 year ago #

    Show me your url and your configuration. I want to known what error!

  11. sijo55
    Member
    Posted 1 year ago #

    Hi again..
    Here is my site

    ..and my config

    Since I have paid ads in left and right the installed version 2.0 of your plugin will only stay for 1 hour from now, then I'll be back on version 1.0

  12. drmen8x
    Member
    Plugin Author

    Posted 1 year ago #

    From your config:

    Main width: 1000px
    Banner left width: 180px
    Banner right width: 180px
    margin left: 10px
    margin right: 10px

    ==> Total width= 1000+180+180+10+10 = 1380px
    If screen width < 1380px (ie 1280) then horizontal scrollbar will display. I think you should set banner width to 100px if you want ads display in resolution (1280 * xxx)

    At the moment i don't know why your website doesn't display your ads with version 2.0, i'll test this plugin again and fixed soon.

  13. comparco
    Member
    Posted 1 year ago #

    I can only get ads to display when image is loaded on the site
    i.e. http://www.mysite.com/wp-content/uploads/2013/04/image.jpg

    and not when I use the advertisers image from there site
    i.e. http://www.advertisersite.com/images/advert.jpg

    plus clicking the link does not go to ad site, just reopens my site.
    should I try version one?
    many thanks

    http://daftynews.co.uk

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.