Quote:
Originally Posted by fevredsuk
ok mate I sorted it,
it was mainly due to avatar size. Max size on my site is 150w x 250h which most members use.
The hover box showed the the full size avatar which was set to 100% in the template. so I just changed it to 50px wide and 83px high. I also removed the vbactivity info too.
one small problem though is member with no avatar or using a generic one still shows the full size avatar in the hover box
|
Give this a try
Open
dbtech/profilehover/hooks/ajax_start.php
Find
PHP Code:
$user['lastactivitydate'] = vbdate($vbulletin->options['dateformat'], $user['lastactivity'], true);
On the line above add
PHP Code:
if ($user['ph_pic_show'] && !$user['avatarwidth'])
{
$imgsize = getimagesize($user['ph_pic_show']);
$user['avatarwidth'] = $imgsize[0];
$user['avatarheight'] = $imgsize[1];
}
That should set the width/height on non custom images.
Dylan