BuddyDev

Search

[Resolved] blog categories for groups | an issue of showing posts in activity stream

  • Participant
    Level: Initiated
    Posts: 13
    Mohamed Fahmy on #11066

    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 pending

    add_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?

  • Participant
    Level: Initiated
    Posts: 13
    Mohamed Fahmy on #11069

    should i buy support to get answered? , i’m just new in this forums and don’t know exactly how it works

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #11113

    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
    Brajesh

  • Participant
    Level: Initiated
    Posts: 13
    Mohamed Fahmy on #11122

    Thanks a lot brajesh , i’m waiting

  • Participant
    Level: Initiated
    Posts: 13
    Mohamed Fahmy on #11272

    Hi Brajesh , any progress?

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #11273

    There 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
    Brajesh

  • Participant
    Level: Initiated
    Posts: 13
    Mohamed Fahmy on #11275
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #11276

    Hi Mohamed,
    I have marked your reply as private since it contained the email address. Also, have sent you the plugin.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 13
    Mohamed Fahmy on #11278

    still 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

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #11279

    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.

This topic is: resolved