Stop Avatars from being placed in Photo Albums for new Members

I'm trying to find a way to Stop avatars from being added to the Photo Album upon a new member join.

I've removed the checkbox which allows copying of avatars into the photo album, but when a new member joins & uploads an avatar for the first time it still copies it to the photo album.


Anyone have any ideas?





Quote · 29 Mar 2012

I found the solution..

In inc/classes/BxDolJoinProcessor.php look for the following code & either remove or comment it out. Avatars will no longer be copied to the new members photo album.

 

if (BxDolRequest::serviceExists('photos', 'perform_photo_upload', 'Uploader')) {

$aFileInfo = array (

'medTitle' => _t('_bx_ava_avatar'),

'medDesc' => _t('_bx_ava_avatar'),

'medTags' => _t('_ProfilePhotos'),

'Categories' => array(_t('_ProfilePhotos')),

'album' => str_replace('{nickname}', getNickName($iId1), getParam('bx_photos_profile_album_name')),

);

BxDolService::call('photos', 'perform_photo_upload', array($GLOBALS['dir']['tmp'] . $aProfile1['ProfilePhoto'], $aFileInfo, false), 'Uploader');

}

Quote · 29 Mar 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.