News:

Wondering if this will always be free?  See why free is better.

Main Menu

Autentification process

Started by alraben, November 17, 2008, 08:59:43 AM

Previous topic - Next topic

alraben

Hi all,

How can I change the autentification proccess of my Forum?

I want to see the script in SMF that validate the user who is logging in. I want to make a previous validation with another Database. Where is that script? I didnt find it.

Thanks,

Alvaro.

SlammedDime

LogInOut.php in the Sources folder.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

alraben


H

-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

alraben

Ohhhh, Thanks u so much, All functions that are defined in SMF....Great!.

Hmmm I have a question, I would need to use another own database to autenticate my users. Is it possible? or Must I have a replica of these users in smf_members table?. I think that I can modify the LogInOut.php script to autenticate users against another database but I think that these users have to exists in smf_member table no?

Thanks for all,

Alvaro.

H

-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

alraben

Hi H,

Sorry, but I don't understand you at all.

What hook I need?

integrate_validate_login?

Example of use:  A user that exists in the integrated application but not in SMF is attempting to login, so needs to ber migrated to SMF before SMF has a chance to authenticate.

The question is ... if I need a replica of my data of my own database in smf_members table or not. I don't understand well if SMF can autenticate users from another databases without existing a register of that user in smf_member table.

Thanks for all and sorry for my English.




H

I think the user will need an entry in smf_members. You should be able to use the hooks to your advantage though, so that they'll only get registered in the forum when they login to it for the first time.
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Advertisement: