Logging in from another page

I'm building a site where Dolphin is in a sub-directory.

the parent site has its own Registration Form totally customised to suit our data requirements...

what i'd like to do is

  • when that form is submitted, the Member Names, emailid and password (and a few other data) to simulateneously be populated in the Dophin DB also
  • when the member Logs in at the parent site, he should also be logged in here... i mean... how or what cookies do i generate  ?
  • I'm using a simple md5 encryption of the password in the parent site.... I know that Dolphin uses a salt function to encrypt so how do I do that ?

any help in the right direction or a pointer to an existing help topic would be appreciated

... cheers

"May the Power of the Open-Source be with You" - The Jedi
Quote · 21 Jul 2012

I think the join part can be done something like this

  • User Submits the form.
  • The form data is send to a file with a function that is specially coded to add profile to dolphin system.

The code should be fully compatible one. It should create alerts also. Take a look at this function BxDolJoinProcessor.php->registerMember() function and take alerts part from there and come to BxDolProfileController.php->createProfile() function.

You can remove the couple and photo upload stuff as thats not needed here i think. Pass the user data to its duplicate function that you will create. Edit it to fit your needs.

Well after saying this i will say its not too easy but trying will not harm. :)

Good luck

so much to do....
Quote · 21 Jul 2012

Thanks Prashank...

I guess the data population part is going to be comparitively easier compared to synchronising the cookies for seamless login...

anyways, lemme do the changes and update the results here

 

"May the Power of the Open-Source be with You" - The Jedi
Quote · 26 Jul 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.