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)
 Small Fix on inc_function.asp - M_LAST_IP
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

GToronto
Starting Member

4 Posts

Posted - 24 May 2001 :  16:31:19  Show Profile  Visit GToronto's Homepage
Hi all,
I don't know if you saw this small bug, but the M_LAST_IP is not updated, so here's the fix to put after the line 640

**************************************
if strIPLogging <> "0" then
strSql = strSql & ", M_LAST_IP = '" & Request.ServerVariables("REMOTE_ADDR") & "'"
end if
**************************************

It should look like that

'## Forum_SQL - Do DB Update
strSql = "UPDATE " & strMemberTablePrefix & "MEMBERS "
strSql = strSql & " SET M_LASTHEREDATE = '" & DateToStr(strForumTimeAdjust) & "'"
if strIPLogging <> "0" then
strSql = strSql & ", M_LAST_IP = '" & Request.ServerVariables("REMOTE_ADDR") & "'"
end if
strSql = strSql & " WHERE " & strMemberTablePrefix & "MEMBERS." & strDBNTSQLName & " = '" & UserName & "' "



noukta
Starting Member

USA
2 Posts

Posted - 29 May 2001 :  19:54:50  Show Profile
What file is it on ?

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 29 May 2001 :  22:34:43  Show Profile
The M_LAST_IP wasn't being used in the SR4 release. It will be used in the next version.

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