![]() |
CCBTools - Programmer help?
Inside the header of FHGs is a code that looks like this:
<?php $site_link = 'http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=XXXXXX-0001&PA=XXXXXXX&HTML=http://www.yoursite.com/inserttour/'; if(isset($_GET['ccbill_id'])){ $site_link = 'http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=XXXXXX-0001&PA=' . $_GET['ccbill_id'] . '&HTML=' . $_GET['site_link']; } ?> Then the code for your join links will look like this: <?php echo $site_link; ?> Which will insert the link/tour that you placed in your header. While you can change the tour to go wherever you want. Apparently you can not give them the opportunity to visit either linking urls from one template? Is this so? Does anybody know a way that I could send them to the joinpage or /tour/ while still having their affiliate id attached? Im looking around the CCBTools page and i can't believe i dont see any code that could simply link to a another tour from that same page. Which could possibly look like this: <?php echo $site_link(insert id); ?> Unless im missing that there is an option to do this with ccbtools, they should really look into doing this. As for now, anybody have a fix for me? |
Sure thing you can do this! As discussed in Skype
Inside the header of FHGs add a second copy of the php link code that looks like this: note the red is where the changes were made <?php $site_link2 = 'http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=XXXXXX-0001&PA=XXXXXXX&HTML=http://www.yoursite.com/join/'; if(isset($_GET['ccbill_id'])){ $site_link2 = 'http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=XXXXXX-0001&PA=' . $_GET['ccbill_id'] . '&HTML='http://www.yoursite.com/join'; } ?> Then the code for your join links will look like this: <?php echo $site_link2; ?> |
Yep thats exactly what I meant, didn't know if it would still work if I changed the code. Great! and thanks for confirming
|
All times are GMT -7. The time now is 04:37 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc