Author |
Topic  |
|
DarlingBri
Junior Member
 
United Kingdom
378 Posts |
Posted - 20 May 2001 : 07:19:21
|
Morning, All...
I am having terrible trouble understanding how to make logins work from outside the forum.
I just want to provide a usenrame and password box and have the person get sent to the forum on login.
On this off-forum page, I am running the Links Managers and Slash mods, so I already have a bunch of files included on that page, like:
<!--#INCLUDE FILE="forum/config.asp" --> <!--#INCLUDE FILE="forum/inc_functions.asp" -->
I have done a search on "login" and read through the posts, all of which say "this has been explained hundred of times."
Except I can't find the explaining bit :o(
Can somebody tell me how to make this work?
Thanks in advance,
--Bri
***** "Bother," said Pooh, as Piglet was assimilated by the Borg.
Edited by - DarlingBri on 20 May 2001 07:21:41 |
|
DarlingBri
Junior Member
 
United Kingdom
378 Posts |
Posted - 20 May 2001 : 13:51:51
|
Is this post in the wrong forum? Would I get more help in Help: Mod Implementation because of the Links Manager and Slash bits?
Sorry, I'm just desperate to get this finally finished, that's all :o)
***** "Bother," said Pooh, as Piglet was assimilated by the Borg. |
 |
|
gor
Retired Admin
    
Netherlands
5511 Posts |
Posted - 20 May 2001 : 14:03:12
|
DarlinBri,
Like you might have noticed, this site has a logon box on the non-forum pages. I only added this today. Once I'm sure that work ok I'll post a link to it here.
One thing you have to make sure is that the cookie-mode is set to "website"
Pierre Join the Snitz WebRing |
 |
|
DarlingBri
Junior Member
 
United Kingdom
378 Posts |
Posted - 20 May 2001 : 14:11:53
|
Thank you :o)))))
I'll be waiting with desperate anxiety to try to make this work. I did set my cookies to website, having read as much as I could understand in some other posts.
THANK YOU!
***** "Bother," said Pooh, as Piglet was assimilated by the Borg. |
 |
|
JGonier
Starting Member
USA
44 Posts |
|
steverrific
Starting Member
USA
16 Posts |
Posted - 21 May 2001 : 15:01:42
|
. . .bump.
I'm interested in how you did this Gor. I want to do exactly what you have done.
Thanks, and I'll work on my patience. 
|
 |
|
sr_erick
Senior Member
   
USA
1318 Posts |
Posted - 22 May 2001 : 00:14:23
|
I am also one very interested in doing this exact thing as it would fit into the format of my site very nicely. BTW, this is my 100th post, hehehe 
__________________________________
 Snowmobile Fanatics
|
 |
|
JGonier
Starting Member
USA
44 Posts |
Posted - 22 May 2001 : 00:30:30
|
Try what they have on the site here.
<script language="JavaScript"> <!-- hide from JavaScript-challenged browsers function openWindow(url) { popupWin = window.open(url, 'new_page', 'width=400,height=400') } // done hiding --> </script>
<html>
<head> <Title>Whatever here</Title> </head> <body> <div align="center"><center>
<table cellSpacing="1" cellPadding="4" width="154" border="0"> <TBODY> <tr> <td bgColor="#191970" width="144"><b><font face="Verdana, Arial, Helvetica" color="#f5fffa" size="2">Logon </font></b></td> </tr> <tr> <td bgColor="#f5f5f5" width="144"><font face="Verdana, Arial, Helvetica" size="1"><form id="form1" name="form1" action="http://www.yoursitehere.com/forum/Default.asp" method="post"> <input type="hidden" name="Method_Type" value="login"><table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0"> <TBODY> <tr> <td align="center" bgColor="#f5f5f5"><table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0"> <TBODY> <tr> <td bgColor="#f5f5f5"><font face="Verdana, Arial, Helvetica" size="1"><b>Username:</b></font><br> <input size="10" name="Name"></font></td> </tr> <tr> <td bgColor="#f5f5f5"><font face="Verdana, Arial, Helvetica" size="1"><b>Password:</b></font><br> <input type="password" size="10" name="Password"></td> </tr> <tr> <td bgColor="#f5f5f5"><font face="Verdana, Arial, Helvetica" size="1"><input type="checkbox" CHECKED value="true" name="SavePassWord"><b> Save Password</b></font></td> </tr> <tr> <td bgColor="#f5f5f5"><div align="center"><center><p><font face="Verdana, Arial, Helvetica" size="1"> <br> <input id="submit1" type="submit" value="Login" name="submit1"></font></td> </tr> <tr align="center"> <td align="center" bgColor="#f5f5f5"><font face="Verdana, Arial, Helvetica" size="1"> <br> <a href="JavaScript:openWindow('forum/pop_pword.asp')">Forgot your Password?</a><br> <br> <a target="_blank" href="http://www.yoursitehere.com/forum/policy.asp">Register</a></font><br> </td> </tr> </TBODY> </table> </td> </tr> </TBODY> </table> </form> </td> </tr> </TBODY> </table> </center></div> </body> </html>
Sincerely, JGonier |
 |
|
steverrific
Starting Member
USA
16 Posts |
Posted - 22 May 2001 : 10:55:20
|
Thanks, JGonier, but that doesn't really work. I had tried that already. I enter my info in, and it says I've logged on, then takes me back to the front page and asks where the logon window doesn't say "you are logged on as steve", but still asks for uname and pass.
|
 |
|
JGonier
Starting Member
USA
44 Posts |
Posted - 22 May 2001 : 11:07:17
|
You would also have to use the include file statements for that page for config.asp, functions.asp and I believe inc_top_short.asp as well as change cookies setting to website.
I am not sure about the include statements though. I am still playing with it myself.
Sincerely, JGonier |
 |
|
davemaxwell
Access 2000 Support Moderator
    
USA
3020 Posts |
Posted - 22 May 2001 : 12:29:11
|
Jgonier is correct. You need to make sure cookies is set to website. You then need to leave the site you want the cookie to work on, delete all cookies for the site, go back to the site and login again. It should work then...
Dave Maxwell -------------- Proud to be a "World Class" Knucklehead |
 |
|
sr_erick
Senior Member
   
USA
1318 Posts |
Posted - 22 May 2001 : 15:12:47
|
What do you mean when you say, quote: "You would also have to use the include file statements for that page for config.asp, functions.asp and I believe inc_top_short.asp
Since my forum is a single DB but two interfaces but on the same server, I set the cookies on both of them to the website, so you log in at one and you are at the other. It will log you in but won't say you are afterwards. Thanks!
__________________________________
 Snowmobile Fanatics
|
 |
|
JGonier
Starting Member
USA
44 Posts |
Posted - 22 May 2001 : 23:47:42
|
sr_erick,
Since you are running two forums on your site, I do not believe that the method used on this site will work for you. Because you are running two forums from the same site you may have to find some way to modify the code to look for one cookie if login=true for one forum and look for the other cookie if login=true for that one.
However, I am not experienced in ASP programming at all (just tweeking it), so I have no idea of how to go about that.
You may just want to look at the posting I made here at this link, http://forum.snitz.com/forum/topic.asp?TOPIC_ID=9617&FORUM_ID=6&CAT_ID=5&Topic_Title=HuwR%2C+Richard%2C+Davio%2C+Anyone%3F&Forum_Title=Code+Support%3A+ASP+%28Non%2DForum+Related%29 to use as a temporary fix to a login solution. You could set it up to login to access each forum, however you would still have to re-login to your forum once you got to the forum.
Sincerely, JGonier |
 |
|
sr_erick
Senior Member
   
USA
1318 Posts |
Posted - 23 May 2001 : 00:06:07
|
O....K, Now I am lost. Has anyone done this before with a dual interface forum?
__________________________________
 Snowmobile Fanatics
|
 |
|
sr_erick
Senior Member
   
USA
1318 Posts |
Posted - 23 May 2001 : 17:49:21
|
Can't I just set the cookie to the site on the forum for that site? Then on the other forum, just set it to the forum. Would't that work the same way as having a single forum? Thanks!
__________________________________
 Snowmobile Fanatics
|
 |
|
mvaughn
Starting Member
30 Posts |
Posted - 30 May 2001 : 17:20:16
|
- bump -
Gor,
Any quick tips on implementing the the Outside Login?
-Mark- __________________ That which fascinates us, is in fact true. |
 |
|
|
Topic  |
|