Author |
Topic  |
JimAcker
Starting Member
4 Posts |
Posted - 26 December 2007 : 02:39:42
|
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
|
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 |
 |
|
JimAcker
Starting Member
4 Posts |
Posted - 26 December 2007 : 02:56:49
|
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 |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 26 December 2007 : 03:18:15
|
"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 |
 |
|
JimAcker
Starting Member
4 Posts |
Posted - 26 December 2007 : 03:26:46
|
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. |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 26 December 2007 : 03:33:44
|
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 |
 |
|
JimAcker
Starting Member
4 Posts |
Posted - 26 December 2007 : 04:11:03
|
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. |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
muzishun
Senior Member
   
United States
1079 Posts |
Posted - 26 December 2007 : 09:21:44
|
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) |
 |
|
pdrg
Support Moderator
    
United Kingdom
2897 Posts |
Posted - 26 December 2007 : 14:30:15
|
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. |
 |
|
championc
Starting Member
10 Posts |
Posted - 30 December 2007 : 14:04:41
|
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 |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
pdrg
Support Moderator
    
United Kingdom
2897 Posts |
Posted - 31 December 2007 : 17:59:17
|
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! |
 |
|
modifichicci
Average Member
  
Italy
787 Posts |
Posted - 31 December 2007 : 18:12:14
|
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 |
 |
|
NiteOwl
Junior Member
 
Canada
403 Posts |
Posted - 01 January 2008 : 01:08:16
|
Yes please do, if you have a moment! |
-=NiteOwl=-
|
 |
|
modifichicci
Average Member
  
Italy
787 Posts |
Posted - 01 January 2008 : 08:46:34
|
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
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 |
 |
|
Topic  |
|