Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] Auto Login

  • gvaneijk
  • gvaneijk
  • OFFLINE
  • Posts: 23
  • Thanks: 2
  • Karma: 1
11 years 6 months ago - 11 years 6 months ago #224331 by gvaneijk
[SOLVED] Auto Login was created by gvaneijk
I've had a look at this topic for the auto login:
www.joomlapolis.com/forum/153-professional-member-support/185909-solved-automatic-login-after-registration#185947

I did everything stated there.

No confirmation email, no admin approval.
Auto Action has the auto-login action above the redirect action.

When I register it does try to redirect, but it says: "You need to login first" So somehow it's going wrong at the auto-login action.




Other notes:
PHP (eval) seems to work, with PHP (creature_function) I get a blank screen.

I have an auto action that changes the username to email adres, this is currently set to onAfterUserRegistration, should this be set to onStartSaveUserRegistration?


Any help would be greatly appreciated!
Last edit: 11 years 6 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 6 months ago - 11 years 6 months ago #224347 by krileon
Replied by krileon on topic Auto Login
That links usage isn't needed anymore. Install latest release of CB Auto Actions then simply use the new login/logout action built in and set the username to [username] and it'll auto login the user at whatever trigger you choose, which if you want it to do this after registration you'd choose the 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.
Last edit: 11 years 6 months ago by krileon.
The following user(s) said Thank You: gvaneijk

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

  • gvaneijk
  • gvaneijk
  • OFFLINE
  • Posts: 23
  • Thanks: 2
  • Karma: 1
11 years 6 months ago #224350 by gvaneijk
Replied by gvaneijk on topic Auto Login
Krileon, you sir, are awesome!

I looked right over that, it works like a charm.

Thanks!
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum