Hello Anvar,
I've tested it on my board and it works great, even with phpbb V3.2.1.
However I see a lack: it would be nice to display the name author's name of the file directly in the table, rather than having to open his message to know it.
So I tried to add this code in
filelist_body.html
Code: Select all
<a href="{attachrow.U_AUTHOR}"> {attachrow.AUTHOR} </a>
and this one in
route.php after the line 316
Code: Select all
'U_AUTHOR' => get_username_string('profile', $row['poster_id'], $row['username'], $row['user_colour']),
'AUTHOR' => get_username_string('username', $row['poster_id'], $row['username'], $row['user_colour']),
The link to the profile works but the name isn't display in the table, only "Guest"
Would you have a solution to offer me?
Thank you in advance