Have been trying for some time now to get my head around the integrated log in, but really am lost.
At the moment i can click 'log in' and it takes me to the other sites log in page, all well and good, but after logging in it does not re-direct back to Q2A.
I've tried two different locations for Q2A.
First: Both sites as sub domains so,www. profiles.mysite.com and www.q2a.mysite.com
If i use:
* Your QA site: http://qa.mysite.com/
* Your login page: http://www.profiles.mysite.com/login
* Your register page: http://www.profiles.mysite.com/register
* Your logout page: http://www.profiles.mysite.com/logout
It does not redirect.
So then i tried a different location:
Main site www.profiles.mysite.com
And q2a in a subfolder, so: www.profiles.mysite.com/q2a
For this i used option 3 eg:
'login' => $relative_url_prefix.'../profiles/index.php?redirect='.urlencode('qa/'.$redirect_back_to_url),
But again it does not re-direct.
Not being so good with php, am i supposed to change anything in the above option 3? i.e. am i supposed to change 'relative_url' or .urlencode?
Your help would be most appreciated, sorry for not understanding code too well!