Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2004-07-08, 08:33 AM   #1
terry
You can now put whatever you want in this space :)
 
terry's Avatar
 
Join Date: Apr 2004
Location: Montreal
Posts: 5,883
Send a message via ICQ to terry
Providing different tour options

Hi All,

I have a paysite that I would like to offer different tours for my affiliates, 1 with a popup and the other without.

Is there a script or code somewhere that I could use to do this?

Im using CCBill for billing.

Thanks for your help,

Terry
terry is offline   Reply With Quote
Old 2004-07-08, 08:36 AM   #2
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 41,929
Send a message via ICQ to Greenguy
Basically just copy the tour into a different directory & remove the pop-up. Then make sure the multiple URL/page thing is turned on in the CCBill admin so that the webmaster can send traffic to any page on the site using the &HTML=http://www.whatever.com/ part on the end of the URL.
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Old 2004-07-08, 08:58 AM   #3
terry
You can now put whatever you want in this space :)
 
terry's Avatar
 
Join Date: Apr 2004
Location: Montreal
Posts: 5,883
Send a message via ICQ to terry
Excellent Greenguy.. THANKS!

Terry
terry is offline   Reply With Quote
Old 2004-07-08, 10:43 AM   #4
terry
You can now put whatever you want in this space :)
 
terry's Avatar
 
Join Date: Apr 2004
Location: Montreal
Posts: 5,883
Send a message via ICQ to terry
Ok the above works.. now lets go to the next step...

Lets say I wanted to offer hosted galleries, using the above I would have to make double galleries, one for each link.

I am sure with php I can use just one gallery and forward it to one tour or another just adding a variable to the URL... am I wrong?

Thanks,
Terry
terry is offline   Reply With Quote
Old 2004-07-08, 11:33 AM   #5
Thiago Dickman
A woman is like beer. They look good, they smell good, and you'd step over your own mother just to get one!
 
Thiago Dickman's Avatar
 
Join Date: Nov 2003
Location: Sao Paulo, Brazil
Posts: 52
Send a message via ICQ to Thiago Dickman
You're right, that's possible... you can do it with PHP using a querystring on your URL. You'll need to add something like this somewhere on your gallery:

PHP Code:
<?php

// this checks if the "pop" querystring is available on the URL code. If if it, use it to determine if it should redirect or not; if it's not available, use no pop as default.
//If you want to use pop as default just change $pop = 0 to $pop =1 
if (isset($_GET['pop'])) { $pop $_GET['pop']; } else { $pop 0; }

// edit the urls here...
if ($pop == 0$gotourl "http://www.yourdomain.com/nopop.html";
if (
$pop == 1$gotourl "http://www.yourdomain.com/pop.html";

?>
Then on your link you will have something like this:

Code:
<a href="<?=$gotourl?>">Text</a>
All webmasters will need to do is adding a ?pop=0 suffix on the url if they don't want popups or 1 otherwise. Let's say your gallery is named gallery.php, so the two alternatives would be:

http://www.yourdomain.com/gallery.php?pop=0 (no popups)
http://www.yourdomain.com/gallery.php?pop=1 (with popups)

I'm pretty sure that will work even though I haven't tested the code above

Best Regards,

Thiago Dickman
__________________
work hard. play hard.

iCQ # 339924518
Thiago Dickman is offline   Reply With Quote
Old 2004-07-08, 01:03 PM   #6
terry
You can now put whatever you want in this space :)
 
terry's Avatar
 
Join Date: Apr 2004
Location: Montreal
Posts: 5,883
Send a message via ICQ to terry
Awesome Thiago.

I will give it a try.. and let you know.

Thanks,
Terry
terry is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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