Uutiset:

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

Main Menu
Advertisement:

Database / Tables question

Aloittaja BitFiddler, maaliskuu 20, 2011, 09:06:34 IP

« edellinen - seuraava »

BitFiddler

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 ?

Illori

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.

BitFiddler

I already have a rudimentary website.  I have my own registration page.

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


  • I want to disable the forums registration
  • I want to use my own registration
  • Can I populate the forums user tables from my tables ?  It shoudo be possible to add the users from my tables "before insert trigger" into smfs' users table

ziycon

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)

Advertisement: