Hello Max
I have seen all the messages with UHU but I don not understand where the answer to my question is. I'm sorry. Could you give me some explanation ?
I recall the subject of my questionn :
I have made a registration form (as tutorial #4 by GreyHead, excellent work !). All is OK. When a visitor use this registration form, he is automatically and immediatly enregistred as author (I want that) but he is not connected. He musts to give again his login and password. Isnt it possible to be registred AND connected in the same time ? Is it easy to do ? With some lines in code php ? where ?
Thanks
Francois
I have seen all the messages with UHU but I don not understand where the answer to my question is. I'm sorry. Could you give me some explanation ?
I recall the subject of my questionn :
I have made a registration form (as tutorial #4 by GreyHead, excellent work !). All is OK. When a visitor use this registration form, he is automatically and immediatly enregistred as author (I want that) but he is not connected. He musts to give again his login and password. Isnt it possible to be registred AND connected in the same time ? Is it easy to do ? With some lines in code php ? where ?
Thanks
Francois
Hi Francois,
You probably could hack this but I'd recommend that you don't. Pretty much every site that I register on requires that you login after registration - if only to show that you've got the username and password.
Bob
You probably could hack this but I'd recommend that you don't. Pretty much every site that I register on requires that you login after registration - if only to show that you've got the username and password.
Bob
I agree with Bob but if you want to try it anyway then here its :
http://api.joomla.org/Joomla-Framework/Application/JApplication.html#login
you will need to call the function at the correct time and feed it with the correct data! tell me if its still not very clear.
Regards,
Max
http://api.joomla.org/Joomla-Framework/Application/JApplication.html#login
you will need to call the function at the correct time and feed it with the correct data! tell me if its still not very clear.
Regards,
Max
This topic is locked and no more replies can be posted.