1 of 5
1
New Extension:  Redirect After Login (Twomile)
Posted: 22 October 2008 02:14 AM   [ Ignore ]  
Grad Student
Avatar
Rank
Total Posts:  37
Joined  04-10-2008

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

 Signature 

ExpressionEngine Addon Development and Performance Research

Profile
 
 
Posted: 11 November 2008 07:35 AM   [ Ignore ]   [ # 1 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1166
Joined  02-15-2008

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.

 Signature 

Andy Harris | Pepper Digital | Malvern, UK | Twitter

Profile
 
 
Posted: 11 November 2008 11:43 AM   [ Ignore ]   [ # 2 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  175
Joined  05-25-2002

@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.

 Signature 

+ CM faviconizEE
+ CM Nice URL
+ CM Strange URL Interpreter
+ CM Textarea Resizer
+ CM Template Editor

Profile
 
 
Posted: 12 November 2008 02:23 AM   [ Ignore ]   [ # 3 ]  
Grad Student
Avatar
Rank
Total Posts:  37
Joined  04-10-2008

@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?

 Signature 

ExpressionEngine Addon Development and Performance Research

Profile
 
 
Posted: 12 November 2008 02:38 AM   [ Ignore ]   [ # 4 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  175
Joined  05-25-2002

@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.

 Signature 

+ CM faviconizEE
+ CM Nice URL
+ CM Strange URL Interpreter
+ CM Textarea Resizer
+ CM Template Editor

Profile
 
 
Posted: 19 November 2008 03:25 PM   [ Ignore ]   [ # 5 ]  
Lab Assistant
RankRank
Total Posts:  126
Joined  04-02-2008

I would also like the current page after login feature.

 Signature 

Nick Yeoman at Discovery Software

Profile
 
 
Posted: 27 November 2008 02:22 AM   [ Ignore ]   [ # 6 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  345
Joined  12-15-2005

Yes please!

 Signature 

System Info: Production

EE Version:  2.1.3
Build
:       20101220
PHP Version
5.2.16 
Profile
 
 
Posted: 27 November 2008 04:15 AM   [ Ignore ]   [ # 7 ]  
Research Assistant
RankRankRank
Total Posts:  393
Joined  08-11-2007

Another vote for current page after login.

 Signature 

EE 1.72 Build 20120206 |  Forum: 2.2.1
ELITETRACK | HPCsport | AthleticLab

Profile
 
 
Posted: 27 November 2008 05:12 AM   [ Ignore ]   [ # 8 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  730
Joined  11-11-2006

And me. Please.

Profile
 
 
Posted: 27 November 2008 10:48 PM   [ Ignore ]   [ # 9 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  4003
Joined  05-13-2004
nyeoman - 19 November 2008 08:25 PM

I would also like the current page after login feature.

+1

 Signature 

web: Caffeine Creations twitter @CS_sean

Profile
 
 
Posted: 01 December 2008 04:20 PM   [ Ignore ]   [ # 10 ]  
Grad Student
Avatar
Rank
Total Posts:  37
Joined  04-10-2008

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!

 Signature 

ExpressionEngine Addon Development and Performance Research

Profile
 
 
Posted: 03 December 2008 08:00 AM   [ Ignore ]   [ # 11 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1166
Joined  02-15-2008
Corey Snipes - 12 November 2008 07:23 AM

@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.

 Signature 

Andy Harris | Pepper Digital | Malvern, UK | Twitter

Profile
 
 
Posted: 03 December 2008 01:58 PM   [ Ignore ]   [ # 12 ]  
Grad Student
Rank
Total Posts:  92
Joined  01-06-2008

@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

Profile
 
 
Posted: 08 December 2008 01:05 PM   [ Ignore ]   [ # 13 ]  
Grad Student
Avatar
Rank
Total Posts:  37
Joined  04-10-2008

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!

 Signature 

ExpressionEngine Addon Development and Performance Research

Profile
 
 
Posted: 08 December 2008 01:43 PM   [ Ignore ]   [ # 14 ]  
Lab Assistant
RankRank
Total Posts:  126
Joined  04-02-2008

Great feature, thanks for the update!

 Signature 

Nick Yeoman at Discovery Software

Profile
 
 
Posted: 12 December 2008 06:35 PM   [ Ignore ]   [ # 15 ]  
Lab Assistant
RankRank
Total Posts:  267
Joined  11-07-2008

I would like to see the option to redirect after registration.

Profile
 
 
Posted: 17 December 2008 02:59 PM   [ Ignore ]   [ # 16 ]  
Grad Student
Avatar
Rank
Total Posts:  37
Joined  04-10-2008

Thanks for the feedback, CN.  That does sound like a useful addition.  We’re freezing new features on this plugin for a bit while we focus on other project work, but if there’s demand for this feature we’ll certainly look at including it in a future release.

 Signature 

ExpressionEngine Addon Development and Performance Research

Profile
 
 
Posted: 18 December 2008 03:15 PM   [ Ignore ]   [ # 17 ]  
Grad Student
Avatar
Rank
Total Posts:  61
Joined  03-24-2008

Does this extension work for sites doing a Multiple Domain Login and forum logins?

 Signature 

Jacob Kneeshaw
Founder |SmarterGamblers.com Network

Profile
 
 
Posted: 19 December 2008 01:55 PM   [ Ignore ]   [ # 18 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  277
Joined  10-10-2004

Works great. Love the new feature to direct to the last page visited. The perfect compliment to this would be to have a redirect for logging out that also takes the visitor to the last page visited.

Thanks for this great extension. It’s a very welcome addition!! smile

 Signature 

Twitter: @RobQuigley

Profile
 
 
   
1 of 5
1