Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

 

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 02-11-2007, 05:02 PM   #1
loco12
Confirmed User
 
Join Date: Aug 2003
Location: Dorset, UK
Posts: 638
Hosted gallery script

OK my affiliate program is growing and I am making galleries every day for affiliates. But I have a guy doing it all by hand and its crazy.

So whats the best way of doing this?

Basically I have about 200 movie galleries made up, and I want to host it for the affliiates, who just need at add their code some way and start posting the galleries out there.

Best method/script? How do I go about this the easiest way?
CCBill is the processor.
loco12 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 02-11-2007, 05:43 PM   #2
Lycanthrope
Confirmed User
 
Lycanthrope's Avatar
 
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
You'll have to use php.

Add this to the top of your galleries: (this grabs a variable and in this case it will be your aff's ID. You can also set a default webmaster ID for tracking purposes. If you don't want to use one, delete the entire if statement (everything from if to the closing bracket).

Code:
<?php

$wmid = $_SERVER["QUERY_STRING"];
if ($wmid == "")
{
$wmid = DEFAULT;
}

?>
Then, on your links through ccbill, (where the partner account "PA" variable is insert <?=$wmid?> so a link through would look like so: http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=000000-0000&PA=<?=$wmid?>&HTML=http://www.yoursite.com

Now just have your affiliates link to the gallery like so: http://www.domain.com/gallery/?000000 where 000000 is their aff. id

Since you have already built these galleries, you are going to have to find some sort of find and replace utility to add things, but even then, it wouldn't be a bad idea to verify each one to eliminate the chance of pissing off affiliates :P

Feel free to hit me up w/ any ?s...
__________________
Lycanthrope is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 02-12-2007, 02:14 AM   #3
loco12
Confirmed User
 
Join Date: Aug 2003
Location: Dorset, UK
Posts: 638
Thanks for that. I thik I will try it out on a new affiliate id first to see if I have it right. Certainly don't want to upset the affiliates!!
loco12 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 02-12-2007, 03:48 AM   #4
loco12
Confirmed User
 
Join Date: Aug 2003
Location: Dorset, UK
Posts: 638
Can't get it to work. When I add the top code the page just goes white and doesn't load. Tried inside the head and outside of it.

Very frustrating.
loco12 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 02-12-2007, 04:57 AM   #5
Lycanthrope
Confirmed User
 
Lycanthrope's Avatar
 
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
It must be the very first to appear on your page, even before the doc type and <html...> tag
__________________

Last edited by Lycanthrope; 02-12-2007 at 05:00 AM.. Reason: clarity
Lycanthrope is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
 
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.