Simple Machines Community Forum

Customizing SMF => Bridges and Integrations => Topic started by: wakewatcher on December 04, 2008, 02:09:16 AM

Title: ssi_welcome and redirecting
Post by: wakewatcher on December 04, 2008, 02:09:16 AM
I notice that unlike ssi_login that ssi_welcome does NOT redirect after login if the login session variable is set.  Is there a way so that it will?  Rather than build my own login screen I'd just prefer to use the smf one but redirect back to my application after the login is done.  Is this possible?
Title: Re: ssi_welcome and redirecting
Post by: H on January 02, 2009, 07:36:42 AM
Sorry for the late response. Do you still require assistance with this?

If so, did you try setting $_SESSION['login_url'] inside the function?
Title: Re: ssi_welcome and redirecting
Post by: wakewatcher on January 02, 2009, 12:22:10 PM
Thanks.  Yes that is what I did.
Title: Re: ssi_welcome and redirecting
Post by: H on January 03, 2009, 06:39:38 AM
Glad that worked for you :D
Title: Re: ssi_welcome and redirecting
Post by: effex on January 14, 2009, 09:55:44 PM
Sorry, to bump someone's already answered thread, but can someone give me an example of how this would look putting the login url in the function. I'm not quite sure of the syntax.