I don&#39;t have a ready-made recipe for this, but I&#39;ve got a function in Cookbook/Toolbox called writeptv() that takes care of the gory details and would let you write a fairly simple recipe...<br><br>The difficulty I think you&#39;re going to have is that lots of users use a wiki without logging in until they need access to protected pages and then most that do log in probably just close their browser when they are done rather than actually logging out.  But those are functional specs -- presumably you&#39;ve got that side of things already figured out...<br>
<br>In theory these lines in your config.php would suffice:<br><br>if ($action == &#39;logout&#39;) {<br>   include_once(&quot;$FarmD/cookbook/toolbox.php&quot;);<br>   writeptv($pagename, MakePageName($Author), &#39;last_logout&#39;, time());<br>
}<br><br>That is absolutely off-the-cuff so probably has syntax errors and etc besides any logic errors -- just trying to illustrate...<br><br>-Peter<br><br><div class="gmail_quote">On Thu, Mar 5, 2009 at 11:56 AM, noskule <span dir="ltr">&lt;<a href="mailto:noskule@gmx.net">noskule@gmx.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">hi list<br>
has anyone a solution to write a ptv (timestamp) to the users profile<br>
page if the user logs out?<br>
<br>
I would like to use this ptv to create &quot;new since last logout&quot;  pagelists.<br>
<br>
Thanks for  any hints<br>
nos<br>
<br>
_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
</blockquote></div><br>