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: 25485

    Hi Eric,
    Please put this javascript in your js file(or cusotm code [plugin if that allows it)

    
    (function ($) {
    	var tabSelectors = ['#activity-groups-li', '#home-groups-li' ];
    
    	$(document).ready(function(){
    		if( ! tabSelectors.length){
    			return;
    		}
    		
    		var allItemsSelector = tabSelectors.join(',');
    
    		$(allItemsSelector).each(function () {
    			$(this).addClass('no-ajax').find('a').attr('target','_blank').addClass('no-ajax');
    		});
    	});
    
    })(jQuery);
    

    Change the ids of the tab in this line with your own

    
    var tabSelectors = ['#activity-groups-li', '#home-groups-li' ];
    

    Or you can point me to the site and tell me which tabs and I will provide the updated list of tabSelectors.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: Brajesh – I forgot one question! #25396

    Thank you Cindy. Appreciate the kind words.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: [Resolved] Tab Slug is Dynamic! How to map this tab? #25395

    Hi Cap,
    I finally checked it today.

    The tab is not actual BuddyPress tab. It is a link to another page. The plugin can not modify it. The plugin can only modify the tabs which link to something like this(http://example.com/members/xyz)
    the tab does not link to a component but rather to a non BuddyPress page on the site.

    You will need to contact WCFM developers to modify the url.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: Registration filds #25394

    Hi Cap,
    Thank you for the question.

    I do not see a proper solution available. I do see that there are options to allow the reverse(sync BuddyPress field to WordPress User meta) like this
    https://wordpress.org/plugins/bp2wp-full-sync/

    But there are no plugin currently available to od it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: Filter for specific members type in the members loop #25393

    Hi,
    Thank you for the question.

    Since you can not use the shortcode and you are creating a different page/loop, your best option is to use
    member_type__not_in or member_type__in option in the bp_has_members()
    You can specify one or more member type to exclude or include.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: Brajesh – I forgot one question! #25383

    Hi Cindy,
    Thank you,.
    The code I had shared was for BP Legacy.

    Here is the css that you can use with Nouveau

    
    .dir-navs .activity-nav li:not(#activity-all) {
    	display:none;
    }
    
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: Brajesh – I forgot one question! #25381

    Hi Cindy,
    Is there any kind of caching enabled? Also, which template pack are you using. Please let me know and I will update.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Milan,
    The previews are available for any oembed supporting site.

    For example, if you add a video from youtube or vimeo, they should show the preview.

    Hope that clarifies.

    PS:- all WordPress sites act as oembed provider, that’s why internal links are showing preview.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: BuddyCommerce – Points & Rewards #25378
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: BuddyCommerce – Points & Rewards #25377

    Hi Chun Hong,
    Thank you.

    Please share a copy. I am sharing my email in next private reply. I can make these two work in next couple of days.

    Thank you
    Brajesh