$user
object would need globalized. What exactly are you trying to do/achieve?How do I do that?
phpbb/sessions.php
exactly is it you are adjusting? What line of the file?Using the
core.session_create_after
event you can get the user id from which you can do a sql query to get the data that you want. You cannot get either of those pieces of data directly from that that file.