| Author |
Topic Search Topic Options
|
idonnoasp
Newbie
Joined: 29 April 2006
Location: Canada
Status: Offline
Points: 5
|
Post Options
Thanks(0)
Quote Reply
Topic: Integrate WebWiz Forum with Current SQL DB Posted: 29 April 2006 at 11:15pm |
Hello All!
I was wonder if it's possible to integrate WebWiz Forums with my current
database of users/password. When someone joins my website I'd like to have the
system create an account in the forums for them automatically.
Is that possible?
Thanks,
P.
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 02 May 2006 at 12:50pm |
|
There is a built in member API.
Just add the following to your own sites login system:-
Session("USER") = Member_Username Session("PASSWORD") = Member_Password
Replace the parts in red with the users login username and password, this will auto log the user into the forum, and create an account for them when they go to the forum, if they don't have one already.
This does rely on your own sites security for logging in users which probably won't be as secure as that built into Web Wiz Forums. So make sure your login system is adequately secure.
|
|
|
 |
idonnoasp
Newbie
Joined: 29 April 2006
Location: Canada
Status: Offline
Points: 5
|
Post Options
Thanks(0)
Quote Reply
Posted: 02 May 2006 at 1:18pm |
|
Will the forum prompt them for more information regarding their new account or let them right in to use the forums?
Thanks,
Patrick
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 02 May 2006 at 1:26pm |
|
Once your users login into your site using this method they will not need to login into the forum also.
What happens is, the member logs into your site, they then go to the forum where they will also be logged in under the same username, without them having to do anything extra.
If it is the first time the logged in member goes to your forum an account for them will be created by the forum and they will be logged in under that username to the forum without them needing to do anything else.
|
|
|
 |
idonnoasp
Newbie
Joined: 29 April 2006
Location: Canada
Status: Offline
Points: 5
|
Post Options
Thanks(0)
Quote Reply
Posted: 02 May 2006 at 1:32pm |
|
Will the system prompt them for a different username if the one from my system already exists on the forums?
Thanks for the quick replies, it's much appreciated!
Patrick.
Edited by idonnoasp - 02 May 2006 at 1:33pm
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 02 May 2006 at 1:40pm |
|
No, your login system needs to use unique usernames.
Because you are relying on the security of your own login system it means that the user is auto logged into the forum by whatever username they log into your sites own login system under.
|
|
|
 |
idonnoasp
Newbie
Joined: 29 April 2006
Location: Canada
Status: Offline
Points: 5
|
Post Options
Thanks(0)
Quote Reply
Posted: 02 May 2006 at 1:48pm |
|
Is there a way to disable the 'registration' on the forums? Which would allow me to force users to register with my main site which in-turn would create an account on the forums for them.
Thanks,
Patrick.
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 02 May 2006 at 1:54pm |
|
Sorry I forgot to mention, that you should disable new user registration from the admin area.
|
|
|
 |