Skip to:
Content

BuddyPress.org

Changeset 2460 for trunk/bp-xprofile.php


Ignore:
Timestamp:
01/26/2010 05:49:48 PM (17 years ago)
Author:
apeatling
Message:

Fixed forum post activity tracking, now links directly to the forum post. Only show post form on the last page of posts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile.php

    r2416 r2460  
    490490                'item_id' => false,
    491491                'secondary_item_id' => false,
     492                'recorded_time' => gmdate( "Y-m-d H:i:s" ),
    492493                'hide_sitewide' => false
    493494        );
    … …  
    496497        extract( $r, EXTR_SKIP );
    497498
    498         return bp_activity_add( array( 'user_id' => $user_id, 'action' => $action, 'content' => $content, 'primary_link' => $primary_link, 'component' => $component, 'type' => $type, 'item_id' => $item_id, 'secondary_item_id' => $secondary_item_id, 'hide_sitewide' => $hide_sitewide ) );
     499        return bp_activity_add( array( 'user_id' => $user_id, 'action' => $action, 'content' => $content, 'primary_link' => $primary_link, 'component' => $component, 'type' => $type, 'item_id' => $item_id, 'secondary_item_id' => $secondary_item_id, 'recorded_time' => $recorded_time, 'hide_sitewide' => $hide_sitewide ) );
    499500}
    500501
Note: See TracChangeset for help on using the changeset viewer.