Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


auto login after registration - HELP..:-)
Date: 2008/07/08 23:19 By: simon Status: CB Doc subscriber  
Karma: 3  
Junior Joomlapolitan

Posts: 43
graphgraph
Hi all....

A question. What if I want to login the visitirs of one of my sites automatically after registration..

I have tried all I could find (and a lot more) on this forum but nothing works..

Added

$mainframe->login($user[0]->username,$user[0]->password);

in comprofiler.php around line 2634. But it just does not work and I can not figure out wtf I am dong wrong..

Joomla 1.12 / CB 1.1

Anyone any ideas????
Click here to see the profile of this user The administrator has disabled public write access.

Re:auto login after registration - HELP..:-)
Date: 2008/07/11 00:42 By: beat Status: Admin  
Karma: 238  
Admin

Posts: 3995
graphgraph
upgrade to joomla 1.0.15 and it will work

or change to:

Code:

 $mainframe->login($user[0]->username,md5($user[0]->password));



btw: not recommended, as the user will not have a chance to save username/password in his browser keychain
Beat - Developer on Community Builder core Team
- If you like CB and this forum, you will love Nick's CB 1.1 reference manual ! : Click here to Get it now
- Would like to help us move faster ? Get it, and/or help us spend more time coding by helping others in this forum, many thanks
Click here to see the profile of this user The administrator has disabled public write access.

Re:auto login after registration - HELP..:-)
Date: 2008/07/11 10:15 By: simon Status: CB Doc subscriber  
Karma: 3  
Junior Joomlapolitan

Posts: 43
graphgraph
thanks beat...again..
Click here to see the profile of this user The administrator has disabled public write access.

Re:auto login after registration - HELP..:-)
Date: 2008/07/22 12:54 By: simon Status: CB Doc subscriber  
Karma: 3  
Junior Joomlapolitan

Posts: 43
graphgraph
He Beat...

Upgraded my clients site to 1.0.15 (needed to do that anyway and tried the autologin again..

It just doesn't work

Can't put my finger on it? any tips?
Click here to see the profile of this user The administrator has disabled public write access.

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login