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: 25471
    Brajesh Singh on in reply to: BuddyPress Ajax Registration #10180

    Hi Diana,
    Thank you.

    The form looks nice. I noted that it is missing the close button though. Was that intentional?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25471

    Hi Jay,
    Sorry to inform this at the last moment. The plugin is delayed by another 2 days.

  • Keymaster
    (BuddyDev Team)
    Posts: 25471
    Brajesh Singh on in reply to: BuddyPress Message Privacy help #10175

    Thank you.
    have a nice time there.

    I will be available before that.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25471
    Brajesh Singh on in reply to: limit gallery link on members profiles #10174

    You have it correctly there.

    I need to check if it works in functions.php or we will need bp-custom.php

    Will post back later today.

  • Keymaster
    (BuddyDev Team)
    Posts: 25471
    Brajesh Singh on in reply to: Activity Lock and Notification #10173

    Hi,
    I am looking at the translation and will let you know.

    For adding icon, please use css. You can certainly add icons with that.

  • Keymaster
    (BuddyDev Team)
    Posts: 25471

    I am very sorry but this plugin is still delayed and I am not sure if we will be able to complete it even by next week.

    The original one we had is undergoing rewrite but due to the new BuddyPress release, It has been put on hold to update other plugins.

    I will inform you asap we have it ready.

  • Keymaster
    (BuddyDev Team)
    Posts: 25471

    Hi Rossini,
    Is there any chance that you have a page set as site homepage? WP_Query throws this on a page is set as home page(and the query is accessed in non conventional way).

    We have plans to fix it but it is just a notice and you can safely ignore it for now.

    To keep track of it, please use this ticket.
    https://github.com/buddydev/mediapress/issues/47

  • Keymaster
    (BuddyDev Team)
    Posts: 25471
    Brajesh Singh on in reply to: limit gallery link on members profiles #10164

    Please link me to the code.

  • Keymaster
    (BuddyDev Team)
    Posts: 25471
    Brajesh Singh on in reply to: limit gallery link on members profiles #10161

    Hi,
    It most probably caused a fatal error due to syntax.

    Please remove it and post the complete functions.php on https://pastebin.com/

    I will update it for you to avoid any syntax issue.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25471
    Brajesh Singh on in reply to: limit gallery link on members profiles #10159

    Hi Patti,

    Please remove the old code and add this code at the bottom of the file.

    
    
    /**
     * Example: Disable MediaPress gallery for S2 members level 0
     *
     * @param bool   $is_active is MediaPress active.
     * @param string $component component name(members, groups,sitewide etc).
     * @param int    $component_id context items id(user id, group id etc).
     *
     * @return bool
     */
    function mpp_custom_disable_for_users( $is_active, $component, $component_id ) {
    	// only for members component.
    	if ( 'members' !== $component ) {
    		return $is_active;
    	}
    	// do not allow zero level to have the gallery.
    	if ( function_exists('current_user_is' ) && current_user_is( $component_id, 's2member_level0' ) ) {
    		return false;
    	}
    	return $is_active;
    }
    add_filter( 'mpp_is_enabled', 'mpp_custom_disable_for_users', 10, 3 );
    
    

    Does it solve the problem?

    Thank you
    Brajesh