Update..
EXIDE has also provided easy solution on this question -
Quote:
Originally Posted by EXIDE
vB has a function that returns the avatar URL for you.
PHP Code:
<?php include('./global.php'); include('./includes/functions_user.php');
$avatar = fetch_avatar_url(USERID); /* Array ( [hascustom] => 1 [0] => storage/avatars/avatar1_12.gif [1] => width="80" height="80" ) */ ?>
|
Props to EXIDE.
Cheers!!