• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Displaying extra info from my own MySQL database on user post

I am running Xenforo on my PHP website which has its own database tables, and I'd like to be able to display information from these tables for each user when they post.

Example of what I want to achieve:

Please note that the info would need to come from database tables outside of Xenforo, and it would be specific to the author of the post.

I have looked through the files inside library/Xenforo but I can't seem to find what I'm looking for. Any help would be greatly appreciated. Thanks!
I really just need to know which code handles the post user sidebar (which displays username, user title, avatar etc.)... I'm not asking how to code it. I just want to know where I should be looking... anybody?