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
    Brajesh Singh on in reply to: [Resolved] Google Maps for Groups #21910

    Hi Val,
    Thank you.
    I can see the issue. The Simple Google Map does not work when it is network activated.

    A simple solution is to activate it only on your main site and it will work. Please give it a try.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Carsten,
    It seems to me your page for directory is not associated correctly.

    1. Please visit Dashboard->Pages and create one.
    2. Please visit Dashboard->Settings->BuddyPress->Pages and select that page and save.
    Now, please visit it and see if it works or not?
    Please make sure to clear your caches after this.

    PS:- I am sorry but I do not understand how did you use the “members” directory with profile tabs pro? The plugin does not need members directory slug.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: Font Awesome Icons in Main Navigation #21907

    Hi Jessica,
    Thank you.

    I have checked it now. I am publishing another update by Saturday that will resolve it.
    yes, It is a plugin compatibility issue. The problem is we are using a custom nav walker and the nav icon plugin is injecting their icon in our right floated icon class.

    Is this the plugin in question?
    https://wordpress.org/plugins/font-awesome-4-menus/

    Please let me know and I will publish an update by Saturday or early.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    You are welcome Joss.

    Learning is always beneficial 🙂

    Best regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Mic,

    I was expecting this issue.

    At the moment, you will need to modify the moderation plugin. For future, I will add some other option.

    Please open buddypress-moderation-tools/src/reportable-types/buddypress/activity/handlers/class-activity-ui-helper.php

    On line 43-46, you will see this

    
    	// Add Buttons.
    		add_action( 'bp_activity_entry_meta', array( $this, 'add_button' ), 1001 );
    		// in case of activity, 'bp_activity_entry_meta' is only called for logged in.
    		add_action( 'bp_activity_entry_content', array( $this, 'add_non_logged_button' ), 1001 );
    

    Please change it to

    
    	// Add Buttons.
    		add_action( 'bp_activity_entry_meta', array( $this, 'add_button' ), 9 );
    		// in case of activity, 'bp_activity_entry_meta' is only called for logged in.
    		add_action( 'bp_activity_entry_content', array( $this, 'add_non_logged_button' ), 9 );
    

    That should do it for now.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Thank you for the kind words Joss.

    We can modify the above code like this

    
    function buddydev_show_pmpro_membership_level_in_dir() {
    	if ( ! bp_is_members_directory() ) {
    		return;
    	}
    	// for the logged in user.
    	$level = pmpro_getMembershipLevelForUser( bp_get_member_user_id() );
    	// please update with visible level ids.
    	$visible_level_ids = array( 1, 2 );
    
    	if ( ! $level || ! in_array( $level->id, $visible_level_ids ) ) {
    		return;
    	}
    
    	echo '<div class="bp-member-xprofile-custom-field bp-member-level">' . $level->name . '</div>';
    }
    
    add_action( 'gwangi_buddypress_member_xprofile_custom_fields', 'buddydev_show_pmpro_membership_level_in_dir', 10 );
    
    

    Please update the visible level ids with actual ids.

    Let me know if it works for you or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: Share from within site to Buddypress #21890

    Please allow me a few days. I believe it should be easily doable(WordPress supports oembed out of the box).

    We might have to plan about keeping the share count though.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: Share from within site to Buddypress #21885

    Hi Vivek,
    Thank you.
    As far as I understand, by other pages being shareable, you mean the other content should be embedded in activity item?

    This should work out of the box(or with minor enhancements except the share count).

    Please let me know and I will helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: [Resolved] Google Maps for Groups #21884

    Hi Val,
    No problem.

    Thank you for the details.

    Can you please tell me more about your setup.
    Is BuddyPress network active or is it a BuddyPress multi network setup or something else?

    Also, how is the simple google maps plugin activated? Is it it network active?

    Thank you
    Brajesh