-
AuthorPosts
-
April 24, 2008 at 8:43 am #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 Friendndmiharu
- Join date:
- April 2008
- Posts:
- 18
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
April 24, 2008 at 9:11 am #246669Did you try naming your folders, image files that don’t contain any “banner”, “ads” prefix?
April 24, 2008 at 9:39 am #246671I 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 Friendperdu
- Join date:
- June 2007
- Posts:
- 227
- Downloads:
- 0
- Uploads:
- 26
- Thanks:
- 10
- Thanked:
- 20 times in 1 posts
April 24, 2008 at 10:55 am #246679Have 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'
April 24, 2008 at 11:14 am #246681so 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 Friendperdu
- Join date:
- June 2007
- Posts:
- 227
- Downloads:
- 0
- Uploads:
- 26
- Thanks:
- 10
- Thanked:
- 20 times in 1 posts
April 24, 2008 at 11:40 am #246683For 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.April 24, 2008 at 12:59 pm #246687I 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 Friendperdu
- Join date:
- June 2007
- Posts:
- 227
- Downloads:
- 0
- Uploads:
- 26
- Thanks:
- 10
- Thanked:
- 20 times in 1 posts
April 24, 2008 at 1:12 pm #246688Just 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)
April 24, 2008 at 1:28 pm #246689Thanks 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 Friendperdu
- Join date:
- June 2007
- Posts:
- 227
- Downloads:
- 0
- Uploads:
- 26
- Thanks:
- 10
- Thanked:
- 20 times in 1 posts
April 24, 2008 at 1:45 pm #246692I 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.
-
AuthorPosts
This topic contains 11 replies, has 3 voices, and was last updated by klmklm 16 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum