Erm ... that won't work at all in vBulletin 3.5 as $bbuserinfo doesn't exist; also you are not taking care of the storage method so it will just display a broken Image if Profile Pictures are stored in the Filesystem.
Furthermore, it can be done without Code Edits (Hook global_start), it could even be done without an additional Query at all (Hook fetch_userinfo_query).
|