CCBTools - Programmer help?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Pseudonymous
    Photographer/Owner
    • Apr 2006
    • 2661

    #1

    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?
    Previous owner of SoloRevenue
    Previous product manager @ Modelcentro.com/MCProfits.com, IsMyGirl.com, SMRevenue.com
  • Tanker
    Confirmed User
    • Nov 2000
    • 9287

    #2
    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; ?>

    Tanker
    ICQ 3427575


    CCBTools Now featured in the CCBill.com APP STORE

    Comment

    • Pseudonymous
      Photographer/Owner
      • Apr 2006
      • 2661

      #3
      Yep thats exactly what I meant, didn't know if it would still work if I changed the code. Great! and thanks for confirming
      Previous owner of SoloRevenue
      Previous product manager @ Modelcentro.com/MCProfits.com, IsMyGirl.com, SMRevenue.com

      Comment

      Working...