Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25328
    Brajesh Singh on in reply to: [Resolved] Mediapress Actions/Filters #20716

    Hi Nikki,
    Thank you for asking.

    Currently, the commenting is not handled in the best way in MediaPress.

    Here is how we approach it.

    1. Any comment in the activity stream is handled by Your theme as normal BuddyPress Activity comment. To check if it was a MediaPress upload, check for the parent activity(top level’s) type.

    2. Commenting on a single gallery, single media page and in the lightbox is handled by MediaPress. A reply on some’s comment is a BuddyPress Activity comment while a complete new comment is stored as activity update(for user/group depending on media component).

    In other words, when someone writes a comment on a media(in lightbox,single page) or a gallery(on single page), It can be stored as an activity update or an activity comment. If the comment is a reply to someone else’s comment on the media, it is stored as activity comment.
    If it is a brand new comment directly on the media/gallery, It is stored as an activity update.

    I am not sure if the above makes much sense to you as the current implementation lacks simplicity for commenting.

    It is on our list for next major release.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25328

    Please upgrade to 1.0.7
    https://buddydev.com/plugins/buddypress-group-tabs-creator-pro/

    It supports the counts in labels. The counts will be preserved.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25328
    Brajesh Singh on in reply to: Add users to group automatically #20712
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25328
    Brajesh Singh on in reply to: Show notification when post is published #20711

    The followig line in your code

    
    		// WordPress Toolbar
    		if ( 'string' === $format ) {
    			$return = apply_filters( 'publishpost_filter', '<a href="' . esc_url( $custom_link ) . '" title="' . esc_attr( $custom_title ) . '">' . esc_html( $custom_text ) . '</a>', $custom_text, $custom_link );
    			// Deprecated BuddyBar
    		} else {
    			$return = apply_filters( 'publishpost_filter', array(
    				'text' => $custom_text,
    				'link' => $custom_link
    			), $custom_link, (int) $total_items, $custom_text, $custom_title );
    		}
    

    Tells BuddyPress what to show.

  • Keymaster
    (BuddyDev Team)
    Posts: 25328
    Brajesh Singh on in reply to: [Resolved] How to remove function noftifications #20708

    Hi maimaimemain,
    Thank you for the kind words. I am glad I was able to assist you.

    Best regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25328

    Hi,
    The issue with count was a possible degradation for the update label. I have fixed it. Will be releasing an update later today and write back.

    For adding the js, you can use the “#studio” as

    
    jQuery('body.single-item.groups .item-list-tabs #studio').attr('target', '_blank');
    
    

    Assuming the id is for anchor.

    For placing the js, pleas ask the theme developer if they have provided a way(most themes do it in child theme custom js file) or you can use a plugin like
    https://wordpress.org/plugins/custom-css-js/

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25328
    Brajesh Singh on in reply to: Show notification when post is published #20706

    Hi Hayleigh,
    The screenshot I shared was from the notifications created by your code and as you may see, It was working.

    My suggestion will be to try your code on a clean install of BuddyPress(with default theme) and see if it works. If it does, you can troubleshoot your setup by changing theme and deactivating plugins.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25328

    Hi Tosin,

    I am sorry for the inconvenience.
    In future, Please do share all related code or topic in one post to allow me work over them easily.

    I will look at it later today and help you.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25328
    Brajesh Singh on in reply to: Add users to group automatically #20697
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25328
    Brajesh Singh on in reply to: Show notification when post is published #20696

    Hi Hayleigh,
    That’s strange. I am not sure what might be causing it.

    Here is what I see
    https://i.imgur.com/1KFBLz0.png

    Regards
    Brajesh