Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Aiheen aloitti: BitFiddler - maaliskuu 20, 2011, 09:06:34 IP

Otsikko: Database / Tables question
Kirjoitti: BitFiddler - maaliskuu 20, 2011, 09:06:34 IP
I have downloaded it and will try installing it soon.  I already have a rudimentary website with its own user registration.

1.  Can I disable the forum registration, so that it uses mine ?
2.  Is it best to install SMF to use its own database and for me to copy over the users as they register
     OR
     It is best to install it in my database ?
Otsikko: Re: Database / Tables question
Kirjoitti: Illori - maaliskuu 21, 2011, 06:21:59 AP
you can easily disable registration in the admin panel, but integrating smf to another website/portal/cms etc may or may not be easy or possible. you will have to give us more information on what you are trying to do.
Otsikko: Re: Database / Tables question
Kirjoitti: BitFiddler - maaliskuu 22, 2011, 04:24:41 IP
I already have a rudimentary website.  I have my own registration page.

The focus of the site is not forums or message boards.  So

Otsikko: Re: Database / Tables question
Kirjoitti: ziycon - maaliskuu 22, 2011, 06:51:39 IP
You could add your users to the 'smf_members' table but I don't know if there are any other references that need to be added to other tables, maybe someone can confirm this. Also you will need to hash the password, this can be done with the below code.
sha1(strtolower($username) . $password)