how to hide my affilate link

aruns4 - November 15, 2008 - 17:55

i would like to hide my affiliate in my ad banners in my site.i tried many ways but could not..

it should mask my aff id such that when mouse hovers over any one ad it should be visible in the status bar as www.mysite.com/something but the landing page should be of the ads site mentioned. just want to mask it from being visible..

a similar one is found in www.mydrupal.com.
u can check the ads in the left side of that site when u just move ur mouse over there..

any ideas would be greatly apppreciated..

Text Link Ads

Ninja Overlord - November 15, 2008 - 19:35

The site you referred to seems to be using this module to attain that effect:
http://drupal.org/project/textlinkads
So, if you don't mind switching who specifically the sponsors are, you may just want to make use of that module; else one would need to look under the hood of that module more to understand how that works better.

I determined the module by looking at the source code of the page - block names usually appear as the div id's to allow CSS to customize a particular block in terms of theming something, this block was named text-link-ads-0 I believe which led me to that specific module after a search. If a module makes a block it is usually prefaced by the module name to prevent naming conflicts.

i agree.. it should be....

aruns4 - November 16, 2008 - 14:47

i agree.. it should be....

i use the following now to

aruns4 - November 17, 2008 - 17:58

i use the following now to hide my affiliate link..

<?php
            header
("location:affiliate url here");
           
?>

save the above code in an index.php file

and copy to folder name say google and the url is google.com

upload to the server and its like http://mysite.com/google

and now the landing page will be google.

u can use ur affiliate id instead of google..

but when the landing page is loaded the affiliate id ll b visible in the address bar.

Is there any php codes that ll makes www.mysite.com/google appear in the address bar itself but the landing page getting displayed is google?

in WP, url redirect pluggin does this..

i hope any one here ll create a module for this...

in WP there is

hedac - February 22, 2009 - 14:43

We are trying to cook sg up

giorgio79 - March 21, 2009 - 14:19

We are trying to cook sg up for this here:

http://drupal.org/node/399436

subscribe

yrre7 - May 6, 2009 - 01:15

subscribe

 
 

Drupal is a registered trademark of Dries Buytaert.