Forum Replies Created
-
In reply to: Is integration with MailPoet possible?
Hi,
This is the plugin https://wordpress.org/plugins/wysija-newsletters/ that you can use but will need customization to restrict as per check box value.
https://www.mailpoet.com/buddypress-case-study/ Also try to consult with mailpoet once.
Thanks
In reply to: Can Buddypress build a community like this one?In particular,Iād like to distinguish between organizations and individuals.
The organizations apply to build communities, and organizations can post blogs in established communities to answer questions, free and paid features.
The data discussed by members can be saved and can be provided to scientific institutions for analysis.
Hi,
BuddyPress have member type features that you can use to distinguish between members. Please check this plugin https://buddydev.com/plugins/buddypress-member-types-pro/ and then can restrict group creation and blogs by member type organization.
Also use this plugin https://wordpress.org/plugins/bbpress/ for forum creation where members can come and reply on topics.
The topics and replies and activity post in buddypress are stored in the database.
Please check all of them and then can choose a BuddyPress based theme https://colorlib.com/wp/best-buddypress-wordpress-themes/ and it will have most of things inbuilt.
Thanks
In reply to: Activation EmailWelcome š Glad to know that it helped š
In reply to: Private BlogsHi,
Please put this snippet in child theme’s functions.php file:
function ps_private_posts( $query ) { if(is_user_logged_in()){ if ( $query->is_archive() && $query->is_main_query() ) { $query->set( 'author', get_current_user_id()); } } } add_action( 'pre_get_posts', 'ps_private_posts' );Hopefully, it will help you.
Thanks
In reply to: Default Landing group while editing Member profileWelcome š
Hi,
<?php if(current_user_can('manage_options')){ ?> <button type="button" class="message-action-delete bp-tooltip bp-icons" data-bp-action="delete" data-bp-tooltip="<?php esc_attr_e( 'Delete conversation.', 'buddypress' ); ?>"> <span class="bp-screen-reader-text"><?php esc_html_e( 'Delete conversation.', ',buddypress' ); ?></span> </button> <?php }?>You have to wrap the code like this. Just find the code that I put in condition and replace that with my code.
You can search for class=”actions” and there you will find the code.
Thanks
In reply to: Links in members-loop for Profile FieldGlad to know that it helped š
In reply to: Activation EmailTry to disable lazy loading in jetpack.
Thanks
In reply to: Links in members-loop for Profile FieldHi,
I found that those links are generated from the plugin Custom Profile Filters For BuddyPress and it only works on profile. So to get the same data with the link on members-loop.php we need to print fields like this:
$data = bp_get_member_profile_data( 'field=Expertise' ); echo '<a href="' . bp_get_members_directory_permalink() . '?s='.$data.'">'.$data.'</a>';Hopefully, this will help you.
Thanks
In reply to: Disable usernames or display a profile field insteadHi,
Please try this snippet: https://pastebin.com/kZQnQaJA
Just replace:
1. user_login with user_id
2. poster_login with poster_id
3. topic_last_poster_login with topic_last_poster_idThanks
In reply to: Private BlogsHi,
Is it a custom template where blogs are listing or default WordPress blog page?
Thanks
In reply to: Points systemWelcome š
In reply to: Default Landing group while editing Member profilefunction ps_change_default_profile_group() { if ( ! bp_is_user_profile_edit() || ! bp_is_my_profile() ) { return; } $group_id = 2; if ( bp_get_current_profile_group_id()==1 ) { bp_core_redirect(bp_displayed_user_domain()."profile/edit/group/2/"); } } add_action( 'get_header', 'ps_change_default_profile_group', 1 );Hi, please remove what you did in edit.php and use this code. Try pasting this in bp-custom.php file. If not able to create then add a plugin called Code Snippets https://wordpress.org/plugins/code-snippets/ and then add a snippet and paste the code there.
Thanks
In reply to: Points systemI have used many times. The link I gave is a free plugin so you can give a try. That user must have tried the paid version which he didn’t liked.
It is acquired by WP Experts https://mycred.me/news/new-ownership/ and it is true but still you can try the free version to check if it fulfill your need. I hope that it will.Thanks
In reply to: profile page sidebar assignmentWelcome š
Hi,
Please try to find the template named index.php in bp-templates/bp-nouveau/buddypress/common/js-templates/messages/index.php and there you will find the HTML. You just need to put that button code in condition of yours. That is if user role is this then only show otherwise not.
You can try:
if(current_user_can('manage_options')){ ?> // Button HTML Code here <?php }?>
One last thing, if you have child theme then try to override the file there and then change otherwise on next update changes will be lost.Thanks
Here https://megankharrison.com/technology-memberium-ten-online-course-features/ is one of the good article that explains how these things can work together.
Thanks
In reply to: Translate the emailsHi,
Please check this: https://buddypress.org/support/topic/translation-email/
Just need to go to Dashboard > Emails and customize any email.
Thanks
In reply to: Points systemIn reply to: Can not react – iconsIn these situations most probably plugins are getting conflicted and that’s why this issue is coming.
I have just tested with BuddyPress and twentyseventeen theme and it’s working fine: https://screencast-o-matic.com/watch/cF6Qb7YY6ZPlease try to disable plugins one by one and check if the issue remains same or gone.
Thanks
In reply to: Can not react – iconsCan you please confirm if this behaviour remains same with the default theme like twenty seventeen?
If no then certainly your theme is creating the issue there.
Thanks
In reply to: Can not react – iconsHi,
They are called favourite and delete activity icon. Can you please confirm if there is any js error in browser console when you click theme?
Thanks
In reply to: Activity/updatesCreate a file named bp-custom.php in the plugins folder and then put this code there. For reference: https://codex.buddypress.org/themes/bp-custom-php
If not able to do it then the easiest way is to install the plugin Code Snippets https://wordpress.org/plugins/code-snippets/ and add a new snippet there, then paste this code.
Thanks
In reply to: Activity/updatesHi,
Please try following code snippet:
function yuravw_remove_dp_activity( $activity_object ) { $exclude = array( 'new_avatar'); if( in_array( $activity_object->type, $exclude ) ) $activity_object->type = false; } add_action('bp_activity_before_save', 'yuravw_remove_dp_activity', 1, 15 );It will stop any new activity of profile pic update but older ones will be there as it is.
Thanks
In reply to: Default Landing group while editing Member profileHi,
Please check this thread: https://buddypress.org/support/topic/how-to-hide-base-group-in-the-edit-profile-panel/
Thanks