News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Integrate registration with my own site

Started by SyntaxBlitz, March 12, 2010, 07:20:43 PM

Previous topic - Next topic

SyntaxBlitz

I have a website with an individual user system and table for the users, and I want to automatically register an SMF account when someone registers on the normal site. Really all I want is the INSERT statement to properly insert the info into the SMF table, because I'm not very good with mySQL. I don't want to integrate login or anything, I just want to auto-create the account on the SMF forum.

On that note, how can I prevent someone from registering to the forum itself, and redirect all of the register links to the link on the main site?

Thanks, and tell me if you need any clarification.

Oh yes, and I'm using SMF 1.1.11.

Arantor

See the downloads section for the SMF API - has a function called smf_registerMember which will deal with that for you.
Holder of controversial views, all of which my own.


SyntaxBlitz


Advertisement: