1

Topic: Integration with current site: How to autocreate user in punBB's db?

Assuming your websites has a separate user registration form, how do you integrate punbb in your site such that when the user register an account with your site, you will also create a punbb account with the same username and password (so that he need not register for a forum account separately later)

Re: Integration with current site: How to autocreate user in punBB's db?

Just add a proper entry to the users table, using pun_hash() to hash the password.

Looking for a certain modification for your forum? Please take a look here before posting.

3

Re: Integration with current site: How to autocreate user in punBB's db?

is there a pun function like so

pun_add_user(array('username' => 'something', 'password' => 'xxx'))

Re: Integration with current site: How to autocreate user in punBB's db?

No, there is not.

Looking for a certain modification for your forum? Please take a look here before posting.