Author |
Topic  |
|
GaryChamberlain
Starting Member
12 Posts |
Posted - 23 June 2002 : 09:08:42
|
Hello. I am developing a new site that will have it's own login and account system. How difficult is it to make the Snitz Forum use this information so that the user doesn't have to login twice and maintain two accounts?
|
|
Roland
Advanced Member
    
Netherlands
9335 Posts |
|
GaryChamberlain
Starting Member
12 Posts |
Posted - 23 June 2002 : 09:36:36
|
Can't do. Our login will have far more information than Snitz's and ties into the whole stucture of the framework. I need to have Snitz use our login.
I can make sure that I have the user ID, e-mail and whatever else is needed in a session variable or cookie but the login info will be in our own custom SQL Server user table.
|
 |
|
Gremlin
General Help Moderator
    
New Zealand
7528 Posts |
Posted - 23 June 2002 : 11:10:22
|
Look at DoCookies in inc_functions.asp to see what cookies are required to be set to ensure "auto-snitz logon"
You can also consider merging the information in a View so that Snitz would use a View from your data instead of using its own _MEMBERS table.
www.daoc-halo.com |
 |
|
GaryChamberlain
Starting Member
12 Posts |
Posted - 23 June 2002 : 13:08:32
|
Actually, the view is an interesting idea. However, I was thinking about do this bit of trickery...
1] When someone creates an account (or updates one) with our normal site account system, I will automagically insert a new user record into the Access database for them.
2] Automatically add a cookie or session variable so the scripts have them already logged in. Anyone know what this is?
3] I need to comment out anywhere that it says to login / logout / maintain profile, etc. Is this in a lot of places or just at the top?
Does this sound feasible? I can't belive that noone has ever had this requirement before. Is this something that can be added as a request for a future release?
Thanks, Gary
|
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 23 June 2002 : 14:00:06
|
quote:
Actually, the view is an interesting idea. However, I was thinking about do this bit of trickery...
1] When someone creates an account (or updates one) with our normal site account system, I will automagically insert a new user record into the Access database for them.
2] Automatically add a cookie or session variable so the scripts have them already logged in. Anyone know what this is?
This looks feasible, but stick to the cookie. Snitz does not use session vars.
quote:
3] I need to comment out anywhere that it says to login / logout / maintain profile, etc. Is this in a lot of places or just at the top?
Login, log out and profile are maintained at the top. The file to edit is inc_top.asp
quote:
Does this sound feasible? I can't belive that noone has ever had this requirement before. Is this something that can be added as a request for a future release?
Not sure whether it's needed. Anyone with a knowledge of ASP can change that and the vast majority of users seem to use the forum's login.
------------------------------------------------- Installation Guide | Do's and Dont's | MODs |
 |
|
stonie
Starting Member
Australia
12 Posts |
Posted - 12 August 2002 : 01:06:58
|
Garry how did you get along with your preposed sintz modifcation? I am looking at modifying sitz in exactly the way you mentioned. So it would be good to know how you got along.
Kind regards, Stonie. |
 |
|
Doug G
Support Moderator
    
USA
6493 Posts |
Posted - 12 August 2002 : 01:25:04
|
Do a search here for session login or similar. You'll find quite a few lengthy discussions on this subject.
I once kludged a portion of this, I took an existing user ID from a session variable and caused it to automatically create a new snitz user. This involved adding a column to the member table, and some serious chopping of code in inc_top and other places.
It worked fine, I never finished the job though.
|
====== Doug G ====== Computer history and help at www.dougscode.com |
 |
|
|
Topic  |
|