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)
 Remove Login
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

staceywh
Starting Member

20 Posts

Posted - 23 December 2003 :  16:30:22  Show Profile
What code do I remove from inc_header.asp so the login box does not show up? I'm using a login include file in my portal for logins.

Thank you!

Edited by - ruirib on 23 December 2003 18:44:50

staceywh
Starting Member

20 Posts

Posted - 23 December 2003 :  18:17:38  Show Profile
Here is what i had to remove. I'm using the SHN mod.


select case Request.Form("Method_Type")

	case "login"
		Response.Write	"      </table>" & vbNewLine & _
				"    </td>" & vbNewLine & _
				"  </tr>" & vbNewLine & _
				"<tr>" & vbNewLine & _
				"<td width=""100%"">" & vbNewLine & _
				"<table border=""0"" bgcolor=""" & strTableBorderColor & """ align=""left"" cellPadding=""0"" cellSpacing=""1"" width=""100%"" height=""27"">" & vbNewLine & _
				"<tr><td bgcolor=""" & StrHeadCellColor & """>" & vbNewLine & _
				"<font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """> " & vbNewLine& _
				"</font></td></tr><tr><td bgcolor=""" & StrForumCellColor & """>" & vbNewLine
		if strLoginStatus = 0 then
		Response.Write	"<p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """ color=red><br>Your username and/or password were incorrect.</font></p>" & vbNewLine & _
				"<p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """ color=red>Please either try again or register for an account.<br><br></font></p>" & vbNewLine & _
				"<p align=""center""><a href=""sitenews.asp"">try again</a> | " & vbNewLine & _
				"<a href=""register.asp"">register for an account</a></p>" & vbNewLine & _
				"<table align=""center"" border=""0"" cellPadding=""0"" cellSpacing=""0"" width=""100%"">" & vbNewLine & _
				"  <tr>" & vbNewLine & _
				"    <td>" & vbNewLine
		else
		Response.Write	"<p align=""center""><font face=""" & strDefaultFontFace & """ size=2 color=""" & strForumhoverFontColor & """><br>You are being logged on please standby...</font></p>" & vbNewLine & _
				"<meta http-equiv=""Refresh"" content=""2; URL=" & Request.ServerVariables("HTTP_REFERER") & """>" & vbNewLine & _
				"<br>" & vbNewLine & _
				"<table align=""center"" border=""0"" cellPadding=""0"" cellSpacing=""0"" width=""100%"">" & vbNewLine & _
				"  <tr>" & vbNewLine & _
				"    <td>" & vbNewLine
		end if
		WriteFooter
		Response.End
	case "logout" 
		Response.Write	"      </table>" & vbNewLine & _
				"    </td>" & vbNewLine & _
				"  </tr>" & vbNewLine & _
				"<tr>" & vbNewLine & _
				"<td width=""100%"">" & vbNewLine & _
				"<table border=""0"" bgcolor=""" & strTableBorderColor & """ align=""left"" cellPadding=""0"" cellSpacing=""1"" width=""100%"" height=""27"">" & vbNewLine & _
				"<tr><td bgcolor=""" & StrHeadCellColor & """>" & vbNewLine & _
				"<font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """> " & vbNewLine& _
				"</font></td></tr><tr><td bgcolor=""" & StrForumCellColor & """>" & vbNewLine & _
				"<p align=""center""><font face=""" & strDefaultFontFace & """ size=2 color=""" & strForumhoverFontColor & """><br>You are being logged out please standby...</font></p><br>" & vbNewLine & _
				"<meta http-equiv=""Refresh"" content=""2; URL=default.asp"">" & vbNewLine & _
				"<table align=""center"" border=""0"" cellPadding=""0"" cellSpacing=""0"" width=""100%"">" & vbNewLine & _
				"  <tr>" & vbNewLine & _
				"    <td>" & vbNewLine
		WriteFooter
		Response.End
end select
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.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07