I am unable to post on my activity page. I can write but the post button is not showing and my members are not able to create groups on my self. How do i fix this problem?
@nyroka, it seems like you have a separate issue, you should probably make a new topic with a full description of your problem.
@shadowfox12, I was looking into this a bit myself, here’s what I found:
1. In our theme, posting to the activity stream starts with an AJAX call. the HTTP POST field is set, with ACTION=post_update
2. the AJAX call is handled by wp-content/plugins/buddypress/bp-themes/bp-default/_inc/ajax.php (line 112) in the function bp_dtheme_post_update()
3. this function calls the bp_activity_post_update() function, which lives in wp-content/plugins/buddypress/bp-activity.php (line 374)
4. bp_activity_post_update() calls bp_activity_add() (same file, line 628) which creates a new object of type BP_Activity_Activity and runs its save() method.
5. the BP_Activity_Activity class is defined in wp-content/plugins/buddypress/bp-activity/bp-activity-classes.php, and the save() method does the database update/insert.
I’m half documenting this for myself, and half hoping that it helps you. Best of luck!