Please Log in to join the conversation.
Please Log in to join the conversation.
} elseif ( strtolower( $redirect ) == 'return_url' ) {
$url = (isset($_SESSION['comprofiler']['return'])) ? base64_decode($_SESSION['comprofiler']['return']) : $_CB_framework->userProfileUrl();
cbautoactionsClass::setRedirect( $url, $message, ( $message ? $message_type : null ) );
}
if (isset($_SESSION['comprofiler']['return'])) unset ($_SESSION['comprofiler']['return']);
if (isset($_GET['return'])) $_SESSION['comprofiler']['return'] = $_GET['return'];
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
andrex143 wrote: Hi, if you want to redirect after registration you can do so. By modifying some core files here's how:
in comprofiler.php under components/com_comprofiler
in line 1048
1047: if ( $saveResult === true ) {
1048: $messagesToUser=activateUser($userComplete, 1, "UserRegistration" );
1049: }
change it to header('Location: <path>') ;
Hope this helps
Please Log in to join the conversation.