Viewing 3 replies - 1 through 3 (of 3 total)
  • Did you ever figure this out? I am having the same issue.

    I’m getting somewhere on this. I found a changelog from January of 2016 to the API call for group images:

    01.25.16
    Group_profiles and group_profile_from_id: We have added a new optional parameter called “include_image_link” to the group_profiles and group_profile_from_id API Services which will default to “false”. If you are expecting to be able to pull group images from these API services, you will need to update your calls to include this new parameter and change the value to “true”. While some church partners rely on returning the group images through the API others do not. This change ensures the API services stay efficient while continuing to provide access to the group image for those who want it.

    I did a test API call with “&include_image_link=true” at the end of the URL: https://mychurch.ccbchurch.com/api.php?srv=group_profile_from_id&id=230&include_image_link=true

    With this addition, I am now able to get the image, but I still need to figure out where to include this in the plugin. Any help would be appreciated.

    Thanks!

    Got it!

    In the file “wp-content/plugins/church-community-builder-core-api/admin/class-ccb-core-sync.php” after line 371, a new line must be added with this param:

    ‘include_image_link’ => ‘1’

    So the whole services array should read:

    $services[] = array(
    ‘service_name’ => ‘group_profiles’,
    ‘params’ => array(
    ‘include_participants’ => $include_participants,
    ‘include_image_link’ => ‘1’
    ),
    );

    I hope this is helpful to anyone else having this issue!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Groups Images not Syncing’ is closed to new replies.