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
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 3

NiteOwl
Junior Member

Canada
403 Posts

Posted - 16 October 2005 :  01:33:51  Show Profile  Visit NiteOwl's Homepage  Reply with Quote
this is great news, so maybe I can get my site working.

The domain/forum is www.bcfmwu-forum.com/
The website I am trying to activate is www.bcfmwu-forum.com/membersweb/members.asp
(If one clicks on the above link you see that I am close but the login won't work, however if you click on the Do I have to Register and look at the URL it is not directing properly)

But @tomic says if you do not have the forum in the "Forum" folder his code will not work.

I guess my question is where are the changes, or which file do I need to modify to get my site working with Universal Login.

And Actually, all I really want to do is put some security to the members.asp file to ensure anyone who access it is a valid member of the forum.
<

-=NiteOwl=-

Edited by - NiteOwl on 16 October 2005 01:35:52
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 17 October 2005 :  06:02:54  Show Profile  Reply with Quote
As far as I know that is because the code @tomic provided for including the forum files in non-forum pages point to a directory called "forum"; all you'd have to do is change that directory to whatever your forum directory is called.

<

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

gnixon14
Starting Member

USA
6 Posts

Posted - 17 October 2005 :  12:33:47  Show Profile  Reply with Quote
Well I fought with universal login all weekend. I got no where, ready to shoot the computer. Who wants to give me a bid?<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 17 October 2005 :  12:41:05  Show Profile  Reply with Quote
It would help if knew where exactly "nowhere" was - what problems did you have?

<

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

gnixon14
Starting Member

USA
6 Posts

Posted - 17 October 2005 :  12:50:34  Show Profile  Reply with Quote
Well, I used your suggestion above and have a login form on my home page (html) that goes to forum/login.asp and works great. The problem I'm running into is what files to put on a page (not in forum) to make sure a person is logged in.

Thanks for an help you can give me.<
Go to Top of Page

Roger Fredriksson
Average Member

Sweden
556 Posts

Posted - 17 October 2005 :  13:52:53  Show Profile  Visit Roger Fredriksson's Homepage  Reply with Quote
If it´s on a page outside of Snitz-pages you need
<!--#INCLUDE FILE="config.asp"-->
<!--#INCLUDE FILE="inc_sha256.asp"-->
<!--#INCLUDE FILE="inc_header.asp" -->

After that you test by using mlev
If mlev <1 then the visitor is not logged in.
<

rf/www.avgifter.com
Go to Top of Page

gnixon14
Starting Member

USA
6 Posts

Posted - 17 October 2005 :  14:33:11  Show Profile  Reply with Quote
Great thanks, but how do I get rid of all the forum links and stuff at the top? Is there a modified inc_header.asp for that?<
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 17 October 2005 :  14:50:29  Show Profile  Visit AnonJr's Homepage  Reply with Quote
If you dig around a little you can find the bits of code you will need to "borrow" to make your own. To the best of my knowledge there isn't a ready made option.

At this point I've just started to roll everything into the same directory and am modifying inc_header.asp to accomodate the extra sections.... but that's not always a viable solution. <
Go to Top of Page

gnixon14
Starting Member

USA
6 Posts

Posted - 17 October 2005 :  14:55:36  Show Profile  Reply with Quote
Oh if only I was that good with code. I reckon I have to actually do some cypherin' now...<
Go to Top of Page

Roger Fredriksson
Average Member

Sweden
556 Posts

Posted - 17 October 2005 :  15:14:19  Show Profile  Visit Roger Fredriksson's Homepage  Reply with Quote
Try inc_header_short.asp instead.<

rf/www.avgifter.com

Edited by - Roger Fredriksson on 17 October 2005 15:15:01
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 17 October 2005 :  15:25:22  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Almost forgot about that one... I think it would work alright. Not sure though.<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 18 October 2005 :  07:22:37  Show Profile  Reply with Quote
All you need is to set the forum cookies to website, include the chkUser function somewhwre in your files and "borrow" the line that assigns the value of mlev from inc_header.asp. If someone is logged in, mlev will have a value greater than 0.

<

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

gnixon14
Starting Member

USA
6 Posts

Posted - 18 October 2005 :  10:46:50  Show Profile  Reply with Quote
Yous guys is all geniuses...I think it works. I'll let ya know.<
Go to Top of Page

pharic
Starting Member

14 Posts

Posted - 03 May 2006 :  10:32:51  Show Profile  Reply with Quote
Hi

I'm also trying to get this mod to work, I think it's all going ok so far but I have one question:

How can I allow only members of one particular group access to certain pages. I have a general forum and a members only forum. I don't want to allow members of the general forum access to the members area.

If anyone can help I would be very grateful

pharic<
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 03 May 2006 :  11:12:56  Show Profile  Visit AnonJr's Homepage  Reply with Quote
To the best of my knowledge, you'll need the UserGroups MOD and some custom coding.<
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous Page | 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