Simple Machines Community Forum

Customizing SMF => Bridges and Integrations => Topic started by: Slith on October 29, 2008, 11:24:36 PM

Title: Another login integration question
Post by: Slith on October 29, 2008, 11:24:36 PM
Hi, I am planning how I am going to integrate SMF into a site which I am going to build.

Basically I want to have a registration page on the site which will get all the required information from the user (username, password etc...) upon registration and store their details in a user table outside of SMF.

The user table will be used across a few other systems including SMF to authentic the user and manage a login session.

I just need someone to point me in the right direction.

Should I duplicate the registration data into the smf_members table?

Would I be looking at the 'integrate_validate_login' hook or the 'integrate_verify_user' hook? Or neither?

If I'm going about this the totally wrong way let me know also.
Title: Re: Another login integration question
Post by: SlammedDime on November 05, 2008, 06:08:28 PM
I think it would be much easier to register the users in SMF, and in whatever other application you're developing, include SSI.php from SMF which allow SMF to control the session, then you can just SMF functions and variables in your other applications to check user status or information.