Affiliate Banners as Links
By Paul
0/5 based on 0 votes. The median rating is 0.
By Paul
Sometimes you may want to include a link in your directory for which you want to get affiliate credit, but the advertiser doesn't allow you to simply link to a URL. You can work around this by having a special field whose contents are displayed when filled.
1) Go to Admin -> Members -> Manage Usergroups and set the Administrator usergroup to be able to use HTML.
2) Go to Admin -> Customizations -> Add Fields, and add a link field named 'affiliatecode'. You'll want to make it only editable by administrators, so uncheck the boxes for allowing users to edit or submit.
3) Go to Admin -> Templates -> Manage Templates, and edit the 'Link Bit' template to replace
with
3) Edit any applicable links in the directory to supply the affiliate code.
1) Go to Admin -> Members -> Manage Usergroups and set the Administrator usergroup to be able to use HTML.
2) Go to Admin -> Customizations -> Add Fields, and add a link field named 'affiliatecode'. You'll want to make it only editable by administrators, so uncheck the boxes for allowing users to edit or submit.
3) Go to Admin -> Templates -> Manage Templates, and edit the 'Link Bit' template to replace
<a href="http://scripts.webmastersite.net/wsngallery/manual/{TRACKLINKURL}" >affiliate_banners_as_links</a>
with
<IF {LINKAFFILIATECODEBOOL}>{LINKAFFILIATECODE}<OTHERWISE><a href="http://scripts.webmastersite.net/wsngallery/manual/{TRACKLINKURL}" >affiliate_banners_as_links</a></IF>
3) Edit any applicable links in the directory to supply the affiliate code.
Rating:
0/5 based on 0 votes. The median rating is 0.
Submitted: 07/13/07 (Edited 07/14/07)
Description: How to place links in your directory which aren't actually links, but are affiliate codes (iframes, javascript, banners, or the like).
Views:
105 views. Averaging 0 per day.
In the most recent 30 day period, there've been 1 views.

Print
E-Mail