Quote:
Originally Posted by neverstop
having trouble with avatars in the tournament comments
the avatsr url has /thumbs in it ie: customavatars/thumbs/avatar23_2.gif
I tried removing "/thumbs from thisline:
PHP Code:
$comment['avatarurl'] = $vbulletin->options['avatarurl'] . ($thumb ? '/thumbs' : '') . "/avatar{$comment['userid']}_{$comment['avatarrevision']}.gif";
but it had no effect.
|
You are editing the correct line
Change:
PHP Code:
$comment['avatarurl'] = $vbulletin->options['avatarurl'] . ($thumb ? '/thumbs' : '') . "/avatar{$comment['userid']}_{$comment['avatarrevision']}.gif";
To:
PHP Code:
$comment['avatarurl'] = $vbulletin->options['avatarurl'] . "/avatar{$comment['userid']}_{$comment['avatarrevision']}.gif";