BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25130
    Brajesh Singh on in reply to: Buddypress branded login formatting #2385

    Hi Brandon,
    Thank you.

    I will work on it and will provide you some code to enable us use the visual editor for page content.

  • Keymaster
    (BuddyDev Team)
    Posts: 25130

    Hi Rodolfo,
    Thank you. I am thinking about some possibilities. Is there any chance that you upgraded from older version of Simple front end post plugin?

  • Keymaster
    (BuddyDev Team)
    Posts: 25130
    Brajesh Singh on in reply to: [Resolved] Dynamic Link In Menu #2379

    Hi Erich,
    Though it is possible to filter nav menu and add Item, I will prefer another approach.

    I will create a page call it say “my-subscriptions” and then on “template_redirect” action check if the user is logged and is trying to visit this page redirect to the link you wanted to link earlier.

    Something like this

    
    
    add_action( 'template_redirect', 'buddydev_bbp_redirect_tosubscription_page' );
    
    function buddydev_bbp_redirect_tosubscription_page() {
    	
    	if( !  is_user_logged_in() || ! is_page( 'my-subscription') ) {
    		return ;
    	}
    	
    	$url = bbp_get_user_profile_url( get_current_user_id() ) . 'forums/subscriptions/#bbp-author-unread-topics';
    	
    	wp_safe_redirect( $url );
    	exit(0);
    	
    }
    
    

    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 25130
    Brajesh Singh on in reply to: List of groups plugin idea #2377

    Hi,
    Perhaps there is an existing widget here
    https://github.com/sorich87/buddypress-my-groups-widget

    If that does not suits you, can you please let me know what improvements can we provide if we have to create new widget?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25130

    Hi Rodolfo,
    I am sorry but I am not able to produce any of these.

    I am on WordPress 4.4.1/BuddyPress 2.4.3 and using BuddyBlog 1.1,4 and BP Simple front end post 1.2.7

    Can you please post a screenshot of your settings page for BuddyBlog?

  • Keymaster
    (BuddyDev Team)
    Posts: 25130

    Hi Leo,
    Thank you for the details.

    I can understand it now. Since in MediaPress, The MPP_Media_Query and MPP_Gallery_Query extends WP_Query, any action/filter applied on the WP_Query also affects it.

    There is an easy solution though.

    
    
    function SearchFilter($query) {
    	
    	if ( $query->is_main_query() && $query->is_search) {
    		$query->set( 'post_type', 'post' );
    	}
    	
    	return $query;
    }
    add_action( 'pre_get_posts', 'SearchFilter' );
    
    

    Make sure to check for is_main_query() on the query object and it will not affect any other loop.

    More details on MPP_Media_Query and MPP_Gallery_Quey below.

    https://buddydev.com/mediapress/topics/api-reference/core/mpp_media_query/
    https://buddydev.com/mediapress/topics/api-reference/core/mpp_gallery_query/

    Hope that helps

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25130
    Brajesh Singh on in reply to: Buddypress branded login formatting #2368

    Hi Brandon,
    I am sorry, I was not able to assist yesterday.

    Here is what I consider the best strategy.

    Empty blogin/login.php (in your theme’s copy).
    Now, copy the content of your defuault page.php from your theme and put it in this file.

    Now, you can visit the backend and add the shortcode etc. If that does not work(BuddyPress resets page id, so content may not be visible), We may need to use the php code in the template like

    
    
    <?php echo do_shortcode( ' [some_shortcode]' );?>
    
    

    Also, If you want to go with the look of wpmetalist, It will be very easy to do so.

  • Keymaster
    (BuddyDev Team)
    Posts: 25130
    Brajesh Singh on in reply to: BP-Album Importer #2367

    Hi,
    I am sorry but I haven’t reworked on it. Spent last few days preparing MediaPress for WordPress.org submission and the documentation. Have finally submitted it.

    I won’t be able to work on it today but will start working on it tomorrow and keep you updated. 2-3 days should be more than enough to have this plugin now.

  • Keymaster
    (BuddyDev Team)
    Posts: 25130

    Hi Leo,
    Are you using some custom code for MediaPress media status or preventing access. Everything seems fine to me but whenever I try to access the lightbox, the server is sending empty list( most probably permission issue with media visibility).

    Also, I am not able to visit my own media in my personal galleris.

    There can be only 2 reasons.

    1. Either there is some custom code preventing the media from being listable/accessible or
    2. the _mpp_is_mpp_media meta is not being stored.

    I doubt it is the first issue.

    Have you made any changes/upgrades or custom code?

  • Keymaster
    (BuddyDev Team)
    Posts: 25130

    Hi Leo,
    Most prbably the response from server is not valid json. Is it happening on the same server where we were testing or somewhere else?