
06-16-2006, 06:40 AM
|
|
|
Join Date: Jun 2006
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by dmoore
Is anyone still supporting this?
I have a minor issue. When I make the changes that are required to image.php, all avatars disappear. I have searched this thread and the original mod author's thread and could not find anyone with a similiar issue. I know that the problem lies in image.php and have narrowed it down to the following code block. I just can't figure out where the problem lies exactly. I have commented the code accordingly...
PHP Code:
if ($vbulletin->GPC['type'] == 'profile')
{
$table = 'customprofilepic';
// No permissions to see profile pics
if (!$vbulletin->options['profilepicenabled'] OR (!($vbulletin->userinfo['permissions']['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canseeprofilepic']) AND $vbulletin->userinfo['userid'] != $vbulletin->GPC['userid']))
{
exec_shut_down(); // Update location with 'No permission to view profile picture'
header('Content-type: image/gif');
readfile(DIR . '/' . $vbulletin->options['cleargifurl']);
exit;
}
//Modded code for Timeslips Database mod, June 15th, 2006
//Problem is in here somewhere...
else if ($_REQUEST['type'] == 'timeslip')
{
$data = 'timeslippicdata';
$table = 'customfile';
//Remove hack from this line up
}
else
{
$table = 'customavatar';
}
Thanks for your time. If you need any more info, just let me know.
-Derek
|
anyone? please...
|