Community Support Forums — WordPress® ( Users Helping Users ) — 2011-11-20T23:27:07-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=15886 2011-11-20T23:27:07-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15886&p=53560#p53560 <![CDATA[Re: How to customize Clickbank Thank You page?]]> Hi Alex. Thanks for the follow-up.

Sorry, it's not possible to change the %%continue%% Replacement Code. This is handled dynamically by s2Member Pro, based on the action that has taken place. That being said, you could use a Thank-You Page all of your own design, instead of s2Member's default, if you prefer. See the attached screenshot, or your Dashboard, under: s2Member -> ClickBank Options -> Thank-You Page.

( click to enlarge )
SNAG-0129.png


Or, for the more adventurous, there are two Filters that could be used to dynamically modify the redirection URL after Signup and/or after a Modification. Please create this directory and file.

/wp-content/mu-plugins/s2-hacks.php
( these are MUST USE plugins, see: http://codex.wordpress.org/Must_Use_Plugins )
Code:
<?php
add_filter 
("ws_plugin__s2member_redirection_url_after_signup", "my_s2_redirection_url_after_signup");
function my_s2_redirection_url_after_signup ($what_s2member_says, $vars = array ())
    {
        return "http://example.com/thank-you/";
    }
add_filter ("ws_plugin__s2member_redirection_url_after_modification", "my_s2_redirection_url_after_modification");
function my_s2_redirection_url_after_modification ($what_s2member_says, $vars = array ())
    {
        return "http://example.com/thank-you/";
    }
?>
See also: viewforum.php?f=40#src_doc_overview_descriptions2-hacks.zip

Statistics: Posted by Jason Caldwell — November 20th, 2011, 11:27 pm


]]>
2011-11-17T20:45:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15886&p=53381#p53381 <![CDATA[Re: How to customize Clickbank Thank You page?]]>
Any thoughts?
Alex

Statistics: Posted by Kojak — November 17th, 2011, 8:45 pm


]]>
2011-11-16T21:06:52-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15886&p=53264#p53264 <![CDATA[Re: How to customize Clickbank Thank You page?]]> I had a look at the default-return.php file, and it looks like the 'Continue' button is auto-created by the %%continue%% variable.
Alex

Statistics: Posted by Kojak — November 16th, 2011, 9:06 pm


]]>
2011-11-16T14:41:52-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15886&p=53238#p53238 <![CDATA[Re: How to customize Clickbank Thank You page?]]> I haven't been able to work on it today though. We're in the midst of another project that takes precedence. I'm working the Clickbank project around that other project's timeline.
I'll let you know how it goes either way.
Thanks!
Alex

Statistics: Posted by Kojak — November 16th, 2011, 2:41 pm


]]>
2011-11-16T14:18:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15886&p=53231#p53231 <![CDATA[Re: How to customize Clickbank Thank You page?]]>

Statistics: Posted by Cristián Lávaque — November 16th, 2011, 2:18 pm


]]>
2011-11-15T19:17:19-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15886&p=53132#p53132 <![CDATA[Re: How to customize Clickbank Thank You page?]]> I'll give this a try. Hopefully I'm able to figure it out without further questions.
Thanks very much for your support!
Alex

Statistics: Posted by Kojak — November 15th, 2011, 7:17 pm


]]>
2011-11-15T18:23:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15886&p=53127#p53127 <![CDATA[Re: How to customize Clickbank Thank You page?]]>

Statistics: Posted by Cristián Lávaque — November 15th, 2011, 6:23 pm


]]>
2011-11-15T15:36:24-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15886&p=53091#p53091 <![CDATA[Re: How to customize Clickbank Thank You page?]]>
Will the custom page still be secure?

Thank you! You've been VERY helpful...AGAIN!

Statistics: Posted by Kojak — November 15th, 2011, 3:36 pm


]]>
2011-11-15T14:46:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15886&p=53082#p53082 <![CDATA[Re: How to customize Clickbank Thank You page?]]>
Then it may be best to have the custom thank-you page for ClickBank give the required notices and then have a link at the end that takes the user to the registration form to create his/her account. Follow the instructions at the end of the thank-you page documentation to create the custom version. WP Admin -> s2Member -> ClickBank Options -> Thank You -> Optional Customizations

Statistics: Posted by Cristián Lávaque — November 15th, 2011, 2:46 pm


]]>
2011-11-15T14:26:37-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15886&p=53075#p53075 <![CDATA[Re: How to customize Clickbank Thank You page?]]>
I don't like the idea of having a non-customer be able to find the page and create an account.

If I go into Login/Registration Design, and add the custom ClickBank text in there, then won't anyone that pays with PayPal also see that custom ClickBank text?

Statistics: Posted by Kojak — November 15th, 2011, 2:26 pm


]]>
2011-11-15T14:14:31-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15886&p=53069#p53069 <![CDATA[Re: How to customize Clickbank Thank You page?]]>
You can have the thank you page give the required ClickBank explanations and at the end have a link that takes the person to register his account.

Now, if you have Open Registration disabled, then you can customize the default registration page to add the custom ClickBank stuff right there WP Admin -> s2Member -> General Options -> Login/Registration Design. You wouldn't need to worry if they came from ClickBank or not because it'd only be shown to those that paid, because after payment s2Member sets some cookies that will let him register or the user will get a registration link with the necessary access to register.

I hope that helps. :)

Statistics: Posted by Cristián Lávaque — November 15th, 2011, 2:14 pm


]]>
2011-11-15T09:51:30-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15886&p=53035#p53035 <![CDATA[Re: How to customize Clickbank Thank You page?]]> There's also a Preview Thank You page button in there. When I click on that Preview link, the page that shows up is NOT the Thank You page that the user is actually redirected to after payment. That's because the Thank You page is set to wp-login.php?action=register in General Options -> Registration/Profile Fields & Options.

After payment from ClickBank, we want the user to register their account. In ClickBank, we tell it that the Thank You page is located at wp-login.php?action=register, which is the same as what PayPal is setup as.

The way I see it is, there's 2 options:
1. Somehow customize wp-login.php to display the Clickbank message if the payment comes from Clickbank.
2. Setup another page for the Clickbank redirect that does exactly what wp-login.php does. I just don't know how to setup another page that does exactly what wp-login.php does.

Thanks!
Alex

Statistics: Posted by Kojak — November 15th, 2011, 9:51 am


]]>
2011-11-15T00:26:44-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15886&p=52994#p52994 <![CDATA[Re: How to customize Clickbank Thank You page?]]> WP Admin -> s2Member -> ClickBank Options -> Thank You -> Optional Customizations

I hope that helps. :)

Statistics: Posted by Cristián Lávaque — November 15th, 2011, 12:26 am


]]>
2011-11-12T22:04:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15886&p=52906#p52906 <![CDATA[How to customize Clickbank Thank You page?]]>
After payment, the customer is taken back to the website where they register their account to the membership site. Its at: wp-login.php?action=register.

ClickBank requires the text "Your credit card statement will show a charge from CLKBANK*COM." I don't want to put that on the register page when the customer pays with PayPal. Is there a way to customize the ClickBank registration thank you page to include the above statement, but not have it when the customer pays with PayPal?

Alex

Statistics: Posted by Kojak — November 12th, 2011, 10:04 pm


]]>