Replies
- Brajesh Singh on April 4, 2019 at 1:27 pm in reply to: [Resolved] Multiple Member Types in same directory #21894
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 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
BrajeshHi 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
BrajeshHi 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- This reply has been marked as private.
Hi Jessica,
You are welcome.I am sorry, there is no restriction on posting here. We do not restrict at all. Please check if the page was cached or please share me a screenshot of the message on my email(in next reply).
Please feel free to ask any question. I will be glad to assist in future.
Regards
Brajesh- Brajesh Singh on April 4, 2019 at 12:34 pm in reply to: [Resolved] Multiple Member Types in same directory #21876
Hi Joss,
Thank you.Please use the updated code as
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() ); if ( ! $level || $level->id != 2 ) { 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 );Note the small change from earlier is this
if ( ! $level || $level->id != 2 ) { return; }Hope this helps.
Regards
Brajesh Hi Jessica,
Thank you for the question.
The menu description is misleading(It is a remnant from the early version, I will update description).In Community Builder 1.x, the menu visibility depends on panel visibility.
Please visit appearance->Customize->Layout->Global and update the left panel visibility there.
That will work.
Regards
Brajesh- Brajesh Singh on April 4, 2019 at 12:28 pm in reply to: Font Awesome Icons in Main Navigation #21874
Hi Jessica,
Thank you for the patience.
I have release 1.1.6 now and it adds an option in the Advance setitngs to disable the dropdown icon. Please visit Appearance->Customize->Advance Settings and check the option to disable it.After that, the icons will work.
Regards
Brajesh - Brajesh Singh on April 4, 2019 at 12:26 pm in reply to: Active Left Panel and Main Container Overlap #21872
Hi Jessica,
Thank you.I will need a little ore time to test on ios device as I don’t own any(emulator did not show it for me).
I will update you in next 2 days.
Regards
Brajesh