Cookie change the timeout setting Cookie change the timeout setting
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.