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

jamesdavis
Starting Member

USA
26 Posts

Posted - 23 February 2004 :  11:46:55  Show Profile  Visit jamesdavis's Homepage
There are many entries in my Members table that show members who have a M_LASTHEREDATE many dayes earlier than M_LASTPOSTDATE. Thus, for example, a member can be shown as having last visited on February 3rd while his last post date is shown to be February 21st.

This is the result of allowing non-registered guests access to the forums. THAT is not a problen, but allowing them to post a new topic or reply to existing one is. I know, 'that can't happen', but it does. The guest is given the opportunity to specify a username and a password in the post window and so long as those are valid their post is recorded (and their M_LASTPOSTDATE is properly updated.) What is NOT done, however, is an update of the M_LASTHEREDATE.

That can be easily repaired by changing post_info.asp at about line # 68.

Replace the exisiting line:

if mLev = 0 then mLev = cLng(chkUser(strDBNTUserName, strPassword,-1))

with:


   if mLev = 0 then
     mLev = cLng(chkUser(strDBNTUserName, strPassword,-1))
     if mlev >0 then UpdateLastHereDate DateToStr(strForumTimeAdjust),strDBNTUserName
   end if



Now there remains some questions:

1) Why is a guest presented with the 'New Topic' option at all?
2) Should the guest become a logged-in user as a result of presenting valid credentials when posting a topic or reply via post_info.asp?
3) Should DoCookies be called at the time M_LASTPOSTDATE is updated?


Thanks for any response here.



Edited by - jamesdavis on 23 February 2004 11:58:07

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 23 February 2004 :  13:48:17  Show Profile  Send ruirib a Yahoo! Message
This has been discussed before: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=23775

I think it stayed like that because that was how it was intended to be.


Snitz 3.4 Readme | Like the support? Support Snitz too
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.3 seconds. Powered By: Snitz Forums 2000 Version 3.4.07