Sign up |
I’ve got the membership plugin V1.10 active and am running CMSB 3.06.
After a member updates their profile I want to automatically log them off and redirect them to a logoff page.
Based on a snippet of code I found in admin_functions.php, I included the following code in my member_profile page:
// on success
$errorsAndAlerts = "Thanks, we've updated your profile!<br/>\n";
In the membership plugin, my $GLOBALS['WEBSITE_LOGIN_POST_LOGOFF_URL'] = 'http://my_site.com/logout_index.php';
I seem to be logged off, but am returned to the normal login page instead of logout_index.php
I'll give it a try...