This change will log your Joomla 1.5 users in to your site as soon as they have completed the registration process.
Joomla 1.5 Automatic Login in after Registration This works only if the user doesn’t have to confirm his/her registration by email;
In "Global Configuration " change "New User Account Activation" to "No";
Open file joomla_root/components/com_user/controller.php in any text editor and go to line 282. Comment out the line:
<?php ... $this->setRedirect('index.php', $message); ... ?>
<?php ... //$this->setRedirect('index.php', $message); $usersipass['username'] = $user->get('username'); $usersipass['password'] = $password; $mainframe->login($usersipass); $mainframe->redirect( 'index.php' ); ... ?>
Now as soon as they have clicked the submit button their username and password will be filled in and they will be logged in to the front page. If you would like them to be redirected to a special welcome page, thank you etc then change this line to the required page - e.g.
<?php ... //$mainframe->redirect( 'index.php' ); $mainframe->redirect( 'index.php?option=com_content&view=article&id=45&Itemid=53'); ... ?>
PS: Another way is use plugin “Auto Login After Registration”, this can work for you too.