Providing proper BFAST affiliate links

Posted on Saturday, September 13, 2003 @ 05:06:44 UTC in Code Hacks
by Raven

raphaelbtt writes:  
If you manage advertising for affiliate links on your site, you may be asked to insert a 1x1 pixel with a separate link as the image. Of course, using PHP-Nuke, this is not possible natively, since they only give you fields to fill in for the Click URL and Image URL.

But, by modifying one line in the block-Advertising.php file in your blocks folder, you can add the 1x1 pixel. I don't know if this really makes a difference, but when it comes to getting credit for your click-throughs, it wouldn't hurt "one bit" to do as they ask...Look for this line:
$content = "

$row[alttext]
";

And change it to this:
$content = "

$row[alttext]
";

For BeFree's bfast link, they give you two HTML links. The only difference is that one is a click? URL and the other is a serve? URL. Since there is no field to enter the other URL, the inserted HTML tag automatically replaces it. If you don't have a bfast link, the 1x1 pixel won't do any harm anyway.

Provided by BeyondTheTech.com
 
 
click Related        click Share
 
News ©

Site Info

Last SeenLast Seen
  • ofigustavo
  • neralex
Server TrafficServer Traffic
  • Total: 482,312,970
  • Today: 31,235
Server InfoServer Info
  • Apr 18, 2024
  • 09:20 pm UTC