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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 Logout Screen
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Lacey
Junior Member

USA
122 Posts

Posted - 31 May 2001 :  18:16:01  Show Profile  Visit Lacey's Homepage  Send Lacey an AOL message
Could someone tell me in what file I would need to change the "REDIRECT" page for when a person has logged out? I dont' want the member to return to the forum.. when s/he logs out... I want them logged OUT!

I had it set up on one of my test forums where after you click the LOGOUT button.. it gives the normal SNITZ message of having logged out.. but then it got redirected to a special page that gave other options.. and was no longer connected in any way to the forum..

The file and line would be helpful!

Thx bunches!!!

~L~
"Have a mah-vah-LACEY day~"

Lacey
Junior Member

USA
122 Posts

Posted - 31 May 2001 :  18:32:49  Show Profile  Visit Lacey's Homepage  Send Lacey an AOL message
OH.. and while we're at it.. the file for the REDIRECT to page for when you LOGIN. I'm setting up a separate login page.. but need it to be directed elsewhere at first as well..

Ok.. thx again! (back to the drawing board)

~L~
"Have a mah-vah-LACEY day~"
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 31 May 2001 :  18:55:25  Show Profile
Well, If I'm not wrong you didn't get it yet. They are in inc_top.asp.

Find the codes similar to the following (search "refresh"). Each one redirects to self but you can change them to whatever you like (i.e. replace current URL tag with URL="mylogin.asp").

<meta http-equiv="Refresh" content="2; URL=<% =Request.ServerVariables("HTTP_REFERER") %>">


What you should do is I think:
1. Make a copy of inc_top.asp to a file (say) mylogin.asp. From this page delete all contents, and put your contents. Don't delete necessary DB related lines. It will also be usefull to keep (somehow) home/profile/register/FAQ menu items. Keep the login button, change the related refresh URL to default.asp, but delete Logout button related code.
2. In inc_top.asp, delete login button related code. Leave the logout button as it is and change the redirect to mylogin.asp.

It took me a lot of hours to do a similar thing, but with frames. You may have a look at my Snitz Powered Virtual Istanbul Museum site (on production) http://www.istanbulmuzesi.org/default1.asp. Try it twice. I have a redirection code to a park page, to keep novices away.

If you like I can send you the related code (e-mail me).

Think Pink

Edited by - bozden on 31 May 2001 18:59:36
Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 31 May 2001 :  18:58:11  Show Profile
fairly close to each other in the inc_top.asp you will see lines such as this


<meta http-equiv="Refresh" content="2; URL=<% =Request.ServerVariables("HTTP_REFERER") %>">


just give a little change to the URL= portion and all should be well

Doh! beaten by minutes!

http://www.ugfl.net/forums

Edited by - big9erfan on 31 May 2001 18:59:36
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 31 May 2001 :  19:10:10  Show Profile
GRRRR. My site at 121host seems to be inaccessible again . So does their home page.

Think Pink
Go to Top of Page

Lacey
Junior Member

USA
122 Posts

Posted - 02 June 2001 :  10:54:37  Show Profile  Visit Lacey's Homepage  Send Lacey an AOL message
YES! changing the URL= to wherever I wanted to end up worked... BUT.. it took a little looking at to realize that I did not need the first quote mark (") after the =sign.. because it is after Content="2 yada yada.. so I changed my line from:

meta http-equiv="Refresh" content="2; URL=<% =Request.ServerVariables("HTTP_REFERER") %>">

to:
<meta http-equiv="Refresh" content="2; URL=../logouttheme.asp">

And it works like a charm now..
(the reason for the ../ in front of the page is because it is in a different directory.. but otherwise, if it were in the same directory, you'd not need the ../ in front of the redirected page!

TYVM guys!!!

~L~
"Have a mah-vah-LACEY day~"
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.22 seconds. Powered By: Snitz Forums 2000 Version 3.4.07