From: SourceForge.net <no...@so...> - 2012-07-18 05:16:35
|
Feature Requests item #3538328, was opened at 2012-06-27 01:21 Message generated for change (Comment added) made by irmtfan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=430843&aid=3538328&group_id=41586 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core Group: XOOPS 2.6 Status: Open Resolution: None Priority: 5 Private: No Submitted By: irmtfan (irmtfan) Assigned to: MusS (forxoops) Summary: Xoops History/Log system Initial Comment: Xoops does not have any log/history system but it is a very useful function especially for webmasters. For example you want to log all admins actions in the website. i used this log in my own website: [code] <?php if ( $xoopsUserIsAdmin ) { $ip_to_log = $_SERVER['REMOTE_ADDR']; $url_to_log = $_SERVER['REQUEST_URI']; $uid_to_log = $xoopsUser->getVar('uid'); $uname_to_log = $xoopsUser->getVar('uname'); $content_to_log = date('Ymd-H:i:s')." ".$ip_to_log." ".$uid_to_log." ".$uname_to_log." ".$url_to_log."\n"; $log_file_name = XOOPS_TRUST_PATH.'/logusernav.log'; if (!$log_file_handle = fopen($log_file_name, 'a')) { echo "<!-- Cannot open file ($log_file_name) -->"; } else { if (fwrite($log_file_handle, $content_to_log) === FALSE) { echo "<!-- Cannot write to file ($log_file_name) -->"; } @fclose($log_file_handle); } } ?> [/code] So i can see all of actions. i think it can be implement in the core. basic features: - login history for all users: now it is just the last login but we need to have a history of logins. - log system : the degree of logs can be selectable. for example for webmaster groups it can log all actions (click on every links, all database queries ,IPs , ...) but for normal users just the modules review. I think it needs a plugin in system module. ---------------------------------------------------------------------- >Comment By: irmtfan (irmtfan) Date: 2012-07-17 22:16 Message: update on 2012/07/18: more information in xoops.org forums: http://xoops.org/modules/newbb/viewtopic.php?post_id=347871#forumpost347871 ---------------------------------------------------------------------- Comment By: irmtfan (irmtfan) Date: 2012-06-27 01:24 Message: I found these 2 similar request: 1- by phppp at 2004 : https://sourceforge.net/tracker/?func=detail&aid=1020367&group_id=41586&atid=430843 2- by banned at 2005: https://sourceforge.net/tracker/?func=detail&aid=1112604&group_id=41586&atid=430843 still is not implemented after 8 years!!!!! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=430843&aid=3538328&group_id=41586 |