Hi Dear Brajesh,
first i want to thank you for your adds to buddypress , i’m really appreciate your efforts.
i face an issue to show posts created by blog categories & simple front end plugins in activity stream .. i’m using them to post a CPT which it must be posted in pending statue and to be approved by the site admin in the back end .. the issue is , when the post created with “publish” statue the post appear in the group activity stream . BUT when it be posted in pending statue ,then the site admin approve it , it doesn’t appear in the group activity stream.
i’m using your code to set the post statue to pendingadd_filter( 'bcg_form_args', 'bcg_custom_form_args' ); function bcg_custom_form_args( $args ) { $args['post_status'] = 'Draft'; return $args; }
could you help me about this please?
should i buy support to get answered? , i’m just new in this forums and don’t know exactly how it works
Hi Mohamed,
I am sorry for the delayed reply. We are sort on people due to festive seasons here.I am going to look and assist you further a bit later today.
Thank you
BrajeshThere was an issue and i have managed to get it work. Before going for release, I want to cleanup a few more things.
If you need it urgently, please let me know and I will send a copy via email. Also, I haven’t tested it with the CPT but post(They should be same), so your feedback will help.
Thank you
BrajeshHi Mohamed,
I have marked your reply as private since it contained the email address. Also, have sent you the plugin.Regards
Brajeshstill doesn’t work , with a CPT .. it be shown in the activity stream only when it be published directly .. but it doesn’t show with publishing after pending status .. i just sent you an email with more details
The reason is your activity type for the generated activity is not “new_blog_post” . We filter on this type to set the groups component
Thank you for the email and I have seen that you are using a different type. I will send you some guideline tonight or tomorrow to how to get it working with your custom code.
Thank you
Brajesh
The topic ‘ [Resolved] blog categories for groups | an issue of showing posts in activity stream’ is closed to new replies.