Forum Replies Created
-
In reply to: Add content into new Item menu
Hi,
Please replace
echo "Add Something";withbp_core_load_template( ‘activity/index’ );
Thanks
In reply to: Image on page too bigThe content is only available to members. I am not able to see the page.
In reply to: Add Friend button with ajaxHi,
Sorry for the delay. I am not on my system but you can debug the code by echoing something just after is_home(){ to see if it is coming in the condition.
If you don’t know how to code, no worries I will check and reply soon.
In reply to: How to overload nouveau header from pluginHave you tried following the same path and just copy the template from new template?
In reply to: “Display name publicly as” to XProfile NameFor new users you can use the code mentioned here https://forums.wpsharks.com/t/pro-form-buddypress-make-display-name-default-to-username-or-make-it-custom-profile-field/2113
For existing users you can give this plugin https://wordpress.org/plugins/buddypress-real-names/
a try.Thanks
Pleasure is mine 🙂
In reply to: Member map in learndash websiteIn buddypress settings under pages tab you have to choose the page in members page dropdown.
Settings -> Buddypress -> Pages
Thanks
No, please write the field name exactly it is there in xprofile field. You can also use field id instead the name.
Hi,
There must be some javascript code missing which was only en-queued on site-wide activity page and now that needs to be enqueued on profile also. Please check there which javascript you are missing. It will be most probably buddypress-activity javascript.
Thanks
In reply to: Activity page showing all membersPlease check on the URL: your_site_url/activity like https://test.com/activity.
It’s called site-wide activity page in BuddyPress where you will see that all members tab.Thanks
In reply to: how to remove component from bp notifications?Yes, please try that once.
In reply to: Notification not showing in user profileI think you are looking for solutions that work with blog post only, which is a kind of custom work that needs to be done there.
But for reference, you can see this plugin https://wordpress.org/plugins/bp-activity-comment-notifier/ that works with activity post comments and it notifies all the users if a comment is made.
Thanks
In reply to: Adding Buddyform to other user’s profileHi,
You can try this plugin https://wordpress.org/plugins/bp-user-profile-reviews/
In reply to: how to remove component from bp notifications?Ok, so what I am doing is that I am navigating you to the file where it is coded and I guess it can only be commented in the plugin code itself and we can not remove it by the hook.
File: https://github.com/WPPlugins/activity-reactions-for-buddypress/blob/master/class/class.php
on line 1044 and 1062If it does not help then there are two filters on line 1165 and 1165, we can try removing them also.
Thanks
In reply to: See only a kind of usersHi,
Please see this thread: https://wordpress.stackexchange.com/questions/125754/buddypress-conditionally-filter-directory-based-on-xprofile-field
Hopefully, it will fix your issue.
Thanks
Perfect 🙂
It will be custom work. You can add this code snippet in your child theme’s functions.php to achieve this:
add_filter('bp_core_signup_send_validation_email_message','ps_user_data_to_email',10,2); function ps_user_data_to_email( $msg, $user_id ) { $user = get_user_by( 'id', $user_id ); if(!empty($user)) $data1 = xprofile_get_field_data('your_first_field_name',$user->ID); echo 'Your Profile Field Name'. ' : '.$data1; $data2 = xprofile_get_field_data('your_second_field_name',$user->ID); echo 'Your Profile Field Name'. ' : '.$data2; }You can do this for all the profile fields by just repeating the code to get data3 data4 like I did for data1 data2 and obviously you have to use your profile fields name in place of ‘your_first_field_name’, ‘your_second_field_name’ and ‘Your Profile Field Name’.
Thanks
In reply to: Add Friend button with ajaxYou can try enqueuing that with the conditional tag like:
function ps_buddypress_js_load(){ if(is_home()){ wp_register_script('buddypress', plugins_url( '/buddypress/bp-templates/bp-legacy/js/buddypress.js' , 'buddypress' ) ); wp_enqueue_script('buddypress'); } } add_action('wp_enqueue_scripts', 'ps_buddypress_js_load');If you are using the nouveau template then can change the path accordingly.
Thanks
In reply to: Notification not showing in user profileThat’s not a default BuddyPress feature. You can try this plugin https://buddydev.com/plugins/bp-notify-post-author-blog-comment/ to see if it works fine for you.
Thanks
In reply to: Reply to message failureHave you tried this again or this happened once only?
In reply to: remove bp notification by component_name ?
Thread is aleady active here.In reply to: Buddypress create errors in my ThemeSeems like your theme is not compatible with BuddyPress. If you can check with the default theme, you will see that it works fine.
In reply to: Activation Page not Working as ChildIt is always included as a parent page in BuddyPress. It’s having it’s own functionality that’s why it is an individual page. You should not make that child page of registration.
Thanks
In reply to: Notification not showing in user profileI am not sure if you are creating blog posts or activity. BuddyPress sends notification for these updates https://codex.buddypress.org/administrator-guide/notifications/
If it is a blog post then you have to go with this code to get notification https://wordpress.stackexchange.com/questions/263950/new-post-notifications-for-users-buddypress
In reply to: Uploaded Avatars do not Crop CorrectlyPlease check this link https://gschoppe.com/wordpress/buddypress-auto-pad-avatars/
If this can help, it will be great.
Thanks