ronshank Posted December 28, 2013 Share Posted December 28, 2013 I've got the following code in the settings: <a href="[AffiliateLinkCode]"><img src="http://www.optimusmedia.com/banners/468x60banner.gif" width="468" height="60" border="0"></a><br> <(a href="[AffiliateLinkCode]")><(img src="http://www.optimusmedia.com/banners/468x60banner.gif" width="468" height="60" border="0")><(/a)><br><br> <a href="[AffiliateLinkCode]"><img src="http://www.optimusmedia.com/banners/120x60banner.gif" width="120" height="60" border="0"></a><br> <(a href="[AffiliateLinkCode]")><(img src="http://www.optimusmedia.com/banners/120x60banner.gif" width="120" height="60" border="0")><(/a)><br><br> This site hosted by <a href="[AffiliateLinkCode]">OptimusMedia.com</a><br> This site hosted by <(a href="[AffiliateLinkCode]">OptimusMedia.com</a)><br><br> Yet the preview images do not display on the /affiliates.php page for the clients. Anyone else seeing (or not seeing) this? BTW: The 3rd code snippet works. It's only the images that do not appear. Screenshot attached. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 28, 2013 Share Posted December 28, 2013 what's with the '(' in the links ? I don't think they're going to help! I would suggest moving the banners to a local directory to the template - that way, you can use relative links and not http:// <img src="banners/120x60banner.gif" width="120" height="60" border="0"> you may have to add {$template} to that path, but it should work once you get the path right. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 29, 2013 Share Posted December 29, 2013 having now taken a look at the affiliates page, I can see why the '(' are there! do you have any hotlink prevention on those images? if I use your code, then the banner images don't show - but if I replace your banner link with one to the WHMCS logo, the whmcs logo shows. <a href="[AffiliateLinkCode]"><img src="http://www.whmcs.com/wp-content/themes/whmcs/images/logo_whmcs.png" width="171" height="38" border="0"></a><br><(a href="[AffiliateLinkCode]")><(img src="http://www.whmcs.com/wp-content/themes/whmcs/images/logo_whmcs.png" width="171" height="38" border="0")><(/a)><br><br> basically, I think the code is correct but there is something preventing your specific banner images from being shown. 0 Quote Link to comment Share on other sites More sharing options...
ronshank Posted December 29, 2013 Author Share Posted December 29, 2013 Thanks Brian, I'll check on that. In fact, I think I can test here. /http://www.optimusmedia.com/banners/468x60banner.gif 0 Quote Link to comment Share on other sites More sharing options...
ronshank Posted December 29, 2013 Author Share Posted December 29, 2013 I don't show HotLink protection on, and I enabled it and disabled it, but you are right. That sure seems to be the case. And I can't have an affiliate program until I resolve this. I'll check permissions and hunt for a hidden .htaccess file somewhere.. Thanks again. 0 Quote Link to comment Share on other sites More sharing options...
ronshank Posted December 30, 2013 Author Share Posted December 30, 2013 Good grief. I found the problem. Ad Block Plus. Because they are standard banner sizes my ad blocking software shut them down. Grrrrr.. Thanks for looking into this. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 30, 2013 Share Posted December 30, 2013 lI was using Firefox with Ad Block Plus too - so that explains why I was seeing the same thing! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.