TimeWizardCosmo
Well-known member
Would someone be willing to help me figure out how to grab an avatar using something like:
I realize some code would need to be written to make avatar.php work, but I'm not sure where to start.
What I'm trying to do is find a way to pull my user's avatars into AddonChat... I can return values containing the user ID and username in the chat message templates, but I need some kind of external script to make the above snippet useful.
Any help would be greatly appreciated... New to xF coding (and a novice in PHP) so I'm not sure where to start with this.
HTML:
<img src="http://mysite.com/avatar.php?userid=1" width="50" height="50">
I realize some code would need to be written to make avatar.php work, but I'm not sure where to start.
What I'm trying to do is find a way to pull my user's avatars into AddonChat... I can return values containing the user ID and username in the chat message templates, but I need some kind of external script to make the above snippet useful.
Any help would be greatly appreciated... New to xF coding (and a novice in PHP) so I'm not sure where to start with this.