|
|
|
||||
|
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. |
|
|||||||
| New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
|
Thread Tools |
|
|
#1 |
|
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. |
|
|
|
|
|
#2 |
|
Confirmed User
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;
}
?>
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... |
|
|
|
|
|
#3 |
|
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!!
|
|
|
|
|
|
#4 |
|
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. |
|
|
|
|
|
#5 |
|
Confirmed User
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
|
|
|
|