Membership Login / Logout Page Redirect
7 posts by 3 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: September 12, 2011 (RSS)
By nmsinc - September 10, 2011
[/#000000]
$GLOBALS['WEBSITE_LOGIN_POST_LOGIN_URL'] = '/'; // user gets redirected to last page that called websiteLogin_redirectToLogin() or here if none[/#000000]
$GLOBALS['WEBSITE_LOGIN_POST_LOGOFF_URL'] = '/'; // user gets redirected to last page that called websiteLogin_redirectToLogin() or here if none[/#000000]
[/#000000]
Thanks[/#000000]
Ray[/#000000]
Re: [nmsinc] Membership Login / Logout Page Redirect
By Dave - September 10, 2011
Right now it's redirecting back to / which is likely your homepage. Try removing the slash like this so no value if specified:
$GLOBALS['WEBSITE_LOGIN_POST_LOGIN_URL'] = '';
$GLOBALS['WEBSITE_LOGIN_POST_LOGOFF_URL'] = '';
Let me know if that works for you!
interactivetools.com
Re: [Dave] Membership Login / Logout Page Redirect
By nmsinc - September 10, 2011
Re: [nmsinc] Membership Login / Logout Page Redirect
By nmsinc - September 10, 2011
[/#000000]
Parse error: syntax error, unexpected T_STRING in /home/expedient/www/expedientcsi.com/cmsAdmin/plugins/websiteMembership_1.05/websiteMembership.php on line 18[/#000000]
Re: [nmsinc] Membership Login / Logout Page Redirect
By Dave - September 11, 2011
Easier to see in a fixed width font:
Make sure you have two single quotes '' and not one double ".
If that doesn't fix it attach the website membership.php or post line 18 and the lines around it and I'll take a look.
Hope that helps!
interactivetools.com
Re: [Dave] Membership Login / Logout Page Redirect
By nmsinc - September 11, 2011
[font "Verdana"]Thanks[/#000000]
Re: [nmsinc] Membership Login / Logout Page Redirect
By robin - September 12, 2011
I can't reproduce the problem here. Could you submit a [url http://www.interactivetools.com/support]2nd Level Support Request[/url]? Then we can take a close look at what's going on.
Thanks,
Robin
Programmer
interactivetools.com