Make user names etc in log entries clickable Make user names etc in log entries clickable
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Make user names etc in log entries clickable

Started by Veronica, October 26, 2012, 04:09:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Veronica

I want to see at least all user names in log files with links to their profiles so you make the admin user work to follow up on log entries more user friendly.






Jeff Bailey

Shouldn't involve much more then a find and replace on $USER_DATA['user_name'] and $user_name where the log_write function is called. In other words, I don't see why this can't be added in future versions.

Thanks for the request.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Veronica

Excellent and there are about 35 log_writes in 13 files cpg.
Replace also the htmlspecialchars call with strip_tags(trim($log_entry), '<a>') in viewlog.php line 82

Jeff Bailey

I don't have svn access so we'll have to wait for ΑndrĂ© or Phill to approve it.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford