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/O Code)
 I dont' want this to show up!!! PLZ ANY CREATOR!!!
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

CHEETAH
New Member

Sweden
60 Posts

Posted - 07 May 2001 :  13:38:09  Show Profile  Visit CHEETAH's Homepage  Send CHEETAH an ICQ Message
Hi!

I don't want the message after login in or login out to show up, this "you're now logged out, thanks for visiting xyz forums" or "you're now logged in, thanks for visiting xyz forums", to show up!

Please how to change this!? After login out, I want it to go directly to the login-page. And after logging in, I want it to go directly to the "You're logged in as xyz"-page!

How to!?



cheers
/CHEETAH - [former "Stockholmstudent]- www.diskuterapolitik.com

e3stone
Average Member

USA
885 Posts

Posted - 07 May 2001 :  14:57:56  Show Profile  Send e3stone an AOL message
in inc_top.asp around line 364 or so there's this code:

<%
if strLoginStatus = 0 then%>
<p align="center"><font face="<% =strDefaultFontFace %>" size="<% =strHeaderFontSize %>">Your username and/or password were incorrect.</font></p>

<p align="center"><font face="<% =strDefaultFontFace %>" size="<% =strHeaderFontSize %>">Please either try again or register for an account.</font></p>
<%
else
%>
<p align="center"><font face="<% =strDefaultFontFace %>" size="<% =strHeaderFontSize %>">You logged on successfully!</font></p>

<p align="center"><font face="<% =strDefaultFontFace %>" size="<% =strHeaderFontSize %>">Thank you for your participation.</font></p>


<% end if %>

replace the red code with this:

response.redirect Request.ServerVariables("HTTP_REFERER")

then again around line 405 replace all this code:

<p align="center"><font face="<% =strDefaultFontFace %>" size="<% =strHeaderFontSize %>">You logged out successfully!</font></p>

<p align="center"><font face="<% =strDefaultFontFace %>" size="<% =strHeaderFontSize %>">Thank you for your participation.</font></p>

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

<p align="center"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><a href="<% =Request.ServerVariables("HTTP_REFERER") %>">Back To Forum</font></a></p>


replace all this code with this: response.redirect Request.ServerVariables("HTTP_REFERER")


<-- Eric -->


http://insidewaco.com
Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 07 May 2001 :  15:01:00  Show Profile  Send e3stone an AOL message
I just thought, those line numbers will be off because I've added code to my inc_top.asp

You'll just have to look for that code. You could probably take up to 20 lines off the numbers that I gave you.

<-- Eric -->


http://insidewaco.com
Go to Top of Page

CHEETAH
New Member

Sweden
60 Posts

Posted - 08 May 2001 :  15:41:36  Show Profile  Visit CHEETAH's Homepage  Send CHEETAH an ICQ Message
Thanks alot e3stone! That will help. I will go and fix it this weekend... hope it works fine! :)

cheers
/CHEETAH
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 1.04 seconds. Powered By: Snitz Forums 2000 Version 3.4.07