News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Another login integration question

Started by Slith, October 29, 2008, 11:24:36 PM

Previous topic - Next topic

Slith

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.

SlammedDime

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.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Advertisement: