DO NOT Copy Avatar to profile photos album
QuoteMar 11, 2010 19:240 likesLike
 



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>

QuoteMar 11, 2010 19:300 likesLike
 

You hated that too?

Nice share.

Would you like to install the Be boot manager? Volunteer SuperModerator. I'm not tech support.
QuoteMar 11, 2010 21:380 likesLike
 

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?

QuoteMar 11, 2010 21:390 likesLike
 

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.

Would you like to install the Be boot manager? Volunteer SuperModerator. I'm not tech support.
QuoteMar 12, 2010 07:480 likesLike
 

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?

QuoteJul 14, 2010 14:490 likesLike
 

Thanks!

QuoteOct 14, 2010 17:420 likesLike
 

thanks

working in 7.0.3

QuoteOct 20, 2010 15:440 likesLike
 

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

QuoteOct 20, 2010 16:190 likesLike
 

 

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
QuoteMay 01, 2012 00:380 likesLike
 

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?

QuoteMay 01, 2012 20:180 likesLike
 
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');
}