yes yes and yes, its been a week before i created this thread. then its 2 weeks now.
yes and that thread, i read that too. but its for database, i need the one using file storage.
btw my first post in this thread, is based on that thread ->
https://vborg.vbsupport.ru/showpost....7&postcount=15
thanks Lynne
--------------- Added [DATE]1237322372[/DATE] at [TIME]1237322372[/TIME] ---------------
hello dismounted mrboo and lynne
i found this
PHP Code:
$show['profilepic'] = ($vbulletin->options['profilepicenabled'] AND $userinfo['profilepic'] AND ($permissions['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canseeprofilepic'] OR $vbulletin->userinfo['userid'] == $userinfo['userid']) AND ($userinfo['permissions']['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canprofilepic'] OR $userinfo['adminprofilepic'])) ? true : false;
if ($vbulletin->options['usefileavatar'])
{
$userinfo['profilepicurl'] = $vbulletin->options['profilepicurl'] . '/profilepic' . $userinfo['userid'] . '_' . $userinfo['profilepicrevision'] . '.gif';
}
else
{
$userinfo['profilepicurl'] = 'image.php?' . $vbulletin->session->vars['sessionurl'] . 'u=' . $userinfo['userid'] . "&dateline=$userinfo[profilepicdateline]&type=profile";
}
if ($userinfo['ppwidth'] AND $userinfo['ppheight'])
{
$userinfo['profilepicsize'] = " width=\"$userinfo[ppwidth]\" height=\"$userinfo[ppheight]\" ";
}
i tried in showthread_query and postbit but cant work.
got some idea?