Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

[SOLVED] Auto login after registration

9 years 8 months ago - 9 years 8 months ago #261642 by interstorm
[SOLVED] Auto login after registration was created by interstorm
Hello - quick question on something. My client would like users to register on the site and be immediately confirmed (no authentication email) and logged into the site. Under Configuration > Registration I have both 'Admin Approval' and 'Email Confirmation' turned off -- this appears to allow the user to be added in full immediately after registration. What we cannot seem to figure out is how to bypass the 'Sign Up Complete!' page and be redirected back to the home page while also being logged in. Is this something that can be done (I saw some discussion on Auto Actions -- not sure if that would be what is needed).

Thanks again for your help!
Last edit: 9 years 8 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48630
  • Thanks: 8307
  • Karma: 1446
9 years 8 months ago #261673 by krileon
Replied by krileon on topic Auto login after registration
CB Auto Actions can do this with its Login/Logout action on the frontend after registration trigger.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

9 years 8 months ago #261675 by interstorm
Replied by interstorm on topic Auto login after registration
Thank you -- is there a good starting point documentation for the Auto Actions?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48630
  • Thanks: 8307
  • Karma: 1446
9 years 8 months ago #261681 by krileon
Replied by krileon on topic Auto login after registration
Yup, there's a couple of usecases you can find in our tutorials section below.

www.joomlapolis.com/support/tutorials/107-use-cases

In addition to the above Nick has been working on some videos, which you can find below.

www.youtube.com/playlist?list=PLp0puRITgC7McQcw0Sli1qfSUQGwmflzi

There's also several usecases throughout the forums, which you can find by searching; I believe your specific usecase has already been posted as well.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

9 years 8 months ago #261693 by interstorm
Replied by interstorm on topic Auto login after registration
Thank you and I've been able to install the plugin and create an action. When one registers on the site, I am seeing the user added to the system and the redirect occurs as desired, however the user still isn't logged in. At the moment we're getting a message stating "danger: Please complete the username and password fields.". I've looked through the forum and I don't see anything similar to what I'm doing (possibly I'm missing it). I've loaded screenshots of my configuration -- am I missing something?
Attachments:

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48630
  • Thanks: 8307
  • Karma: 1446
9 years 8 months ago #261698 by krileon
Replied by krileon on topic Auto login after registration
You need to fill out the username parameter. In your case set it to [username] and that should be all you need to do.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum