Hi, 

> > Is there an internal functionality for tracking use, or do I have to
> > add the information myself ? Do I save that in the pref table, hard
> > coded ?
> 
> You have to code this yourself.
> 

Or you can look at this, it is already coded ;-)
http://www.midgard-project.org/article/1394.html

> Just set a preference for that user containing a
> timestamp when the page is loaded.
> 

right, just call set_pref (after calling $pref=init_pref($midgard->user); )
set_pref($pref,"userlog","lastaccess",date("Y-m-d H:i:s"));

if you want to check it, do :

if($pref["userlog"]["lastaccess"]<$modifdate)
{ ... }

> > Blixten
> 
> /Bergie
> 

Regards,
david


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to