Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Gettinng id of the activity status

@dedurus

Member

@r-a-y thanks for reply (i’m little late with mine).
The problem is that I cannot determine the activity ID.
In entry.php, i tried with bp_activity_id() function to wrap it in a query, but all I get is ID of the activity printed in the browser.
How can I determine the activity ID in entry.php ?

For example this code works (yet with native WP functions), but for static activity ID:

$Fql = $wpdb->get_results($wpdb->prepare("SELECT * FROM {$bp->activity->table_name} WHERE id = %d", 35));

Thanks

Skip to toolbar