Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 12 Dec 2010, 02:30
andrew.lee andrew.lee is offline
 
Join Date: Dec 2010
How to get absolute URL for user's profile picture

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!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 12:20.

Layout Options | Width: Wide Color: