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: 25472
    Brajesh Singh on in reply to: Documents bypass gallery selection #14608

    Hi Leland,
    Thank you for posting.

    In the current setup, we can accomplish it in the same way as the activity upload.

    Use an uploader and if the document gallery is not present, create it automatically for the user.
    The hook for it will be ‘mpp_get_context_gallery’ . We use it internally for automatically creating wall galleries.

    Here is the implementation for the activity wall gallery
    https://github.com/buddydev/mediapress/blob/master/modules/buddypress/activity/mpp-activity-hooks.php#L136

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472

    Hi Sujee,
    I am sorry but I could not understand you last reply.

    We are not dealing with permalink here. It is for the default tab, so should work just fine if you click on a user’s link.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472
    Brajesh Singh on in reply to: BuddyPress Live Notification on bar #14605

    Hi Julia

    1. You will see it when you have a realtime notification. It does not show for older notifications.

    2. That is beyond the scope of this plugin. If you are looking to list notifications, I will suggets using BuddyPress Notifcations Widget
    https://buddydev.com/plugins/buddypress-notifications-widget/

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472

    Thank you. We are working and hoping for the same.

  • Keymaster
    (BuddyDev Team)
    Posts: 25472

    Hi Bjorn,
    is there a chance that the video is non h.264 encoded? The player(MediaElement player that comes bundled with WordPress) is only capable of playing h.264 encoded video.

    Can you please check if the videos appearing as link have anything in common(created by mobile or file format etc)?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472
    Brajesh Singh on in reply to: Custom background #14602

    Thank you.
    functions.php is the correct place for it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472
    Brajesh Singh on in reply to: Custom background #14600

    You are welcome. Please do let me know how it goes.

    About the MediaPress, I haven’t released an update on wp.org as I am trying to include 2 more developer oriented features in this release. I will need 2 more days.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472

    Hi Brandon,
    I am not sure if I replied to this other thread or missed it.

    If it is not working for underscore, it is most probably caused by some validation code. Ajax registration does not do anything to stop a user from using _. Is there any chance that you are using a plugin or code that puts restrictions on username/email or validates them and avoids underscore.

    The ajax registration plugin is incapable of doing it as we simply use validate_username and is_email which are both WordPress provided validators.

    Please check and let me know.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472

    Hi Sujee,
    You can use the following code

    
    /**
     * Conditionally update the landing tab.
     */
    function buddydev_set_member_type_based_default_component() {
    
    	if ( bp_is_user() && bp_has_member_type( bp_displayed_user_id(), 'admissions-counselor' ) ) {
    		define( 'BP_DEFAULT_COMPONENT', 'groups' ); //change groups with the slug of the tab you want to be default.
    	}
    }
    
    add_action( 'bp_init', 'buddydev_set_member_type_based_default_component',3 );
    
    

    Please make sure to change ‘groups’ with the slug of the tab you want to be default for the member type.

    Hope this heleps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472

    Hi Julia,
    Thank you for clarifying.

    The text is not part of BuddyPress.
    is there a chance that you are using one of the following plugins?

    – BuddyPress Activity As Wire
    – BuddyPress Wall
    – Buddy Wall

    Most probably one of these plugins have that code.