is it possible to display OS and browser in the log ?

is it possible to display OS and browser in the log ?

by REMI PICARD (substitute) -
Number of replies: 2

hi,


in the user log (from user profil page), is it possible to add a column with OS infos and browser version ?


Thank you for your time

Average of ratings: -
In reply to REMI PICARD (substitute)

Re: is it possible to display OS and browser in the log ?

by Jon Bolton -
Picture of Particularly helpful Moodlers Picture of Testers

No. You could find this info via something like Google Analytics though - but only on an aggregated basis, not for a specific user.

In reply to REMI PICARD (substitute)

Re: is it possible to display OS and browser in the log ?

by Ken Task -
Picture of Particularly helpful Moodlers

Not in core, but ...

Do you have a mdl_user_devices table in your DB?   Have a site that embarked on using devices to access moodle at a time when app was still under construction (still is).

Installed a 'Moodle Mobile additional features' plugin.  Site is now Moodle 3.5.5 (Build: 20190311) and the plugin still works.

A query/combo like:

select concat('<a target="_new" href="https://site/user/profile.php?id=',userid,'">',userid,'</a>'),
concat('<a target="_new" href="https://www.google.com/search?q=',model,'">',model,'</a>'),
appid,platform,version
from `mdl_user_devices

could be created outside of Moodle to generate a clickable page showing userid link as well as a link to model of device.

One would have to protect that generated html page.

'spirit of sharing', Ken