BOONEX.COM BOONEX BLOG BOONEX DEVZONE

Author Archive for Ace2100

Mail sending error on v5.6.0005

I have a problem with Dolphin not able to send mail anywhere. When a new member registers the programme cannot send a confirmation  email. Even using the report bug feature fails to deliver mail. What could be the problem?

Photo uploads on v5.6.0005

I’m Dolphin beginner. I have a problem uploading photos for the members. The loaded photos do not show on the member’s panel and on the administrator’s panel an well. On the administrator’s home panel, the summary shows the number of photos uploaded but you can’t see them when you go to postmoderate photos. I have done the following modifications and no luck:

In admin/global_settings.php

Find:

$gl_pic[’pic’][’width’] = getParam( ‘pic_width’ );
$gl_pic[’pic’][’height’] = getParam( ‘pic_height’ );

Replace with:

$gl_pic[’pic’][’width’] = getParam( ‘max_photo_width’ );
$gl_pic[’pic’][’height’] = getParam( ‘max_photo_height’ );

Then in uploadPhoto.php

Find

function uploadMedia()

1- Add the following to be the first line within the function:
global $dir;

2- Find the imageResize sub-function that is called 3 times in a row. Directly below the 3rd imageResize(***) sub-function, add the following:

$transparent1 = getParam( ‘transparent1′ );
$water_mark = $dir[’profileImage’] . getParam( ‘Water_Mark’ );
if ( strlen(getParam( ‘Water_Mark’ )) && file_exists($water_mark) )
{
applyWatermark( $sMediaDir . ‘photo_’ . $sFileName . $ext, $sMediaDir . ‘photo_’ . $sFileName . $ext, $water_mark, $transparent1 );
}

Also the mail sending feature does not work because when a new user signs up, the confirmation email does not go.

Please Help!