Muhammad Rahman
11-30-2013, 01:11 AM
avatar on page Usercp -> Moderation -> Delete Items -> Post not showing ..
always display avatar unknown.gif .. why?
see screenshot below ...
http://img11.imageshack.us/img11/6986/oorq.png (http://imageshack.us/photo/my-images/11/oorq.png/)
Uploaded with ImageShack.us (http://imageshack.us)
--------------- Added 1385782781 at 1385782781 ---------------
SOLVED with add new plugin .. :)
if you have sam problem with me try add this plugin ..
require_once(DIR . '/includes/functions_user.php');
if($post[userid])
{
$post[avatarurl] = fetch_avatar_url($post[userid]);
if (!$post[avatarurl]) {
$post[avatarurl] = $stylevar['imgdir_misc'] . 'images/misc/unknown.gif';
} else {
$post[avatarurl] = $vbulletin->options['bburl'] . '/' . $post[avatarurl][0];
}
}
else {
$post[avatarurl] = $stylevar['imgdir_misc'] . 'images/misc/unknown.gif';
}
plugin hook postbit_lite
thanks for shabbirbhimani (https://vborg.vbsupport.ru/member.php?u=68197) for plugin inspiration .. :)
always display avatar unknown.gif .. why?
see screenshot below ...
http://img11.imageshack.us/img11/6986/oorq.png (http://imageshack.us/photo/my-images/11/oorq.png/)
Uploaded with ImageShack.us (http://imageshack.us)
--------------- Added 1385782781 at 1385782781 ---------------
SOLVED with add new plugin .. :)
if you have sam problem with me try add this plugin ..
require_once(DIR . '/includes/functions_user.php');
if($post[userid])
{
$post[avatarurl] = fetch_avatar_url($post[userid]);
if (!$post[avatarurl]) {
$post[avatarurl] = $stylevar['imgdir_misc'] . 'images/misc/unknown.gif';
} else {
$post[avatarurl] = $vbulletin->options['bburl'] . '/' . $post[avatarurl][0];
}
}
else {
$post[avatarurl] = $stylevar['imgdir_misc'] . 'images/misc/unknown.gif';
}
plugin hook postbit_lite
thanks for shabbirbhimani (https://vborg.vbsupport.ru/member.php?u=68197) for plugin inspiration .. :)