I want to fetch activity comments and activities grouped by multiple userids. I tried with comma separated but did not worked at all. Please help me for comments and multiple userid activity filters.
Thanks
]]>Hello,
how can I get activities for login user ? I want to see all type of activity of current user which are private
]]>api/buddypressread/activity_get_activities_grouped/?userid=1&comments=true
Im trying to user this one! But comment’s still not showing! Help pls….
and this too
api/buddypressread/activity_get_activities_grouped/?userid=1&comments=threaded
and this
api/buddypressread/activity_get_activities_grouped/?userid=1&comments=stream
Patch file: https://gist.github.com/GrapsasFilippos/c6304f281c53f911a596
]]>activity_get_activities ignore the user_id filter.
*** /buddypress-json-api/controllers/BuddypressJsonRead.php Sat Nov 21 13:21:47 2015
--- /tmp/kde-/kompareQ30660.tmp Tue Nov 24 01:33:03 2015
*************** public function bbp_api_new_topic_handle
*** 2920,2927 ****
}*/
//$aTempActivities = bp_activity_get($aParams);
//if (!empty($aTempActivities['activities'])) {
global $activities_template;
! if (bp_has_activities($aParams)){
$acounter=0;
// foreach ($aTempActivities['activities'] as $oActivity) {
while ( bp_activities() ){
--- 2920,2930 ----
}*/
//$aTempActivities = bp_activity_get($aParams);
//if (!empty($aTempActivities['activities'])) {
+ $tmpFilters = $aParams[ 'filter' ];
+ $aParams[ 'filter' ] = null;
+ $aParams = http_build_query( array_merge( $aParams, $tmpFilters ) );
global $activities_template;
! if( bp_has_activities( bp_ajax_querystring( 'activity' ). $aParams ) ) {
$acounter=0;
// foreach ($aTempActivities['activities'] as $oActivity) {
while ( bp_activities() ){
https://codex.buddypress.org/developer/loops-reference/the-activity-stream-loop/
Thanks for your time.
]]>Hello,
I want groups and registration for proper country and proper field not all community i want. so please give me the solution how can i block some country’s and other user which not related with our field
Thanks in advance
]]>Hello Aheadzen,
I am using this plugin for an app. But by call the function activity_get_activities it only returns 20 entries. I did change all possible parameters to see all activities in one page. If this is not possible then I want to know how to call a second page with de methode activity_get_activities.
Kind regards,
Juan
Would you mind adding support for the plugin Buddypress Follow to allow users to get follower relationships instead of friend relationships. Or if there is a way for me to edit the plugin myself would you mind walking me through the steps. Thanks
]]>Why are you not using official API https://www.ads-software.com/plugins/json-rest-api/ that will be merged into WordPress core?
]]>