PDA

View Full Version : How to use Facebook profile picture as user avatar?


joehuang
01-07-2013, 05:17 AM
I believe there are threads & requests for this feature and none has happened.

So I dig a bit into the code, for example, in modifyconnections, Facebook profile picture URL is acutally used:

<img src="{vb:raw fbprofilepicurl}" title="{vb:var fbname}" alt="{vb:var fbname}" />

So my question is, if Facebook auto-registration is enabled, how to set the avatar to point to "fbprofilepicurl" during registration process automatically?

Probably only a few lines change, any expert could help on this?

Thanks a lot.