Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • klmklm Friend
    #127863

    I have created a site and used a banner to let visitors click to go to the signin page, now the problem is some members cannot see the banner as their Internet provider treat this as an advert and blocks it. Is there a way to portray the banner to be displayed without having it blocked by ad blockers.

    Thanks

    ndmiharu Friend
    #246669

    Did you try naming your folders, image files that don’t contain any “banner”, “ads” prefix?

    klmklm Friend
    #246671

    I think I’ll try to rename the banner folder into something else and see the result, but would I have to change any settings in the banner moduale….

    Thanks for the reply

    perdu Friend
    #246679

    Have a look in the banner module file, if you’re using the default it’s mod_banners.php often the alternate text is the problem as its set to ‘advertisment’

    _BANNER_ALT','Advertisement'

    klmklm Friend
    #246681

    so how is is possible to rename banner folder so that ad blocker dont attempt to block these banners. I cannot just change the banner folder in the main image folder, there is something that need chaging in the code, what is it, any ideas?:-*

    perdu Friend
    #246683

    For joomla version 1x look in components/com_banners/banners.php and find this bit of code:

    } else if (eregi( "(.bmp|.gif|.jpg|.jpeg|.png)$", $banner->imageurl )) {
    $imageurl = "$mosConfig_live_site/images/banners/$banner->imageurl";
    echo "<a href="".sefRelToAbs("index.php?option=com_banners&task=click&bid=$banner->bid").""
    target="_blank"><img src="$imageurl" border="0" alt="Advertisement" /></a>";
    } else if (eregi(".swf$", $banner->imageurl)) {
    $imageurl = "$mosConfig_live_site/images/banners/".$banner->imageurl;

    It’s probably very similar with joomla 1.5.

    klmklm Friend
    #246687

    I am using 1.5 and its not the same file, there are similarities though….

    is that the only file to change or is there others, bare in mind that I want to change the name of the banner folder from banners into something else like boxes….

    thanks

    perdu Friend
    #246688

    Just had a quick look and in 1x it’s also in administrator/components/com_banners/ admin.banners.html.php & admin.banners.php

    Just go through all the banner component’s files and search for images/banners and the word Advertisement change them to the image folder you want to use (make backup copies of the files first)

    klmklm Friend
    #246689

    Thanks perdu for the quick response. In order for me to change wording on the site to not include banner word, I will have to change the banner class which is bannergroup and com_banners and so on, so anything that got the word banner has to be reworded I think.

    This should do the trick I think. But how do banner blocker work, do they actually block certain tags or words, as rewording banners will take time….

    Any thoughts on this…..

    perdu Friend
    #246692

    I think that you just need to change the folder paths in the files i.e. images/banners to images/yourfolder and the word ‘advertisement’ to something else like ‘featured’. I don’t think you need to change the name of the component or the names of the files as they don’t show anywhere in the page’s source code.

    klmklm Friend
    #246697

    in Joomla 1.5 there is no Advertisment word, the ALT tag displays Banner and not Advertisment, I have taken the ALT tag but that did not solve the problem.

Viewing 11 posts - 1 through 11 (of 11 total)

This topic contains 11 replies, has 3 voices, and was last updated by  klmklm 16 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum