Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   I need a tutorial on creating FHG for my paysite (http://www.greenguysboard.com/board/showthread.php?t=21413)

ponyman 2005-06-28 05:02 PM

I need a tutorial on creating FHG for my paysite
 
My paysite has been live for several years, now and I'd like to start offering FHG & FHS for my affiliates.

Does ayone know of a tutorial out there that I could learn from?

I've searched a lot for some kind of help, but I can't find any.

Thanks, yo |bow|

Chop Smith 2005-06-28 07:02 PM

Specifically, what are you looking for?

ponyman 2005-06-28 07:11 PM

I want o be able to create TGP and FREESITES that promote my Paysite, host these pages on my server, and then provide link codes to my affiliates so they get credit for any sales they make by sending traffic to those pages.

Really, just the typical thing you see here at your cool site: http://hfslinks.com/

That's what I want to offer my webmasters. Thanks Chop!

Alliance 2005-06-28 07:34 PM

I don't see any problem to do this. You don't need any tutorial.

Just do it. :)

ponyman 2005-06-28 07:46 PM

But how do I make these pages so they retain the webmasters affiliate id link code?

ponyman 2005-06-28 07:49 PM

like this: http://galleries.sweetmoney.com/gall...00/?r=ponyman2

So when I use that link, all links on that Sweet page have my refer code in them.

Toby 2005-06-28 07:49 PM

You just need to insert some relatively simple PHP coding into the pages to retrieve the affiliate ID from the incoming URL and insert it into the appropriate place within links on the page.

ponyman 2005-06-28 07:51 PM

Thanks, Toby! But, uh, I don't know shit about PHP coding :) can you point me to a beginners guide to do this? It sounds pretty easy.

Toby 2005-06-28 08:01 PM

I'm not aware of such a guide, but I think I can get you started. Lets assume your FHG has a URL like this:
http://www.yourpaysite.com/fhg/gallery1.php?ID=ponyman2

Wherever you have links in the gallery that go to your site tour, place the standard affiliate link but use the PHP code below in place of the actual affiliate ID.
PHP Code:

<?= $_GET['ID'?>


Toby 2005-06-28 08:04 PM

For hosted free sites it gets a little more complicated, but only because you have to add the codes to the navigation links so that the affiliate ID gets passed from page to page.

Useless 2005-06-28 08:53 PM

Check your PMs ponyman.

ponyman 2005-06-28 09:29 PM

Holy shit, DUDE! That worked like a f'in charm! That was all I needed, man you rock! I owe you, Toby!

Toby 2005-06-28 09:34 PM

I keep tellin' people that this scripting stuff isn't that hard. :D

If you'll be at Internext, I drink Long Island Iced Teas. ;)

emmanuelle 2005-06-28 09:44 PM

Quote:

Originally Posted by Toby
For hosted free sites it gets a little more complicated, but only because you have to add the codes to the navigation links so that the affiliate ID gets passed from page to page.


Q: Since the cookie is dropped into the surfer's browser when he clicks on the link to the warning page, would the cookie not carry through to subsequent pages regardless?

Toby 2005-06-28 09:53 PM

Quote:

Originally Posted by emmanuelle
Q: Since the cookie is dropped into the surfer's browser when he clicks on the link to the warning page, would the cookie not carry through to subsequent pages regardless?

No, at that point the surfer hasn't been thru the sponsor gateway so no cookies have been set. That doesn't happen until they click a sponsor link on one of the pages of the hosted free site.

emmanuelle 2005-06-28 10:02 PM

ok- I was thinking of links that began with http://refer.ccbill.com/cgi-bin/clic...n.com/freesite

rather than http://domain.com/freesite.php?xxxxxx


Even still, wouldn't the warning page be enough?

Toby 2005-06-28 10:25 PM

Quote:

Originally Posted by emmanuelle
ok- I was thinking of links that began with http://refer.ccbill.com/cgi-bin/clic...n.com/freesite

rather than http://domain.com/freesite.php?xxxxxx


Even still, wouldn't the warning page be enough?

Only if you had code within your warning page that set a cookie that you then retreived on each page. Until the surfer actually clicks a link to the sponsor tour no affiliate tracking cookie has been set. It's easier to just insert the PHP code into the nav links of the HFS, and also more reliable since it's not dependent on the surfer allowing cookies or the hosted sites being on the same domain.

Chop Smith 2005-06-28 10:32 PM

Emmanuelle,

You can 'lick a cat' several different ways and your logic is correct.

http://refer.ccbill.com/cgi-bin/clic....com/freesite/

The cookie is set and surfer is sent to free site.

emmanuelle 2005-06-28 10:42 PM

YAY- We're all right
lol

Toby 2005-06-28 10:47 PM

Quote:

Originally Posted by Chop Smith
Emmanuelle,

You can 'lick a cat' several different ways and your logic is correct.

http://refer.ccbill.com/cgi-bin/clic....com/freesite/

The cookie is set and surfer is sent to free site.

Yes, that will work with CCBill. BUT... it also makes it difficult to track click-thru rates since you're counting a click-thru everytime a surfer hits the warning page using that kind of a link even if they never vsit the site tour.

Also, using PHP to pass the code from page to page will work regardless of what affiliate tracking package is in use.

To take it to the next step, using .htaccess and Mod Rewrite to embed the affiliate ID into the URL path instead of as a parameter dangling at the end has additional benefits. Check out the HFS that Simon has set up at FetishClub for an example.

ponyman 2005-06-28 11:19 PM

Ok, Toby, now it's getting complicated..... haha

I made 3 FHG and they work awesome!

Chop Smith 2005-06-28 11:28 PM

Yeah, Simon and Swedguy 'licks the cat' different. It is all okay if Ponyman found a solution to fit his needs

Toby 2005-06-28 11:44 PM

After all this cat lickin', I think I have a hair ball..... |cat

Chop Smith 2005-06-28 11:52 PM

Spit! It helps.

ponyman 2005-06-29 01:59 AM

lick


All times are GMT -4. The time now is 06:35 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc