Skip to:
Content

BuddyPress.org

Changeset 1891 for trunk/bp-activity.php


Ignore:
Timestamp:
09/16/2009 09:23:40 PM (16 years ago)
Author:
apeatling
Message:

Fixing profile pages to work when xprofile is disabled. Added more extensive options to groups_invite_user().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity.php

    r1882 r1891  
    226226   
    227227    $defaults = array(
    228         'user_id' => $bp->loggedin_user->id,
    229         'content' => false,
    230         'primary_link' => false,
    231         'component_name' => false,
    232         'component_action' => false,
    233         'item_id' => false,
    234         'secondary_item_id' => false,
    235         'recorded_time' => time(),
    236         'hide_sitewide' => false
     228        'user_id' => $bp->loggedin_user->id, // The user to record the activity for
     229        'content' => false, // The content of the activity item
     230        'primary_link' => false, // The primary URL for this item in RSS feeds
     231        'component_name' => false, // The name/ID of the component e.g. groups, profile, mycomponent
     232        'component_action' => false, // The component action e.g. new_wire_post, profile_updated
     233        'item_id' => false, // Optional: The ID of the specific item being recorded, e.g. a blog_id, or wire_post_id
     234        'secondary_item_id' => false, // Optional: A second ID used to further filter e.g. a comment_id
     235        'recorded_time' => time(), // The time that this activity was recorded
     236        'hide_sitewide' => false // Should this be hidden on the sitewide activity stream?
    237237    );
    238238
Note: See TracChangeset for help on using the changeset viewer.