Quote:
Originally Posted by skariko
I tried this but the link that i have is:
http://www.czeta.it/forum//image.php...ine=1234825805
without the number of the user. (it takes all the other variables like vbb_VBURL and other so i think that there's somthing wrong on user_id)
edit: i've solved it making this:
Code:
<img src="<?php echo get_option('vbb_VBURL') ?>image.php?u=<?php echo $vbulletin->userinfo['userid'] ?>&dateline=<?php echo TIMENOW ?>" alt="<?php echo $reply['username'] ?>'s Avatar" class="avatar avatar-32 photo avatar-default" width="32" height="32"
i don't know if it is right.. but it works to me :P
|
This returns the author of the post's avatar.
When I tried the previous method, it was not picking up my user's avatar, instead getting an image not found. When I looked at the image url, I saw that the user ID is not being generated. Any ideas? This would be extremely helpful.