We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

New Extension: Redirect After Login (Twomile)

Development and Programming

Corey Snipes's avatar
Corey Snipes
34 posts
17 years ago
Corey Snipes's avatar Corey Snipes

We built this extension to provide some additional control over behavior after user login or logout. It allows you to specify the following behaviors:

  • Whether to display the confirmation page after user login
  • Whether to display the confirmation page after user logout.
  • Whether to direct user to previous page or a set destination.
  • Destination after user login.
  • Destination after user logout.

This extension may not work properly on sites using MSM/multisite or EE forums, or if EE is not installed in your web root. That said, it works quite well for most sites, and even made it onto a top ten list.

It is free to download, use, modify, or distribute. If you find it helpful, let us know. If you have suggestions or improvements, email or post to us in the forums. Here ‘tis:

EE 2.0: http://www.twomile.com/services/add-on/redirect-after-login-for-expressionengine-20

EE 1.6: http://www.twomile.com/services/add-on/redirect-after-login-for-expressionengine-16

       
Andy Harris's avatar
Andy Harris
958 posts
17 years ago
Andy Harris's avatar Andy Harris

Hm. I just installed this and it doesn’t seem to save my settings for destination path after login, instead changing back to the defaults.

       
Gabriel's avatar
Gabriel
130 posts
17 years ago
Gabriel's avatar Gabriel

@Corey Snipes: You’re save my life! Thanks.

Will be nice, if there will be an option something like “redirect at the same page after login / logout”. It’s very useful, if the login form is on the every page.

       
Corey Snipes's avatar
Corey Snipes
34 posts
17 years ago
Corey Snipes's avatar Corey Snipes

@Andy - That settings behavior is odd; I’ll take a look. What’s your EE version?

@Gabriel - Thanks! I’m glad it’s helpful. I’ll add your suggestion to our feature list for this extension. So I’m clear on what you mean… you’d like to see a setting that would keep the user on the current page? In other words, if someone is on the About page and they log out, it would return them to the About page? And if they log out from the Contact page it would take them back there?

       
Gabriel's avatar
Gabriel
130 posts
17 years ago
Gabriel's avatar Gabriel

@Corey Snipes: exactly!

I’m using Mark Bowen’s Logout Redirect combined with the $_SERVER[‘PHP_SELF’] variable for achieving redirect at the same page. But I’m really happy about bypassing login notification page with your extension. Both extensions won’t work together.

       
nyeoman's avatar
nyeoman
94 posts
17 years ago
nyeoman's avatar nyeoman

I would also like the current page after login feature.

       
DEA's avatar
DEA
257 posts
17 years ago
DEA's avatar DEA

Yes please!

       
Mike Young's avatar
Mike Young
283 posts
17 years ago
Mike Young's avatar Mike Young

Another vote for current page after login.

       
leeaston's avatar
leeaston
634 posts
17 years ago
leeaston's avatar leeaston

And me. Please.

       
Sean C. Smith's avatar
Sean C. Smith
3,818 posts
17 years ago
Sean C. Smith's avatar Sean C. Smith
I would also like the current page after login feature.

+1

       
Corey Snipes's avatar
Corey Snipes
34 posts
17 years ago
Corey Snipes's avatar Corey Snipes

Thanks for the feedback, everyone. We’re checking the settings handling, and looking the effort involved in adding a “current page after login” feature as well. Stay tuned!

       
Andy Harris's avatar
Andy Harris
958 posts
17 years ago
Andy Harris's avatar Andy Harris
@Andy - That settings behavior is odd; I’ll take a look. What’s your EE version?

Hey Corey, huge apologies for not getting back - the project requirement changed and we no longer needed a login to get in so the problem kinda went away!

The version I was running at the time was 1.6.5, build: 20081024.

       
Kev-O's avatar
Kev-O
50 posts
17 years ago
Kev-O's avatar Kev-O

@Andy - Glad you were able to ‘work around’ that problem. I tested the extension on 1.6.5 and I couldn’t replicate the save settings issue you mentioned earlier. If you come across this again or any other problems with the extension, please let us (Corey and I) know and we’ll do what we can to get it remedied.

Thanks

       
Corey Snipes's avatar
Corey Snipes
34 posts
17 years ago
Corey Snipes's avatar Corey Snipes

We’ve added a feature for “last page after login”. Thanks to Kevin for doing the heavy lifting on that. You can download the updated version (1.1.0) from our site:

http://www.twomile.com/services/add-on/expression-engine-redirect-after-login

We tried a few different scenarios to confirm that settings are saving properly and haven’t been able to reproduce any trouble here. If anyone is still having trouble getting their settings to save, please let us know!

       
nyeoman's avatar
nyeoman
94 posts
17 years ago
nyeoman's avatar nyeoman

Great feature, thanks for the update!

       
1 2 3 Last

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.