Replies
- Brajesh Singh on May 1, 2017 at 2:05 am in reply to: Displaying title and user on shortcode pages #8907
Hi Xochi,
I am sorry but I have lost the track due to so many mixed replies here.I understand that you have been looking for it for long and I am truly sorry for the inconvenience. My I ask you to open a topic and mention the things you are trying to accomplish now. I will assist quickly.
Thank you
Brajesh - Brajesh Singh on May 1, 2017 at 2:03 am in reply to: Conditonal Profile Fields – Issues on profile fields on page reload when error #8906
Hi Brett,
Thank you for posting.1. Currently the plugin only supports core BuddyPress field. We do plan to add support for custom field type in future.
2. It will not work if you have a field marked as required and which is controlled by conditions. The best way is to not mark conditional fields as required. We understand that you still want to validate that field. Please see the below topic for an example of validation
https://buddydev.com/support/forums/topic/conditional-profile-fields/#post-8209
yours can be simpler than that.
If you need assistance with code, please do post me the field ids and the details for validation and I will help.
Thank you
Brajesh - Brajesh Singh on May 1, 2017 at 1:56 am in reply to: [Resolved] Visibility Condition Button issue with Conditional Profile Fields for BuddyPress #8903
Closing as resolved due to lack of replies.
You are welcome!
- Brajesh Singh on May 1, 2017 at 1:49 am in reply to: [Resolved] Alllow one more role than admin to see "private" gallaries #8901
You are welcome Christien.
I am glad I was able to point in the right direction.Tough I agree that switching back is a little bit uncomfortable, It is still best for the security reason.
All the best with your project 🙂
Regards
Brajesh - Brajesh Singh on May 1, 2017 at 1:47 am in reply to: [Resolved] BuddyPress Extended Friendship Request #8900
Hi Gibby,
we will be pushing it on the wp.org repo and also on BuddyDev site today. Please feel free to delete and upgrade then. We will leave a message after the update is available to let you know.Thank you
Brajesh Hi Justin,
Thank you for the kind words.if you are comfortable with PHP, please try the steps I suggested above.
The post loop is a custom WordPress post loop and you can make it look as you need. Please do let me know if you need assistance with the code.
Thank you
BrajeshHi Swati,
that’s good to know.The issue you are finding is strange. That is the default behaviour for the private message button.
Will it be possible for you to share a screenshot?Thank you
BrajeshHi Swati,
Thank you.You can use the following code to do that
/** * Search a member list by the user id with prefixed username */ function buddydev_search_member_by_user_id( $args ) { if ( empty( $args['search_terms'] ) ) { return $args; } $prefix = strtolower( "INDIA77" ); // Change the prefix if you are using a different prefix $term = strtolower( trim( $args['search_terms'] ) ); if ( stripos( $term, $prefix ) === 0 ) { //must start with $id = str_replace( $prefix, '', $term ); $args['include'] = absint( $id ); // only this user please $args['search_terms'] = ''; // reset search term } return $args; } add_filter( 'bp_after_has_members_parse_args', 'buddydev_search_member_by_user_id' );here we are making sure that our search term starts with the “prefix” and then we replace the prefix to find the id. rest is same.
Hope that helps.
Regards
BrajeshHi Justin,
Welcome to BuddyDev.Since we haven’t provided any css with BuddyBlog, most of the time it takes from the current theme.
If the layout is bad, there is an easy solution. Copy plugin/buddyblog/template/buddyblog/posts.php to your theme/buddyblog/posts.php
and modify it to use your own theme’s article layout.
Hope that helps.
Regards
Brajesh