Where can I find the function that fetch User Avatar?
I'm integrating Vanilla Forum with my main site. The integration is successful so far. The forum now looks similar to the layout of my main site. And the managing of accounts is now primarily handled by my main site's control panel. Every is running smoothly as what i wanted except this one thing. I want to use the profile photo on the main site as a user's avatar in the forum. What file or function handles the fetching of the user's avatar?
Best Answer
-
peregrine MVP
probably the easiest way is to read the photo location out of user table and display it.
UserPhoto is the function in vanilla
you could look here:
/library/core/functions.render.php
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
7
Answers
This will make things simpler - https://github.com/lincolnwebs/Glue
For the function, you have to look for in the theme files.
There was an error rendering this rich post.
probably the easiest way is to read the photo location out of user table and display it.
UserPhoto is the function in vanilla
you could look here:
/library/core/functions.render.php
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.