Logout Ability

3 posts by 2 authors in: Forums > CMS Builder
Last Post: February 19, 2013   (RSS)

Hi Jeff,

You can change the page you get taken to after log in in the Website Membership plugin. If you open websiteMembership.php, which you will find in the cmsAdmin/plugins/websiteMembership/ directory around line 21 (depending on which version of the website membership plugin you are using), you should see the following code:

// After logoff, user gets redirected to the last page they were on (if defined), the url below, or to /
$GLOBALS['WEBSITE_LOGIN_POST_LOGOFF_URL'] = '/';

You just need to change this to whatever page you want the user to be taken to, for example: 

// After logoff, user gets redirected to the last page they were on (if defined), the url below, or to /
$GLOBALS['WEBSITE_LOGIN_POST_LOGOFF_URL'] = '/you-are-logged-out.php';

Let me know if you have any questions. 

Thanks!

Greg

Greg Thomas







PHP Programmer - interactivetools.com

Thanks, Greg. You da man!

Jeff Saitz