Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: toofast - helmikuu 21, 2006, 06:26:12 AP

Otsikko: Integration help needed URGENTLY
Kirjoitti: toofast - helmikuu 21, 2006, 06:26:12 AP
This is probably been answered elsewhere but I got lost in all the replies and threads it's doing my head in  :o

I have a php based website (custom made).  It allows people to register and login.

I want to add a forum.

My problems;

1) I need to allow people to hit register on my site but the actual registration handled by smf and smf then tell my site that it was successful for mysite then to put details of user (plus other stuff) into my site's user table.

2) The forum registration will have to be disabled so everyone registers via my registration bit

3) When they login to forum it will also log them into my site.  Same when they log out.

4) I have over 400 existing users on my site that I want to make members on smf, their passwords are not hashed.

p.s. both my website and smf will be on same server but different folders and different databases.
Otsikko: Re: Integration help needed URGENTLY
Kirjoitti: chrisgwood - maaliskuu 15, 2006, 11:39:37 AP
Lainaus käyttäjältä: toofast - helmikuu 21, 2006, 06:26:12 AP
This is probably been answered elsewhere but I got lost in all the replies and threads it's doing my head in  :o

I have a php based website (custom made).  It allows people to register and login.

I want to add a forum.

My problems;

1) I need to allow people to hit register on my site but the actual registration handled by smf and smf then tell my site that it was successful for mysite then to put details of user (plus other stuff) into my site's user table.

2) The forum registration will have to be disabled so everyone registers via my registration bit

3) When they login to forum it will also log them into my site.  Same when they log out.

4) I have over 400 existing users on my site that I want to make members on smf, their passwords are not hashed.

p.s. both my website and smf will be on same server but different folders and different databases.

I too want this, and can't find the best solution so I was thinking of writing a registration page that inserts into the SMF forum, then use the SMF Login and Logout (with re-directs) afterwards.

If I get it working (will be doing it tonight) I'll let you know how I get on.