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 DEV-Group
 DEV Bug Reports (Closed)
 pop_mail.asp (bug + fix)
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 12 November 2007 :  07:39:17  Show Profile  Send ruirib a Yahoo! Message
Pop_mail.asp does not check if logon is required, when invoked with a mode value of DoIt. To fix it, add the code in red, at the beginning of pop_mail.asp (line #42). The code before and after the code in red, shows how the file should look like after the change:

<!--#INCLUDE FILE="config.asp" -->
<!--#INCLUDE FILE="inc_sha256.asp" -->
<!--#INCLUDE FILE="inc_header_short.asp" -->
<!--#INCLUDE file="inc_func_member.asp" -->
<% 

If strLogonForMail = "1" And mlev = 0 Then
	Err_Msg =  "<li>You must be logged on to send a message</li>"
	Response.Write	"      <table>" & vbNewLine & _
			"        <tr>" & vbNewLine & _
			"          <td><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHiLiteFontColor & """><ul>" & Err_Msg & "</ul></font></td>" & vbNewLine & _
			"        </tr>" & vbNewLine & _
			"      </table>" & vbNewLine
	WriteFooterShort
	Response.End
End If

if Request.QueryString("ID") <> "" and IsNumeric(Request.QueryString("ID")) = True then
	intMemberID = cLng(Request.QueryString("ID"))
else
	intMemberID = 0
end if
<


Snitz 3.4 Readme | Like the support? Support Snitz too

Edited by - AnonJr on 17 March 2009 19:25:38

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 04 December 2007 :  22:40:32  Show Profile
Fixed in version 3.4.07.<

Support Snitz Forums

Edited by - Davio on 04 December 2007 22:40:41
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.13 seconds. Powered By: Snitz Forums 2000 Version 3.4.07