Changeset 707007
- Timestamp:
- 05/02/2013 03:39:05 PM (13 years ago)
- Location:
- buddypress-xml-rpc-receiver/trunk
- Files:
-
- 2 edited
-
bp-xmlrpc.php (modified) (2 diffs)
-
readme.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
buddypress-xml-rpc-receiver/trunk/bp-xmlrpc.php
r707005 r707007 885 885 $include = implode( ',', (array)bp_activity_get_user_favorites( $bp->loggedin_user->id ) ); 886 886 if(strlen($include) == 0) 887 $include = '-1';887 $include = true; 888 888 break; 889 889 case 'friends': … … 942 942 943 943 if ( $include ) { 944 $activities = bp_activity_get_specific( array( 'activity_ids' => explode( ',', $include ), 'max' => $max, 'per_page' => $max, 'page' => 1, 'sort' => 'DESC', 'display_comments' => 'threaded' ) ); 944 if(include === true) // nothing to include 945 $activities = array(); 946 else 947 $activities = bp_activity_get_specific( array( 'activity_ids' => explode( ',', $include ), 'max' => $max, 'per_page' => $max, 'page' => 1, 'sort' => 'DESC', 'display_comments' => 'threaded' ) ); 945 948 } else { 946 949 $activities = bp_activity_get( array( 'display_comments' => 'threaded', 'max' => $max, 'per_page' => $max, 'page' => 1, 'sort' => 'DESC', 'search_terms' => $search_terms, 'filter' => $filter, 'show_hidden' => $show_hidden ) ); -
buddypress-xml-rpc-receiver/trunk/readme.txt
r700436 r707007 4 4 Requires at least: PHP 5.2, WordPress 3.4.0, BuddyPress 1.5.6 5 5 Tested up to: PHP 5.4.4, WordPress 3.5.1, BuddyPress 1.6.1 6 Stable tag: 0.5. 26 Stable tag: 0.5.3 7 7 License: GPLv3+ 8 8 … … 83 83 sending the 'user_data' parameter makes it include a list with the user's notifications, etc. 84 84 85 returns: array (confirmation, message) 86 85 87 * bp.getMemberInfo: get info for a given user id 86 88 87 89 params: array ($username, $password, $data['user_id','action','action_id','action_data'] ) 88 90 89 returns: array ( user)91 returns: array (confirmation, message) 90 92 91 93 sending the 'action' parameter makes it perform a specified action on a user id ('action_id') (not yet implemented). … … 95 97 params: array ($username, $password, $data['user_id'] ) 96 98 97 returns: array ( )99 returns: array (confirmation, message) 98 100 99 101 * bp.updateExternalBlogPostStatus: send an activity stream update filed under blogs … … 137 139 where <redirect> is one of the following: 138 140 141 login 142 register 139 143 settings (user settings) 140 remote_settings (remote settings for activating this plugin)141 144 notifications 142 145 messages … … 154 157 == Changelog == 155 158 159 = 0.5.3 = 160 161 * added friend info to users 162 * standardized output (may break old clients) 163 * bug fixes 164 156 165 = 0.5.2 = 157 166
Note: See TracChangeset
for help on using the changeset viewer.