How Does one go about with the generation and delivery of adult hosted galleries for website affiliates. The un-sexy side of adult website management is inside. This is a purely technical (and long) question, but be warned: questions, ideas and answers inside may be NSFW, and definitely are not NSF Children.
I own and run an adult website which caters to a niche of a niche, consisting of content I created (not purchased or leased content). I have had the site for about 6 years.
For this site I have an affiliate program (run through CCBill, my credit card processor). Basically what this is is, when an affiliate signs up they are automatically assigned, through CCbill, a numeric code. The affiliate puts this code inside any html link they create on their site, like a banner, (or any where else they link to me from), which sends traffic to my site. This code can be tracked and anytime someone joins my site after following the affiliates coded link, the affiliate receives a commission on the sale. This works very well.
The affiliate code looks like this:
http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=XXXXXX-XXXX&PA=ZZZZZZZ
Where
“XXXXXX-XXXX” is my static account number that will be the same in every link, no matter the link or affiliate
And
“ZZZZZZZ” is the affiliate number assigned by CCBill to the affiliate.
The larger sites take this a step further and offer “Hosted Galleries”. These are generally one-page galleries, not just banners, which the adult webmaster hosts and the affiliate then places the link to out on the web.
I've wanted to add hosted galleries to my program for a while. I would initially design the gallery page, but the links on it back to my site would have to contain the individual affiliate codes in the link.
But what keeps getting in my way is that I cant figure out a way to get the links in the hosted galleries generated with the affiliate member’s codes already on them. Or a way for the affiliate to insert their code and generate the page at will. And the put the page on my server.
For example, as I see it, if I have 100 affiliates and 20 hosted galleries I'm going to need 2000 hosted pages generated automatically, or at will by the affiliate, with proper affiliate codes in the links (100 sets of 20). The only difference in the html would be the 7-digit affiliate ID code. The generated file would probably also have to be named “gallery01ZZZZZZZ.htm” or something like that
eeek!
I am looking for a script (ideally free, of course), or something I can built a page/site around that can do this. Or any other solution that doesn’t involve me manually changing the code on 2000 pages :-)
My HTML brain hurts!
Any thoughts?
TIA!
P.S. No, CCBill does not offer a tool to do this.
posted by spaceman_spiff at 2:17 PM on December 2, 2006