Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Using differnt user info..
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

GaryChamberlain
Starting Member

12 Posts

Posted - 23 June 2002 :  09:08:42  Show Profile
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

Posted - 23 June 2002 :  09:15:00  Show Profile
If you haven't started with the site's login yet, it might be easier to use Snitz' registration and login sections. That's the advise that's normally given.

Roland

http://www.frutzle.com

Snitz Exchange | Do's and Dont's
Go to Top of Page

GaryChamberlain
Starting Member

12 Posts

Posted - 23 June 2002 :  09:36:36  Show Profile
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.

Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 23 June 2002 :  11:10:22  Show Profile  Visit Gremlin's Homepage
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
Go to Top of Page

GaryChamberlain
Starting Member

12 Posts

Posted - 23 June 2002 :  13:08:32  Show Profile
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

Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 23 June 2002 :  14:00:06  Show Profile  Send ruirib a Yahoo! Message
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
Go to Top of Page

stonie
Starting Member

Australia
12 Posts

Posted - 12 August 2002 :  01:06:58  Show Profile
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.
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 12 August 2002 :  01:25:04  Show Profile
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07