DO NOT Copy Avatar to profile photos album



by default the checkbox is checked

files to edit

/modules/boonex/avatar/templates/base/ block_wide.html

find

<span><input type="checkbox" name="copy_to_profile_photos" id="copy_to_profile_photos" checked="checked" /><label for="copy_to_profile_photos"><bx_text:_bx_ava_copy_to_profile_photos /></label></span>
replace with

<span><input type="checkbox" name="copy_to_profile_photos" id="copy_to_profile_photos" /><label for="copy_to_profile_photos"><bx_text:_bx_ava_copy_to_profile_photos /></label></span>

Quote · 12 Mar 2010

You hated that too?

Nice share.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 12 Mar 2010

Does Boonex put all these nice fixes members are doing in the source code, so we don't have to keep track of hundreds of mods with each new version?

Quote · 12 Mar 2010

Does Boonex put all these nice fixes members are doing in the source code, so we don't have to keep track of hundreds of mods with each new version?

I'm not aware of them being that sane.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 12 Mar 2010

prolaznik,

I tried to edit the file (/modules/boonex/avatar/templates/base/block_wide.html) but mine was already commented out all together hence never seen the checkbox next to the 'Browse' button. Regardless, I went ahead and removed "checked=checked" and uncommented the <span> line just to see if it makes any changes, but not only the new Avatar still showed up in the new member's album, but also I still couldn't see the check box appearing next to the 'Browse' button :(

Am I missing something here or doing it wrong?

Quote · 12 Mar 2010

Thanks!

Quote · 14 Jul 2010

thanks

working in 7.0.3

Quote · 14 Oct 2010

Or you can just delete this code. so its not visible at all

Quote · 20 Oct 2010

 

Does Boonex put all these nice fixes members are doing in the source code, so we don't have to keep track of hundreds of mods with each new version?

this is why i bookmark all these types of posts and create a txt file with all my mods. after you update, start at the top and go down the list.. lol. wish there was a simpler way.. sigh

i'm tired
Quote · 20 Oct 2010

This does not seem to fix this issue in 7.0.9. I commented out this section and it does just what you say; it got rid of the "Copy to profile photos album" checkbox. However, the problem still remains, as the avatar photo is still being placed in the Photo Album upon completion. Can anyone please give me a work around so that the avatar photo is NOT saved to the photo album?

Quote · 1 May 2012
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 · 2 May 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.