Avatar "Copy to profile photos album "

Hi need some help. What did i have to change that Avatar always will be copy into profile photos album and what to do that on Avatarside will disapear "Copy to profile photos album"?

avatar.jpg


Pls give me some Help

Kind regards

nightlover

avatar.jpg · 12K · 130 views
Quote · 3 Jan 2011

Open the: modules\boonex\avatar\templates\base\block_wide.html

 

find this string :

<input type="checkbox" name="copy_to_profile_photos" id="copy_to_profile_photos" checked="checked" />

 

and replace with

<input type="checkbox" name="copy_to_profile_photos" id="copy_to_profile_photos"  />

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 3 Jan 2011

Ok i think we did missunderstood us. I would like have that when a user uploads an avatar it always will save in profile photos album. They should not select yes or no u know what i mean? I willnot gif users posibility to select it.

 

regards

Quote · 3 Jan 2011

 

Ok i think we did missunderstood us. I would like have that when a user uploads an avatar it always will save in profile photos album. They should not select yes or no u know what i mean? I willnot gif users posibility to select it.

 

regards

OK I understood you now :)

 

open the : modules\boonex\avatar\classes\BxAvaModule.php

 

find these strings :

if ($_POST['copy_to_profile_photos']) {
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($iProfileId), getParam('bx_photos_profile_album_name')),
);
BxDolService::call('photos', 'perform_photo_upload', array($sImagePath, $aFileInfo, false), 'Uploader');
}
}

and replace with :

 


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($iProfileId), getParam('bx_photos_profile_album_name')),
);
BxDolService::call('photos', 'perform_photo_upload', array($sImagePath, $aFileInfo, false), 'Uploader');
}

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 4 Jan 2011

It's funny how some people must have, that which drives me nuts.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 4 Jan 2011

Thank u very much thats what im looking for, good work

regards

Quote · 4 Jan 2011

Thanks

 

I was needing that little mod too

 

Thanks

Quote · 4 Jan 2011

you are welcome!

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 5 Jan 2011

thanks, i used this too...I don't like giving users options...

Now I'm wondering if its possible to remove the radio box and text?

Quote · 7 Dec 2011
 
 
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.