Problem with redirect after login using the SClogin module

Problem with redirect after login using the SClogin module

Im having some problems with my redirection after the login using the "return" GET parameter.

I'm using jfbconnect with Community Builder and i have turned redirect after successfully login of in the SCLogin module and in the JFBConnect component options. Since i wanna use the return param only.

I've set up a page named http://mypage.dk/login for log-in where i have attached the JFBConnect SCLogin module.

If i log ind with the ordinary login (CB login fields) then it wont redirect unless im using a joomla non-SEF url: base64_encode("index.php?option=com_content&view=article&id=23").
It works as it should and redirecting me to a Joomla SEF url afterwards.

But when i login with the blue facebook button then it redirects me to:
index.php?option=com_content&view=article&id=23 - and not the SEF url.


The blue facebook button can redirect me to the desired page if i send the desired sef url baseencoded with like this:
base64_encode("/opskrifter");
But it doesnt work with the ordinary login(CB-login)

How should i do this to make both the login types redirect me to a SEF url?

Thanks.

Edited by: jesrix - Apr-18-13 08:23:39
jesrix
useravatar
Offline
1 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Problem with redirect after login using the SClogin module

jesrix,
There's different options for both things you mention. In the SCLogin module, there is a "Joomla Login Redirection URL". That URL is used *only* when the user is logging in using their Joomla username and password (not Facebook).

The setting in the JFBConnect component for redirection is *only* used when a user logs in through Facebook, whether that's in the SCLogin module or a custom Login with Facebook button that can be used.

So, with that said, I don't think you're using the same URL for both. CB requires the return parameter to be set a little differently, and my guess is that you don't have the "Registration Component" in the SCLogin module set to "Community Builder". Without that set, we don't modify the return parameter like it's supposed to be for CB, and that's probably the problem.

Hope that helps explain and fixes your issue. If not though, let us know.

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24009 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11607
Total Polls:
0
Total Posts:
48788
Posts today:
11
User Info
 
Total Users:
47656
Newest User:
vulawoffice
Members Online:
1
Guests Online:
565

Online: 
alzander
Social Stream
SourceCoast Joomla Social Extensions
Friday, 25 May 2018
JFBConnect 8.0 Coming Soon! Stay tuned.
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program