Hi TKServer,
I see several questions here from you and they seem to indicate you want to create topics and replies yourself by creating the posts and adding the metadata yourself.
I would propose you really check bbpress functions that exist that do this for you autmatically, so you don’t need to worry about what exact metadata to add.
Pascal.
_bbp_activity_id
is part of the BuddyPress integration code in bbPress specifically the activity component part of BuddyPress.
https://github.com/ntwb/bbPress/blob/ce1334374cf9fd165e81da1e5b6b511a2b3b778b/src/includes/extend/buddypress/activity.php#L598
Hi TKServer,
I see several questions here from you and they seem to indicate you want to create topics and replies yourself by creating the posts and adding the metadata yourself.
I would propose you really check bbpress functions that exist that do this for you autmatically, so you don’t need to worry about what exact metadata to add.
Pascal.
Yes that’s a great solution. The problem is that I’m doing it outside of the bbpress application. Any thoughts? For now I’ve taken the function that writes and new post and new meta and modified it to work with my custom page.
What does the number in this field represent?
I’ve figured out the answer to my own question.
This field is related to the buddy press field wp_bp_activity. That shows something like “joe user replied to the topic xxx in the forum xxx”
_bbp_activity_id isn’t necessary for my reply to code on my particular site for bbpress to work properly. It IS however necessary if I want my Buddy Press integration to reflect activity updates related to the forum.