latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Re Direct Hack Broke Get Response Opt-In List

Home Forums Community Forum Re Direct Hack Broke Get Response Opt-In List

This topic contains 1 reply, has 1 voice. Last updated by  webboy webboy 3 years, 2 months ago.

Topic Author Topic
Posted: Thursday Nov 7th, 2013 at 5:34 pm #60929
webboy webboy
Username: webboy

Hi support,

Just used the Hack from Cristian to redirect after registration

now it dose not send the info to the Get Response optin list

Can anybody replicate this problem or has it working

function.php

add_action(‘ws_plugin__s2member_during_configure_user_registration’, ‘s2_auto_login_after_registration’);

function s2_auto_login_after_registration($vars = array()) {
if (!is_admin() && $vars[‘processed’] === ‘yes’) {
wp_new_user_notification($vars[‘user_id’], $vars[‘pass’]);
wp_set_auth_cookie($vars[‘user_id’], false, is_ssl());
wp_redirect(S2MEMBER_LOGIN_WELCOME_PAGE_URL . ‘?first’);
exit();
}
}

Using Optimize press 2

Everything was working ok before the change was made

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Thursday Nov 7th, 2013 at 5:51 pm #60930
webboy webboy
Username: webboy

do we need to pass this also?

process_list_servers
(‘subscriber’,
$vars[‘level’],
$vars[‘login’],
$vars[‘pass’],
$vars[‘$email],
$vars[‘fname’],
$vars[‘lname’],
$vars[‘ip],
$vars[‘opt_in’],
$vars[‘opt_in’],
$vars[‘user_id’])

Viewing 1 replies (of 1 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.