Customization With Clickbank

Discussion in 'Customization & add-ons' started by jkwilson78, Feb 16, 2005.

  1. jkwilson78

    jkwilson78 New Member

    Joined:
    Feb 13, 2005
    Messages:
    6
    Ok, my understanding is that amember does not work with clickbank as far as being able to track sales from clickbank affiliates. Works fine if you want to use clickbank as a payment processor but not if you want to tap into the huge pool of affiliates to promote your product.

    So, what I have done is set my site up so a person pays thorugh clickbank first and is then redirected to the amember signup page after the sale to setup their account.

    The obvious problem is that a person can easily share the the location of the signup form and gain access to the site for free.

    I've used a couple of the clickbank encryption scripts that mask the destination URL and disable the link when a person leaves the site or refreshes the page to keep people from passing aorund the signup link.

    So I would have my original signup page at:
    http://www.mysite.com/amember/signup.php

    encrypted to:
    http://www.mysite.com/maskdirectory/encryptedsignup.php

    But I get these error messages with the encrypted links. I'm sure it is because all the directory paths and file reference are screwed up with the encrypted file.


    Warning: main(./config.inc.php): failed to open stream: No such file or directory in /home/mysite/public_html/cbtemp/uv{JDi.php on line 20

    Warning: main(./config.inc.php): failed to open stream: No such file or directory in /home/mysite/public_html/cbtemp/uv{JDi.php on line 20

    Warning: main(): Failed opening './config.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/mysite/public_html/cbtemp/uv{JDi.php on line 20

    Fatal error: Call to undefined function: new_smarty() in /home/mysite/public_html/cbtemp/uv{JDi.php on line 164



    Is there any way possible to encrypt the location of the signup page so a person cannot know the location of the signup form?

    Better yet is it possible for clickbank affilaites to promote my site using thier affilaite links and still get credit if the sale goes through amember?
  2. jkwilson78

    jkwilson78 New Member

    Joined:
    Feb 13, 2005
    Messages:
    6
    Another possible work around

    Here is another possible work around with Clickbank that almost works.

    In this thread:
    http://www.cgi-central.net/forum/showthread.php?t=2935&highlight=signup

    Someone was able to create a stand alone HTML signup form. This works perfect with the clickbank encryption methods I mention above

    BUT....

    If someone makes a mistake inputting information or the username they enter is already taken etc. The form validation kicks in and I am redirected away from my encrypted link to the amember signup form for the world to see the URL.

    Is there a way to "hard code" the form validation into the stand alone html sign up form so if a mistake is made the page with the html form simply refreshes with the proper prompts and suggested corrections? Without redirecting to the standard http://www.mysite.com/amember/signup.php url?

    I'm soooo close it's driving me nuts :)

Share This Page