Creación de un módulo de registro de usuarios para Joomla y que despues de colocar los datos y dar clic en el botón registrar inicie sesión automaticamente.

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. The registration welcome email will still be sent.

Joomla 1.5 Automatic Login in after Registration Open file joomla_root/components/com_user/controller.php in any text editor and go to line 282.

Comment out the line $this->setRedirect(‘index.php’, $message);

and add this after it –

//$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.

//$mainframe->redirect( ‘index.php’ ); $mainframe->redirect( ‘index.php?option=com_content&view=article&id=45&Itemid=53′ );

 

Fuente: http://www.gjcwebdesign.com/joomla-1.5-automatic-login-after-registration.html

Camino de las Aguas 1037003 - Salamanca (España)
923282726 (WhatsApp)
923282726 (Llamar)
Horario: 9:00 a 14:00hTardes cita previa
Boletín de Noticias

© 2026 PROMOCIONALIA más que informática. – Ordenadores, Portátiles, Tablets, Accesorios. Servicio Técnico, Mantenimiento Empresas. Diseño páginas web, Email, Dominios, Hosting. Marketing digital, Social Media Management. Rotulación en vinilo. Distribuidor Fibra y móvil: O2 / Simyo / Digi / Masmovil. Venta, Reparación y Alquiler de Máquinas Arcade Retro. Más de 25 años de experiencia, desde 1997 hasta hoy.

Suscríbete si te interesa nuestro Blog de noticias!