andrew.lee
12-12-2010, 01:30 AM
I'm writing a plugin to connect with Envolve's chat system. I need to provide their servers with an absolute path to a user's profile picture so that they can use it in the chat.
I can access the $vbulletin->userinfo['profilepic'] variable, but that's just an integer. How can I convert that into an absolute URL so that I can give it to this remote service?
Also - how can I so the same thing for a user's avatar? I've been poking around on the forums for a while and haven't found anything about this which I thought odd. I appreciate any replies. Thanks!
I can access the $vbulletin->userinfo['profilepic'] variable, but that's just an integer. How can I convert that into an absolute URL so that I can give it to this remote service?
Also - how can I so the same thing for a user's avatar? I've been poking around on the forums for a while and haven't found anything about this which I thought odd. I appreciate any replies. Thanks!