Profile Photo Picker

Hello everybody.
This is a support forum for our Profile Photo Picker module.
If you have some questions or suggestions regarding it feel free to post them here or contact us directly.


 

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 22 Jan 2015

I've installed the profile photo picker and it works fine for my avatar but it doesn't seem to change the avatar on the cover in my profile. That still shows whatever photo is first in the profile album.  Have I done something wrong?

Quote · 7 Jan 2017

Have you completed the installation by modifying the file modules/boonex/photos/classes/BxPhotosSearch.php as was requested in post-installation instructions? If not then I suggest you to reinstall the module this time paying special attention to that step. 

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 9 Jan 2017

I've attached the readme file that came with the package.  It makes no such request to modify any files. Have I missed something?

ReadMe.txt · 1.7K · 415 downloads
Quote · 9 Jan 2017

 

I've attached the readme file that came with the package.  It makes no such request to modify any files. Have I missed something?

 Right after installing the module you should have to see this:

So I'd suggest you to reinstall the module this time paying special attention to this final step.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 10 Jan 2017

I reinstalled and this is what I get...

Could you send me the code to insert?

Quote · 10 Jan 2017

 

I reinstalled and this is what I get...

 

Could you send me the code to insert?

Sorry, it appears there was a glitch that was resulting in that message to appear only in Dolphin version 7.2, but not 7.3. Fixed. The instruction itself is:

Edit the file modules/boonex/photos/classes/BxPhotosSearch.php find the code

$this->aCurrent['restriction']['album'] = array(
	'value' => $sAlbum, 'field' => 'Uri', 'operator' => '=', 'paramName' => 'albumUri', 'table' => 'sys_albums'
);

insert below it the code

//--- AQB Profile Photo Picker ---//
if ((empty($aParams['album']) || $aParams['album'] == 'profile_album_name') && BxDolRequest::serviceExists('aqb_profile_photo_picker', 'replace_profile_photo_restriction')) {
	BxDolService::call('aqb_profile_photo_picker', 'replace_profile_photo_restriction', array(&$this->aCurrent['restriction']));
}
//--- AQB Profile Photo Picker ---//
Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 10 Jan 2017

Dear Anton,

 

thank you for this great module! But, alow me one short question please.

 

How can i add the following code to the profile-cover?

 

if ((empty($aParams['album']) || $aParams['album'] == 'profile_album_name') && BxDolRequest::serviceExists('aqb_profile_photo_picker', 'replace_profile_photo_restriction')) {
	BxDolService::call('aqb_profile_photo_picker', 'replace_profile_photo_restriction', array(&$this->aCurrent['restriction']));
}

 

Regards

Thomas

Quote · 27 Jan 2020

Hello Thomas,

This module works only for Profile Photos. It can not be somehow applied to Profile Cover. 

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 27 Jan 2020
 
 
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.