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)
 Passing site log-in info to Snitz?
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

JimAcker
Starting Member

4 Posts

Posted - 26 December 2007 :  02:39:42  Show Profile
I searched this topic, but did not find any recent posts, so I'm guessing the info posted applies to older versions? I'm evaluating this software for use on our corporate web site.

In short, how do I pass my user log-in info directly to Snitz, so that authenticated users on my site do not have to re-log in again to Snitz when they go from the site to the forum section? Is this a common function for Snitz or is it pushing the limits of this software?

Thanks,

JIM

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 26 December 2007 :  02:53:09  Show Profile  Send ruirib a Yahoo! Message
The info related to old posts remains valid. Login is still done the same way. Snitz uses cookies to determine whether the user is logged in or not and the cookies are created in the DoCookies function in inc_func_common.asp.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

JimAcker
Starting Member

4 Posts

Posted - 26 December 2007 :  02:56:49  Show Profile
When you say "log in is still done, the same way" does that mean that users that have already logged in to my site haveto again log in to SNitz? Is there a text file or a "readme" that talks about this at any length? Getting Snitz to allow my authenticated users immediate access without forcing them to log in again is a deal breaker for us and I'd like to get it set up so that I can give it a go.

Thanks again. JIM


Edited by - JimAcker on 26 December 2007 03:03:46
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 26 December 2007 :  03:18:15  Show Profile  Send ruirib a Yahoo! Message
"Login is still done the same way" means that it hasn't changed from previous Snitz versions. I understand the reasoning for a single login, but that means that one of the options presented in the old posts about the issue will have to be implemented:
- change Snitz to use your DB (will take some work);
- change your code to login using Snitz tables (can't say how hard it will be).

First option depends, implementation wise, on the Db to be used. With Access or MySQL it will be harder, with SQL Server can be easier. Again, all info on this can be found in old posts, nothing has changed in the way Snitz handles login.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

JimAcker
Starting Member

4 Posts

Posted - 26 December 2007 :  03:26:46  Show Profile
Sounds like it is going to be difficult (at best) to make Snitz do this. I'm surprised. This seems like it would be a common function.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 26 December 2007 :  03:33:44  Show Profile  Send ruirib a Yahoo! Message
Snitz's code is not really that recent and integration worries were not present at the start. Snitz uses it's FORUM_MEMBERS table for all it's login and membership stuff. In order to have it use custom tables will take some effort, that's for sure, but it's definitely doable (several of our members have done it).

The .net beta version, for example, is different because it implements the providers strategy common in .net development, so it would be just a matter of writing your own providers. Unfortunately I don't think it will be available in a short notice.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

JimAcker
Starting Member

4 Posts

Posted - 26 December 2007 :  04:11:03  Show Profile
Are there any plans to streamline this in the near future? I like the look of Snitz, but if my users have to log in twice, it's not going to work.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 26 December 2007 :  04:29:28  Show Profile  Send ruirib a Yahoo! Message
No, I don't think this will be handled differently in the near future.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 26 December 2007 :  09:21:44  Show Profile  Visit muzishun's Homepage
There is a universal login MOD over at SnitzBitz that may help with the transition. Essentially, you'd import your users into the Snitz db, and set it up so that your whole site logs into Snitz once. I had that set up on a site I ran a couple years ago. It took some work, but really wasn't too terrible.

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 26 December 2007 :  14:30:15  Show Profile  Send pdrg a Yahoo! Message
If what you're really after is more of an integrated 'whole site' login, you may also wish to consider a nuke or cms, and use their forum functionality (often more limited than Snitz's). cmsms and dotnetnuke are both pretty good.
Go to Top of Page

championc
Starting Member

10 Posts

Posted - 30 December 2007 :  14:04:41  Show Profile
Can anyone confirm as to what .asp files would need amendment. I am happy enough with the programming in reading from my own database but I'm sure it will save me a few minutes (or hours) rathering than looking through all the .asp modules


Cormac
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 30 December 2007 :  14:49:36  Show Profile  Send ruirib a Yahoo! Message
Login deals with FORUM_MEMBERS table, so all files that deal with that table need to be taken care of. Better do a global search for MEMBERS and work from there.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 31 December 2007 :  17:59:17  Show Profile  Send pdrg a Yahoo! Message
I'm sure if you do this successfully and post your results up here that it'll be handy for others in the future!

As Rui indicates, the Snitz project started a long long time ago (back when years had nines in them!) and the concept of all-in-one portals didn't really exist as we know them today, at least not at the consumer level. It is one of the pre dotcom bubble (first time round - is everyone braced for the "web 2.0" bubble burst due any time now?) projects still giving love freely ;-) And anyone who remembers boo.com will appreciate the significance of that!
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 31 December 2007 :  18:12:14  Show Profile  Visit modifichicci's Homepage
I have done this for my forum and for the site www.europeanherniasociety.it
Portal page has the universal login mod, (a little modification because that page has to be in forum dir, nor in site dir and all pages of the site that have to be reserved to users have a check to
if strDBNTUserName = "" then
the site pages have to be in forum dir (maybe a better use of include virtual could solve this little inconvenient..) and all is playing with links..
Users registered to forum are registered to site (not the inverse.. if you don't make it by hand..) but that is what we need, only one registration both to site and forum.
Site is in asp and has included forum config and others files..
If this is what you need I can explain better

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

NiteOwl
Junior Member

Canada
403 Posts

Posted - 01 January 2008 :  01:08:16  Show Profile  Visit NiteOwl's Homepage
Yes please do, if you have a moment!

-=NiteOwl=-
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 01 January 2008 :  08:46:34  Show Profile  Visit modifichicci's Homepage
Ok I try...
Maybe some passages need a verify step by step.

1) you need to install unversal login mod by atomic
I have created a file inc_header_modif.asp with the function of inc_header but without the menů and the layout
inc_header_modif has to be in forum dir
2) create a page portal.asp with include
<!--#INCLUDE File="config.asp" -->
<!--#INCLUDE File ="inc_sha256.asp"-->
<!--#INCLUDE File ="inc_header_modif.asp"-->
<!--#INCLUDE File ="inc_func_posting.asp"-->
<!--#INCLUDE File ="inc_func_secure.asp"-->

and then including inc_login
portal.asp, inc_login.asp have to be in forum folder

Then you can include your site pages in portal with the layout you like



Pages open to all can stay in site dir
Pages reserved to registered members have to be in forum folder

In pages reserved you have to put
<!--#INCLUDE File ="config.asp"-->
<!--#INCLUDE File ="inc_sha256.asp"-->
<!--#INCLUDE File ="inc_header_modif.asp"-->


<!--#INCLUDE File ="inc_func_posting.asp"-->

<!--#INCLUDE File ="inc_func_secure.asp"-->
<!--#INCLUDE File ="inc_func_member.asp"-->
and in code

if strDBNTUserName = "" then
Err_Msg = "You have to be login to see this page"

Response.Write " <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """ color=""" & strHiLiteFontColor & """>There was a problem!</font></p>" & vbNewLine & _
" <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHiLiteFontColor & """>" & Err_Msg & "</font></p>" & vbNewLine & _
" <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href=""JavaScript:history.go(-1)"">Back to site</a></font></p>" & vbNewLine & _
" <br />" & vbNewLine

else


then you can link page or include page as you like, remebering to use the include virtiual command if pages are outside and include file if they are in forum dir..

That is working well in a couple of site I have done..
Members register only in forum db and they can access site page as well.
Members actually registered on site have to re-register in forum

this is only a quick explanation, but if you try it we can help step by step, as I know it is not so easy ...

I have tryed to put pages reserved outside forum folder, but cookies aren't working properly for me also setting cookie to site instead of forum, but you can try it also.

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 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.42 seconds. Powered By: Snitz Forums 2000 Version 3.4.07