Author |
Topic |
NiteOwl
Junior Member
Canada
403 Posts |
Posted - 16 October 2005 : 01:33:51
|
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 |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 17 October 2005 : 06:02:54
|
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.” |
|
|
gnixon14
Starting Member
USA
6 Posts |
Posted - 17 October 2005 : 12:33:47
|
Well I fought with universal login all weekend. I got no where, ready to shoot the computer. Who wants to give me a bid?< |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 17 October 2005 : 12:41:05
|
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.” |
|
|
gnixon14
Starting Member
USA
6 Posts |
Posted - 17 October 2005 : 12:50:34
|
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.< |
|
|
Roger Fredriksson
Average Member
Sweden
556 Posts |
Posted - 17 October 2005 : 13:52:53
|
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 |
|
|
gnixon14
Starting Member
USA
6 Posts |
Posted - 17 October 2005 : 14:33:11
|
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?< |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 17 October 2005 : 14:50:29
|
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. < |
|
|
gnixon14
Starting Member
USA
6 Posts |
Posted - 17 October 2005 : 14:55:36
|
Oh if only I was that good with code. I reckon I have to actually do some cypherin' now...< |
|
|
Roger Fredriksson
Average Member
Sweden
556 Posts |
Posted - 17 October 2005 : 15:14:19
|
Try inc_header_short.asp instead.< |
rf/www.avgifter.com |
Edited by - Roger Fredriksson on 17 October 2005 15:15:01 |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 17 October 2005 : 15:25:22
|
Almost forgot about that one... I think it would work alright. Not sure though.< |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 18 October 2005 : 07:22:37
|
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.” |
|
|
gnixon14
Starting Member
USA
6 Posts |
Posted - 18 October 2005 : 10:46:50
|
Yous guys is all geniuses...I think it works. I'll let ya know.< |
|
|
pharic
Starting Member
14 Posts |
Posted - 03 May 2006 : 10:32:51
|
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< |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 03 May 2006 : 11:12:56
|
To the best of my knowledge, you'll need the UserGroups MOD and some custom coding.< |
|
|
Topic |
|