About This File
Enhanced version of the free redirect plugins I made (Redirect on Login, Redirect on Logout). 4.3 and 4.4 compatible.
This combines both into a single plugin and adds in the ability to apply the redirects to one or more primary member user groups instead of just all visitors.
Use this to push only guests or perhaps non-paying members to your storefront (or even a specific product page) on login.
On logout perhaps you want to force everyone back to whatever your homepage is?
Both login and logout redirects are enabled or disabled from within the plugin settings allowing you to choose to use only one of the redirects if needed.
Single buy, no renews. Thanks and enjoy! BTW if you need something more full-featured keep looking in the Marketplace, there are other options (not mine)
FYI: Naturally, if you have either of the free plugins installed be sure to uninstall them; otherwise which ever one is higher in the ACP plugin list will take precedence, negating the other/s.
Version 2 adds option to keep user on the page they were on when they logged in or out via the http referrer variable.
Version 3 removes referrer option on logout (already in-built with IPS), makes login referrer option more robust (accounting for bare-bones login page)
What's New in Version 3 See changelog
- More robust login referrer option - accounts for barebones login page by storing page prior via cookie.
- Removes logout referer (native to IPS already, nothing to make more robust)