Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: trishia11271 on July 31, 2014, 03:17:52 PM

Title: LogInOut.php Question
Post by: trishia11271 on July 31, 2014, 03:17:52 PM
We are using Simple Machines version 2.0.8 with Simple Portal.
When you login it takes you to the forum index.
LogInOut.php refers to the login_url variable.
We would like to direct it to the Simple Portal url page.
Where is the variable login_url set so we can change it?
Title: Re: LogInOut.php Question
Post by: Arantor on July 31, 2014, 03:20:53 PM
From the ssi_login function for integration from outside.
Title: Re: LogInOut.php Question
Post by: JBlaze on July 31, 2014, 03:23:51 PM
This would be a question better asked either in the SimplePortal support topic, or over at their dedicated forums at http://www.simpleportal.net.

My guess is that you are using SimplePortal as a standalone page at http://www.example.com/, whereas your forum is located at http://www.example.com/forum/. This means that SMF will redirect you to itself at http://www.example.com/forum/ rather than the SimplePortal homepage. I'm sure this question has been asked before, so there is likely an answer for it which can be found by searching.
Title: Re: LogInOut.php Question
Post by: trishia11271 on July 31, 2014, 03:32:19 PM
The forum is currently located at www.XXX./forum/index.php.
the index is at action=forum
When you login it takes you directly to action=forum. So I believe it would be an SMF question. Should it not direct you to forum/index.php? At least until we resolve the index.php issue with the host
Title: Re: LogInOut.php Question
Post by: Arantor on July 31, 2014, 03:33:20 PM
Nope because action=forum is only added by SimplePortal.
Title: Re: LogInOut.php Question
Post by: Kindred on July 31, 2014, 03:53:07 PM
and I believe that the login redirect target is actually a setting somewhere in SimplePortal...

So, this question really needs to be asked of them.
Title: Re: LogInOut.php Question
Post by: trishia11271 on July 31, 2014, 03:55:59 PM
Ok. Thank you.
Title: Re: LogInOut.php Question
Post by: jonesH on August 01, 2014, 12:29:22 AM
I use SimplePortal and the way I got it set up is that one arrives as Guest to the Portal (which is basically a static page) and upon login is taken as a Member to the Forum proper (the index page) - I see no point in logging in and remaining on the Portal page. What am I missing?