20 thoughts on “Auto Login Joomla function”

  1. Hi there,

    thanks for the code! But where do I add this function? I’m looking now in components\com_users\controller.php (jmla vers. 1.5). Or do I need to write a complete new plug-in for joomla?

    Thanks in advanced. Regards,

    Stefannno

  2. you can create new task in com_user and call this function. other information is already there in the blog post. Let me know if you need any help.

    Thanks,
    Subikar

  3. Subikar thnx for your fast reaction!
    I’m really new to this so it’s a bit hard to understand everything. But I will give it a try.

    Is it possible you change the file’s? Or is it way 2much work? Or do you have an example for me?

    Thanks in advanced.

  4. You can do one thing you can send your full details what you need with the full requirement. I hope it will not cost you more then $20.

    Thank you,
    Subikar

  5. Ok sounds great:) I already checked the site but which option do I have to choose?(Product You interested to develop)

    And the only thing I want is to send an e-mail with an link so the users login on my page on various locations.

    Thanks

  6. Can this allow the user to login and stay logged in for a period of time? We are requiring visitors to have user accounts to do specific functions. So we would like to be able to allow the user to auto login after that. Maybe a mix of a cookie and this?

  7. Can this allow the user to login and stay logged in for a period of time? We are requiring visitors to have user accounts to do specific functions. So we would like to be able to allow the user to auto login after that. Maybe a mix of a cookie and this?

    Hi Jack I hope we can do. Just try the login function there may be some parameter to set to do that. If you need my help I can try to find out.

  8. Hello subikar, thanks for your script autologin, i add that function in com_user/controller.php

    but could yoy help me, where i will call the that function?? thanks for your help.

    Regards

  9. One thing that I find the most helpful is number five. Sometimes when I write, I just let the flow of the words and information come out so much that I loose the purpose. It’s only after editing when I realize what I’ve done. There’s defiantly a lot of great tips here I’m going to try to be more aware of.

  10. What’s really doing the login is this code:

    $credentials[‘username’] = ‘myUsername’;
    $credentials[‘password’] = ‘myPassword’;
    $mainframe->login($credentials);

  11. components\com_users\controller.php you can write in the function register_save()
    after this line UserController::_sendMail($user, $password);

    Remember you must have good knowledge in php and mysql.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.