Jump to content

Affiliate Banners not displayed


ronshank

Recommended Posts

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.

Selection_131228_01.png

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated