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

nyquist
Starting Member

Italy
6 Posts

Posted - 02 May 2004 :  17:24:18  Show Profile
Hi everybody,
i've noticed that the value of the
MEMBERS -> M_LASTHEREDATE
is updated when the login is done. If i understood correctly the sequence of routine calls to set the M_LASTHEREDATE value is
  • login (inc_header.asp)

  • doCookies (inc_func_common.asp)

  • ReadLastHereDate (inc_func_common.asp)

  • UpdateLastHereDate (inc_func_common.asp)

Now this imply that a post written after a login will result a NEW post also for the next login. I mean:
you login, someone (or you) makes a post. That's new for now. You read it, then you logout. If you login again that post should be old, but you will see it as a new post

Now, i was trying to change this behaviour so i wanted to set a new value for M_LASTHEREDATE when the logout is done. I supposed the right place was the sub ClearCookies (inc_func_common), but it doesn't work.
I've tried with:
UpdateLastHereDate DateToStr(strForumTimeAdjust),UserName
but that doesn't seem to work.

Can someone please point me in the right direction?

Thanks in advance

Nyquist

nyquist
Starting Member

Italy
6 Posts

Posted - 03 May 2004 :  09:41:55  Show Profile
never mind, solved. For interesteds:
in
inc_func_common -> sub ClearCookies()
at the beginning write:
strMyForumTimeAdjust = DateAdd("h", strTimeAdjust , Now())
strMyUserName = Request.Cookies(strUniqueID & "User")("Name")
UpdateLastHereDate DateToStr(strMyForumTimeAdjust),strMyUserName
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.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07