Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: Magnolo - maaliskuu 26, 2014, 04:12:56 IP

Otsikko: Login from a website
Kirjoitti: Magnolo - maaliskuu 26, 2014, 04:12:56 IP
Hi,

I embedded my forum SMF into a website.
People have to register and log in to the website.
I would like them to be directly logged into the forum as well, when they log in to the website.

Therefore, how to :
- register someone automatically to the forum once he/she registers to the website ?
- log in / log out someone automatically to the forum once he/she log in / log out to the website ?

Thanks !
M.
Otsikko: Re: Login from a website
Kirjoitti: emanuele - maaliskuu 26, 2014, 05:15:25 IP
The easiest way is usually to use SMF login to do everything using SSI.php.
Of course if you website is up and running since a long time and you are now adding SMF on top of it, it may be different.