Can anyone help me out with this?

Would require js file edit. If you want to do it, then
Code:
js/xenforo/full/xenforo.js
Find:
Code:
.prepend($('<img class="autoCompleteAvatar" />').attr('src', result['avatar']));
Replace with:
Code:
.prepend($('<img class="autoCompleteAvatar" />').attr('src', 'http://avatar.xboxlive.com/avatar/' + result['username'] + '/avatar-body.png'));
 
Another way. You should extends this class: XenForo_ViewPublic_Member_Find

And replace the avatarUrl by your URL. This way you do not edit js file.
 
I'm uploading a resource for you, it doesn't require a single file edit so you should be good to go for future xenforo upgrades. If you know php then you can understand what is in the code.
 
Back
Top Bottom