By Haki Saki on Thursday, 10 September 2015
Posted in General Issues
Replies 8
Likes 0
Views 705
Votes 0
When logging in w/ Facebook, it seems that it re-routes differently than using the standard ES login. Where can I control where FB log-ins go to?
Hey Peter,

When you mean re-route differently, what do you really mean here? (Sorry but I am a little lost here) Do you mean it uses a different URL structure? If so, what does the URL structure looks like?
·
Thursday, 10 September 2015 03:42
·
0 Likes
·
0 Votes
·
0 Comments
·
·
Thursday, 10 September 2015 03:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Peter,

I am really sorry for the delay of this reply. I've tested this locally and by right it should follow the redirection set from your backend > easysocial > settings > users > login redirection. Can you pass me your Joomla backend and FTP access so we can check on the issue directly?
·
Thursday, 10 September 2015 11:46
·
0 Likes
·
0 Votes
·
0 Comments
·
login info attached
·
Thursday, 10 September 2015 22:40
·
0 Likes
·
0 Votes
·
0 Comments
·
hey Peter,

Unfortunately that was not possible to override or change the settings for this.

but if you really need to modify the redirection URL, you will need to modify this file JoomlaFolder/components/com_easysocial/views/registration/view.html.php
·
Friday, 11 September 2015 00:19
·
0 Likes
·
0 Votes
·
0 Comments
·
If you were not able to override it, how will I?

The problem is that I use metamod to determine module placement and when a FB login redirects to ../community/..there seems to be no way to use that as a parameter (menu or otherwise)
·
Friday, 11 September 2015 00:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Also, JoomlaFolder/components/com_easysocial/views/registration/view.html.php is a pretty big file..any direction on what to change?
·
Friday, 11 September 2015 00:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Peter,

Firstly I do apologize for the confusions here. There is only 1 settings for this currently in EasySocial and there is no way to handle different redirections based on how the user is logging into the site.

If you want to modify this behavior, the only way is to hack the file that Arlex pointed out above which is to modify the file /components/com_easysocial/views/registration/view.html.php and at line 470 locate the codes below,


$url = FRoute::dashboard(array(), false);


You probably want to change it to,


return $this->redirect('http://www.hakisaki.com/community');
·
Friday, 11 September 2015 02:34
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post