LizerisCHN |
08-14-2004 12:10 AM |
I don't know if you know this or not, and I'm not going to sort through the 8 pages of posts, but...
You misplaced php code.
PHP Code:
Open: /forum/image.php & Find (around line 177):
if ($_REQUEST['type'] == 'profile')
{
$data = 'profilepicdata';
$table = 'customprofilepic';
// No permissions to see profile pics
if (!$vboptions['profilepicenabled'] OR (!($permissions['genericpermissions'] & CANSEEPROFILEPIC) AND $bbuserinfo['userid'] != $userid))
{
header('Content-type: image/gif');
readfile("./$vboptions[cleargifurl]");
exit;
}
}
Under Add:
if ($_REQUEST['type'] == 'siguploader')
{
$data = 'siguploaderdata';
$table = 'customsiguploader';
}
should be changed to:
PHP Code:
find:
else
{
$data = 'avatardata';
$table = 'customavatar';
}
add under:
if ($_REQUEST['type'] == 'siguploader')
{
$data = 'siguploaderdata';
$table = 'customsiguploader';
}
or else it calls the avatar both for the avatar AND for the profile pics. It totally cancels out the display of the signature in the usercp. This confused both me, and a few collegues with vbulletin installed, so we went through a couple of things and decided "who, this isnt right."
Hope it helps.
|