New way to get the profile picture?

bmx_atvman

Member
Hey there,

After Xenforo's updates

PHP:
http://mysite.com/community/avatar.php?size=s&userid=<?php echo $avatar[1] ?>

No longer works and the image 404's but worked fine with the older versions (during the code freeze)


Also, how do I get smiley faces?

(I am making a PHP script to call a forum [news forum] and we use smiley faces and stuff in our post)

Thanks,
Bill
 
Does that code render correctly? What is the resulting URL? Make sure the userid renders correctly or it obviously won't work.

There is also the question of context. Is this being used in a HTML page? What is the URL of the page?
 
Top Bottom