Cookie change the timeout setting Cookie change the timeout setting
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Cookie change the timeout setting

Started by Yabba, October 10, 2006, 07:52:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yabba

All Gurus,

I have this issue that the menu "Users/Memberlist" is not showing the correct last visit. I have read the topic http://forum.coppermine-gallery.net/index.php?topic=14718.0 but saw that its out of date and no longer supported.

Is there a mod for the cookies that support 149?

I have also tried onlinetoday pluging but it has a big tolerance in the logging, but that i will take up in an other topic.
In this one i really would like to have correct information in the "Users/Memberlist" menu.

Pretty related to: http://forum.coppermine-gallery.net/index.php?topic=37054.0
We all cannot be pro on coding. (If so all professional programmers schould be unemployed)

Fortunately the rest of us are pro's on other stuff at least this applies to me

Nibbler

Modify bridge/coppermine.inc.php, find


return ($id) ? array($id, $pass) : false;


change to


if (!empty($id)){
$sql =  "UPDATE {$this->usertable} SET user_lastvisit = NOW() WHERE user_id = $id";
cpg_db_query($sql, $this->link_id);
}
                       
return ($id) ? array($id, $pass) : false;


This does not appear to have anything to do with the title of your thread.