How can I register Users Automatically from my other php applications? [message #34619] |
Fri, 10 November 2006 10:51 |
Achil
Messages: 12 Registered: September 2006 Location: Prague
Karma: 0
|
Junior Member |
|
|
We offer a link exchange service for our users that requires registration. The whole software is written on PHP+MySql, I want to make registration at our fud forum to complete seamlessly and unnoticed at the same time a user is registered at our site. In other words I want this user to have the same login and password as he has at our system.
You know how it's boring to register multiple times to use someone's software.
Should I only insert a new row in _users table in order to make this user as functionable as though he registered himself thru the forums reg panel?
If so, what fields are obligatory.
I'm asking you to elaborate on this precisely and very carefully.
|
|
|
|
Re: How can I register Users Automatically from my other php applications? [message #34641 is a reply to message #34619] |
Fri, 10 November 2006 19:30 |
Achil
Messages: 12 Registered: September 2006 Location: Prague
Karma: 0
|
Junior Member |
|
|
Do you think I haven't searched first? I haven't found what I was looking for. Could you give me the links to these topics, plz.
As for being more specific, my question is: Is it enough to insert a new row into ..._users table in order to make this user as functionable as though he registered himself thru the forum's registration form?
Can I leave these fields (users_opt, sq) in the ..._users table blank so that they inherit their default meanings:
sq=NULL
users_opt=4488117
How this will affect forum consistency?
[Updated on: Sat, 11 November 2006 11:36] Report message to a moderator
|
|
|
Re: How can I register Users Automatically from my other php applications? [message #34658 is a reply to message #34641] |
Sun, 12 November 2006 16:21 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The sq field you definitely can leave blank. The users_opt controls the user's configuration setting you can definitely leave it at the default, but you may want to check fud_users.sql to see the meanings of the option bitmasks and perhaps determine another value that works best for you.
FUDforum Core Developer
|
|
|
|