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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Does Universal Login work?
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

Astralis
Senior Member

USA
1218 Posts

Posted - 30 August 2005 :  07:45:33  Show Profile  Send Astralis a Yahoo! Message  Reply with Quote
I'm trying to get the universal login mod to work. I tried it in the past and could never get it to work and thought I'd revisit it but I still cannot get it to work.

Has anyone ever had this mod operational? If so, what modifications did you make to get it to work?<

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 30 August 2005 :  07:47:18  Show Profile  Reply with Quote
I've never used the mod itself because of the need for all the forum includes but I do have a custom universal login up & ruuning on both my sites. What problems are you encountering when you attempt to install it?

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Nertz
Junior Member

Canada
341 Posts

Posted - 30 August 2005 :  08:34:03  Show Profile  Reply with Quote
It does work, I use it in two sites, but like shaggy said requires a bunch of forum includes including inc_header.asp which has login functionality and therefore shows up twice. I recall having to create a modifified inc_header.asp and a lot of customization on the pages that I used it. I could share some of that code when I get home tonight, just drop me an email if you want it.

cheers,
Nat<

Sadly, most Family Court Judges wrongfully reward opportunistic gold diggers
that use our children unjustly as "instruments" of power.


www.fathers-4-justice-canada.ca
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 30 August 2005 :  08:51:22  Show Profile  Reply with Quote
One of the quickest ways to acheive this (as I have done with MeTV) is to create your own form and have it post to login.asp. No need for all the additional includes nor any custom ASP, just the basic HTML for the form.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Astralis
Senior Member

USA
1218 Posts

Posted - 30 August 2005 :  08:56:47  Show Profile  Send Astralis a Yahoo! Message  Reply with Quote
Yes, got it after your advice. The inc_header.asp was very devilish. I eventually just manually parsed through every line to figure it out after reading your advice.

The next question is what is the variable of the numerical userid?

I also created a modified inc_header. Essentially, I added a few lines to inc_header_short and now it's working.

Thanks for the support!

Shaggy, that's interesting advice but do you think it would work for my purpose which is: I'm hiding content for members only. If I send them to the login page of the forum, it will redirect to the forum. But, I agree, if it was just a universal login to the forum, posting it to that page would be the better option.

All my members are complaining about the multiple logins, and I feel their pain. I hate registering for all the different sections.
<

Edited by - Astralis on 30 August 2005 09:06:51
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 30 August 2005 :  10:02:21  Show Profile  Reply with Quote
If you pass the URI of the page through you're logging in from, login.asp should redirect you to that page. Have a look at the hidden inputs of thr form in login.asp to see what they're called.

As for the MEMBER_ID, if you're calling chkUser in any of your non-forum files or their includes, it's assigned to a variable called MemberID. You'll need to set cookies to website for it to work. To check if the varibale has been assigned, try a resopnse.write on it while logged in. If it's not being assigned, have a look in inc_header.asp to see how the mlev variable is assigned using a call to chkUser. Oh, you'll also have to make sure that MemberID is declared outside the chkUser function.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Astralis
Senior Member

USA
1218 Posts

Posted - 30 August 2005 :  19:12:02  Show Profile  Send Astralis a Yahoo! Message  Reply with Quote
Cool...it's being passed. This is stored in a cookie until the user is logged-off, right?<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 31 August 2005 :  05:13:57  Show Profile  Reply with Quote
Are you being redirected to the correct pages when logging in from outside the forum.

The username and encrypted password are stored in a cookie until such a time as the member logs off or the cookie expires. Again, have a look in inc_header.asp to see how Snitz reads the cookie (search for request.cookies).

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

NiteOwl
Junior Member

Canada
403 Posts

Posted - 16 September 2005 :  20:55:11  Show Profile  Visit NiteOwl's Homepage  Reply with Quote
Shaggy - I have also had a lot of grief with the Universal Login, probably because my forum and the site I want toi use the login are on different servers etc.

I would be VERY interested to know how you achieved this, as I have a website which needs to be secured using the username and passwords from my forum. Any one with suggections please feel free to respond. I am ok with ASP and have done websites for years.

<

-=NiteOwl=-
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 19 September 2005 :  06:51:22  Show Profile  Reply with Quote
NiteOwl, unfortunately, there is no way that I know of to share cookies between sites on different servers. If they are both using the same domain name then there may be some workaround. Let me know if they are and I'll look into it.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

StephenD
Senior Member

Australia
1044 Posts

Posted - 19 September 2005 :  07:04:39  Show Profile  Send StephenD a Yahoo! Message  Reply with Quote
You can use a different method called Ping Sessions. A company I've had some exposure to do this very well. Not free but bluddy good product. Here's a link. http://www.pingidentity.com/index.html<
Go to Top of Page

gnixon14
Starting Member

USA
6 Posts

Posted - 14 October 2005 :  17:18:01  Show Profile  Reply with Quote
Does anyone have this actually working on a live site?<
Go to Top of Page

NiteOwl
Junior Member

Canada
403 Posts

Posted - 14 October 2005 :  18:52:47  Show Profile  Visit NiteOwl's Homepage  Reply with Quote
Thanks Shaggy - I have moved my web to a sub directory of my FORUM now but still ahve the problem.

My Forum has its own Domain name ie: www.BCFMWU-Forum.com and my webspace will be a subfolder off of that, this of cource does not meet with @tomics Universal login directions which state taht the forum must be in a subfolder called forum.

Am I up a creek?

<

-=NiteOwl=-
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 15 October 2005 :  00:21:52  Show Profile  Reply with Quote
If you are talking about the Uni Login, then I have it working accross a number of sites.
quote:
Originally posted by gnixon14

Does anyone have this actually working on a live site?

I have it at www.classicmotorcycling.com.au for a demo.
<

Cheers,

David Greening
Go to Top of Page

NiteOwl
Junior Member

Canada
403 Posts

Posted - 15 October 2005 :  18:33:40  Show Profile  Visit NiteOwl's Homepage  Reply with Quote
Hi - Do you have it working between different domains on different servers?

<

-=NiteOwl=-
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 15 October 2005 :  23:27:12  Show Profile  Reply with Quote
I only have it on the same domain name on the same server, just have it available on all pages of the domain.

Another site I implemented it on is www.sportsfish.com.au for the guys there. Works really good across the site.

Snitz will only allow for the Universial logon to work on the same site if you have cookies turned on for the site and not just turned on for the forum.<

Cheers,

David Greening
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.15 seconds. Powered By: Snitz Forums 2000 Version 3.4.07