BuddyDev

Search

Replies

  • Participant
    Level: Master
    Posts: 281
    NikB on in reply to: [Resolved] Posting in groups #45815

    Hi Brajesh

    Would I be right in thinking the post in groups feature will be part of BuddyBlog Pro and therefore will require purchase of the same?

    I’m currently only using Blog Categories for Groups together with BP Simple Front End Post (becasuse I don’t actually need members to be able to post from their own profiles) but if the above is true then I’ll go ahead and purchase anway so that I can start testing the general concept (as well as field types for events etc).

    Warm regards
    Nik

  • Participant
    Level: Master
    Posts: 281
    NikB on in reply to: [Resolved] Posting in groups #45809

    Hi Brajesh

    Thank you for getting back to me.

    1. Sorry yes… point taken.

    2. That’s great news! I’m currently working on a site that focuses almost entirely on various custom post types being posted in groups not profiles, and as you’re probably aware, there are very few (if any) that take this approach. I’ve been attempting to adapt existing plugins but it’s a slow process so your plugin sounds as if it may be exactly what I’ve been hoping fo and save me a lot of time.

    If you need any beta testers, I’d be very grateful to be considered (especially as I already have some idea of the challenges involved.)

    3. What you say makes sense. I’d be very happy to test with both “The Events Calendar” and “Events Manager” plugins to see what field types might be missing.

    Regards
    Nik

  • Participant
    Level: Master
    Posts: 281
    NikB on in reply to: Limit groups per user #45788

    Hi Brajesh

    Wow… thank you for such a super fast response!

    That all makes perfect sense and yes, I was already thinking I might put a link elsewhere if there’s no other option.

    Many thanks and really appreciate your help as always.

    Nik

  • Participant
    Level: Master
    Posts: 281
    NikB on in reply to: [Resolved] Group Tabs Pro – modifying existing tab #45570

    Hi Ravi

    I’m pleased to say that seems to work perfectly… and I’ve learnt something too!

    With very many thanks to both you and Brajesh.

    Warm regards
    Nik

  • Participant
    Level: Master
    Posts: 281
    NikB on in reply to: [Resolved] Group Tabs Pro – modifying existing tab #45542

    Hi Brajesh

    Thank you for your thoughts… and you’re right (of course ;-)), I now realise that the code I was using to remove the tab added by Events Manager wasn’t actually working.

    The code I was using was an adapted version of something I’d found here ie.

    function buddydev_custom_disable_group_events() {
    
    	if ( ! bp_is_group() ) {
    		return;
    	}
    	$group_id = bp_get_current_group_id();
    	$user_id  = get_current_user_id();
    
    	bp_core_remove_subnav_item( groups_get_current_group()->slug, 'events' );
    }
    
    add_action( 'groups_setup_nav', 'buddydev_custom_disable_group_events' ); 

    Unfortunately, it seems that Events Manager doesn’t use ‘groups_setup_nav’ but instead runs the following –

    add_action( 'bp_init', array(&$this, 'setup_group_nav') );

    from within its own Events Manager component.

    I do appreciate this is probably straying rather far into custom coding (and I’m personally at a loss as to how I’d remove such an action) so I guess in this case I’d better settle for the “simple” (if less elegant) solution of using a different slug… well.. unless you have any better suggestions.

    Warm regards
    Nik

  • Participant
    Level: Master
    Posts: 281
    NikB on in reply to: [Resolved] Group tabs #45514

    Hi Brajesh

    As it happens, something along the lines of your suggestion had already crossed my mind 😉

    I always like to try and do things the right/clean way but in this case, it does seem that is the only way… and at least now I know I really was trying to achieve the impossible with the methods I was using.

    How strange that Buddypress doesn’t handle group navs in the same way as profile navs.

    Thank you again for your help.

    Regards
    Nik

  • Participant
    Level: Master
    Posts: 281
    NikB on in reply to: [Resolved] Group tabs #45512

    Hi Brajesh

    Thank you for getting back to me so promptly.

    Yes I guess I do mean as in the User profile where I’ve successfully created tabs with sub navs in the past. Are you saying that Group profiles don’t work the same, even though you can still use the same (bp_core_new_subnav_item) function for the “top level” tab?

    I do have access to your Group Tabs Creator (although I might need to renew to update to the latest version) but are you suggesting that can create with code what can’t be achieved in a “standard” way ie. a new group tab with two sub navs?

    With many thanks again.
    Nik

  • Participant
    Level: Master
    Posts: 281
    NikB on in reply to: [Resolved] Group tabs #45508

    Oops… don’t think I can edit the above but the “parent slug” example above should actually have been the parent URL and read as follows – groups/group-name/events…

  • Participant
    Level: Master
    Posts: 281
    NikB on in reply to: [Resolved] Filtering activity feed in BuddyBoss #45438
    This reply has been marked as private.
  • Participant
    Level: Master
    Posts: 281
    NikB on in reply to: [Resolved] Filtering activity feed in BuddyBoss #45435
    This reply has been marked as private.