Replies
- Brajesh Singh on May 20, 2017 at 8:58 am in reply to: [Resolved] Stack error on settings page… #9238
Hi,
My apologies for the inconvenience.I just noticed, It should be throwing some error since we have missed to pass css class and forgot a check.
I am putting a fix in MediaPress and pushing on github. It will be available with the next release. It won’t have any side effect. It is used to allow adding extra css class on the image selector.
Thank you
- Brajesh Singh on May 19, 2017 at 9:13 pm in reply to: [Resolved] Showing member profile type as icon in members directory #9231
Hi Henrik,
Here is an example with font awesome. Please feel free to modify it and adapt with your own iconset./** * Show Font awesome icon based on the member type */ function buddydev_show_member_type_in_directory() { $user_id = bp_get_member_user_id(); if ( ! $user_id ) { return ; } $member_type = bp_get_member_type( $user_id, true ); $output = ""; if ( $member_type == 'kvinde' ) { $output ='<i class="fa fa-venus" aria-hidden="true"></i>'; } elseif ( $member_type == 'mand' ) { $output = '<i class="fa fa-mars" aria-hidden="true"></i>'; } echo $output; } add_action( 'bp_directory_members_item', 'buddydev_show_member_type_in_directory' );Please put the code in bp-custom.php.
Hope that helps.Regards
Brajesh - Brajesh Singh on May 19, 2017 at 9:01 pm in reply to: [Resolved] Redirect to Profile plugin not working #9230
Hi,
Are you by any chance testing it as site administrator? The login redirect plugin will not redirect to your profile if you are a site administrator. It only does so for the non admin users.I am sorry for the confusion. Just tested with BuddyPress 2.8.2 & WordPress 4.7.5 and the plugin version 1.2.2.
Can you please tell me if it is a different case for you.
- Brajesh Singh on May 19, 2017 at 4:26 pm in reply to: [Resolved] Redirect to Profile plugin not working #9227
Hi,
Welcome to BuddyDev forums.Are you using any other redirection/restriction plugin too? If not, Please let me know. I will be able to check and update quickly.
Thank you
Brajesh - Brajesh Singh on May 19, 2017 at 12:27 pm in reply to: [Resolved] Showing member profile type as icon in members directory #9223
Well, It is a bad idea to use font awesome for just 2 icons.
Also, just confirming that that the member type names are “male” and “female” or please let me know the correct member type names(unique names).Thank you
Brajesh - Brajesh Singh on May 19, 2017 at 12:19 pm in reply to: [Resolved] Showing member profile type as icon in members directory #9221
Hi Henrik,
Can you please confirm me if the Kleo theme uses font awesome ? If yes, I can post you the complete code to show the icon.Thank you
Brajesh Hi Francoise.
Can you please try running the same in the sidear and see if that works for the group.In the above code, we are explicitly asking to list all media types for current group.
- Brajesh Singh on May 19, 2017 at 12:07 pm in reply to: [Resolved] load newest button with BP CommunityActivity on profile #9219
Hi,
Welcome to BuddyDev forums and thank you for posting it.Please allow us to investigate it today and post a solution by tomorrow.
Thank you
Brajesh - Brajesh Singh on May 19, 2017 at 12:06 pm in reply to: Conditonal Profile Fields – Issues on profile fields on page reload when error #9218
Hi Brett,
I am sorry for not updating it.
This plugin needs rewrite. We will be releasing an update in early June that fixes all bugs and adds support for the xprofile custom field types/our member type plugins.Thank you.
- Brajesh Singh on May 19, 2017 at 12:04 pm in reply to: [Resolved] Issues about BuddyPress Extended Friendship Request #9217
Hi Dandy,
Thank you.
I hope you are doing well too.Please put this code at the beginign of your js file
jQuery('.item-list-tabs a').on('click', function(){ jQuery(this).trigger("bp-ext-friendship-popover:close"); });That should most probably work for all cases. Another solution is to use timeouts.