Login redirect, based on referring webpage

Login redirect, based on referring webpage

How can I perform the following, if possible:

Redirect a user, based on the page they were viewing, before they registered?

For example:
1) User starts at page A, clicks the registration link and registers, and is redirected back to page A
2) User starts at page B, clicks the registration link and registers, and is redirected back to page B

Right now, your plugin will always redirect to the same page, regardless of the page that was viewed, prior to registration.

Edited by: leymane - Jul-27-13 15:46:18
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Login redirect, based on referring webpage

Unfortunately, you can't. That's a limitation of Joomla itself. Our SCLogin module simply redirects the user to the standard Joomla Registration page. Joomla has it hard-coded that the user will always be brought to the Registration Complete page (if activation is enabled) or the Login page (if activation is disabled). There's no way to pass a redirect parameter to Joomla's registration logic to let it know where the user should go after they register.

Sorry for the inconvenience. This is something our social integration does resolve. When users register through Facebook, LinkedIn or Goolge (coming to our Facebook integration extension next month), you can select where they are redirected after their account is automatically created. With Joomla though, that's something that's not easily possible without editing Joomla's code itself.

I hope that helps explain, and best of luck,
Alex

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

alzander
Alex
useravatar
Offline
24144 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Login redirect, based on referring webpage

Thank you for the prompt response.

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

Re: Login redirect, based on referring webpage

Glad to help. If you have any other questions or need anything else, just 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
24144 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:
11684
Total Polls:
0
Total Posts:
49054
Posts today:
6
User Info
 
Total Users:
47818
Newest User:
normastainfo
Members Online:
1
Guests Online:
641

Online: 
Grafischhuisno16
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