SehaSky

  • 152
SehaSky
added a discussion

Can someone help me understand the logic of the serviceGetBlockPostProfile() used in profile posting:

public function serviceGetBlockPostProfile($sProfileModule = 'bx_persons', $iProfileContentId = 0)

{

if(empty($sProfileModule))

       return array();


if(empty($iProfileContentId) && bx_get('id') !== false)

       $iProfileContentId = bx_process_input(bx_get('id'), BX_DATA_INT);

$oProfile = BxDolProfile::getInstanceByContentAndType($iProfileContentId, $sProfileModule);

if(empty($oProfile)) 

        return array();

$iProfileId = $oProfile->id();

$sType = BX_BASE_MOD_NTFS_TYPE_OWNER;

return $this->_getBlockPost($iProfileId, array(

            'type' => $sType,

            'form_display' => $this->_oConfig->getPostFormDisplay($sType)

        ));

}

SehaSky
added a discussion

how to stop posts on the 'Profile Feed' from appearing on the 'Dashboard' Feed stream? I want posts on the profile feed to appear only on the profile feed of the owner (never apearing on the general feed even for the owner)

SehaSky
added a discussion

I'm trying to add a parameter for the entity_info service call to show specific fields of the persons_data table. Can someone help me with the syntax to write after 'params' => array() of the service call?

SehaSky
added a discussion

I'v created a new 'Display' (collection of fields) with enabled certain fields for the 'People' module via 'Developer' application. How can I show this new 'Display'  in a page block? where to find the 'service call' methods to use for this newly created 'Display' ?

SehaSky
added a discussion

I'm trying to modify the profile info block on the person's page. the service call used in the block is 'entity_info'. Where can I find the $iContentId  PARAMS used for the 'persons' module so that I can add / remove the fileds appearing in the info block? also, what is the table that contains list of these variables used for $iContentId?

... or jump to: 
Achievements

Ninja

Total points: 140.5

309.6 point(s) to reach
Info
Friends count:
Full Name:
SehaSky
Followers count:
Membership
Standard
My Discussions
  •  ·  15
  •  · 
Can someone help me understand the logic of the serviceGetBlockPostProfile() used in profile posting…
  •  · 
  •  · 
  •  · I have not deployed the timeline changes to our live website yet because the new custom field on the…
  •  ·  19
  •  · 
how to stop posts on the 'Profile Feed' from appearing on the 'Dashboard' Feed stream? I want posts …
  •  · 
  •  · 
  •  · Hello SehaSky !It seems you need to disable "All feeds (timeline)" block and leave at Homepage only …
  •  ·  28
  •  · 
I'm trying to add a parameter for the entity_info service call to show specific fields of the person…
  •  · 
  •  · 
  •  · @Leonids: I cannot thank you enough. You have been very helpful.
  •  ·  19
  •  · 
I'v created a new 'Display' (collection of fields) with enabled certain fields for the 'People' modu…
  •  · 
  •  · 
  •  · Hello SehaSky !You may find example here https://una.io/cmts.php?sys=bx_forum&id=4614&cmt_id…
  •  ·  20
  •  · 
I'm trying to modify the profile info block on the person's page. the service call used in the block…
  •  · 
  •  · 
  •  · You need to check from the BxBaseModGeneralModule class (modules\base\general\classes\BxBaseModGener…
  •  ·  38
  •  · 
I'm trying to add a field to the 'Invitation Request' form. The filed needs to meet the regular expr…
  •  · 
  •  · 
  •  · Please provide me your UNA studio access via Messenger, because 503 error may have many possible rea…