Search Results for 'buddypress'
-
AuthorSearch Results
-
April 6, 2019 at 5:11 am #304436
In reply to: Severe BuddyPress / Yoast conflict
msteimann
ParticipantThanks for your quick reply. The mentioned thread was just to show that someone has already tried to find a solution.
I have no coding skills at all, but I guess someone – either BuddyPress or YOAST team would have to make changes to their code in order to solve the issue. Can you please go ahead and raise the issue on Trac? If someone asks specific questions there, I most probably could not give the right answers.
Regards,
MartinApril 6, 2019 at 5:01 am #304435In reply to: Severe BuddyPress / Yoast conflict
Venutius
ModeratorI guess the next step would be to raise an issue on Trac, since this sounds like you are wanting a change to the way the code works. include the link to the Yoast discussion.
April 6, 2019 at 4:55 am #304433In reply to: Severe BuddyPress / Yoast conflict
msteimann
ParticipantHello again,
the YOAST team has confirmed the BuddyPress conflict and told me to contact the BuddyPress developers – it’s the back and forth game situation.
https://github.com/Yoast/wordpress-seo/issues/12435#issuecomment-479479079
Can you please get in contact witch each other? Maybe you can sort things together. I am sure that a lot of users including me would gratefully appreciate your effort.
Maybe this thread could help to find a solution:
Thank you in advance and all the best,
MartinApril 5, 2019 at 7:51 pm #304417In reply to: 404 page after activation key
Venutius
ModeratorIt sounds like something is messing with the user database lookups, have you tried deactivating all plugins except BuddyPress and trying?
April 5, 2019 at 6:56 pm #304412In reply to: RESOLVED-Report User Button
Ben Roberts
ParticipantHey @werny,
I’ve just added this to the repository. It doesn’t do anything advanced, but is free!
April 5, 2019 at 5:25 pm #304407In reply to: 404 page after activation key
Venutius
ModeratorI guess the first thing to check is that you have a page configured to be the activation page. If you look in Settings>>BuddyPress>>Pages you can check there. You won’t be able to access the activation page while logged in, so log out and see if you can access the activate page manually, without the activation key. does that work?
April 5, 2019 at 5:04 pm #304405In reply to: Conversations appearing in incorrect groups
welsh10
Participant@venutitus
I found unchecking ‘Activity auto-refresh’ in Buddypress settings has temp fixed.
Still need to locate real issueApril 5, 2019 at 4:42 pm #304402Topic: Invitation code
in forum How-to & Troubleshootingwerny
ParticipantIs there a way to recognize registering users?
I want to track/recognize the users who sign up with buddypressExample:
I send an invitation code via email to a user (example http://www.mydomain.com/register/code=44444)
If the user signs up after a while, I can recognize him later (I know that this is this user).
Only me as admin should be able to see that info in his profile.Is that possible or is there a plugin for that?
April 5, 2019 at 6:52 am #304386joshthebeloved
Participant@Venutius I am using BuddyPress Legacy.
April 5, 2019 at 6:29 am #304384Venutius
ModeratorWhich BP Theme are you using ( Settings>>BuddyPress>>Options ) then I can be more accurate in my testing.
April 5, 2019 at 3:10 am #304380joshthebeloved
ParticipantHi @Venutius thank you for your reply.
I put the below code into wp-content/plugins/bp-custom.php. I also enabled the default WP 2016 theme, and tried disabling all my plugins except BP. The autocomplete is still not showing up when friends connection is disabled.
When I have friends connection enabled, the autocomplete works to show a list of Friends only.
I’m not sure why this is not working. Does the AUTOCOMPLETE_ALL still work in BuddyPress 4.2?
define( 'BP_MESSAGES_AUTOCOMPLETE_ALL', true );April 4, 2019 at 7:12 pm #304371In reply to: Change the message after “Complete Sign Up”
Ivan William Pfeifer
ParticipantWhen I run WPT Custom Mo File, it returns this error: “Sorry, this file type is not permitted for security reasons.”
I have performed the PoEdit process you described and uploaded the files to the directories I stated earlier. The message was unchanged.
Neither process as described in https://codex.buddypress.org/getting-started/customizing/customizing-labels-messages-and-urls/ seems to work.
More suggestions? Is there a php (or other) file I could edit?
April 4, 2019 at 6:25 pm #304368In reply to: Change the message after “Complete Sign Up”
Ivan William Pfeifer
ParticipantI (1) downloaded buddypress.pot; (2) made the changes to it using a text editor; (3) copied buddypress.pot to buddypress-en_US.po; (4) used poedit to create buddypress-en_US.mo; (5) copied all 3 files to /wp-content/languages/plugins/; (6) tested Register; (7) messages unchanged.
So I (1) copied all 3 files to /wp-content/plugins/buddypress/bp-languages/; (2) tested Register; (3) messages unchanged.
What did I do wrong?
April 4, 2019 at 5:17 pm #304363In reply to: Activity default tab
Venutius
ModeratorThat’s great! It took me a while to figure it out and it would have definitely been a downer if it didn’t work.
I also worked out how to combine all of the activity types onto one page here https://buddypress.org/support/topic/how-to-combine-activity-tabs-to-one/ it may also be of interest.
April 4, 2019 at 5:03 pm #304360In reply to: Activity default tab
Raval
Participant@Venutius unfortunately, nothing has changed.
Personal activities are still not available. I use Template Pack BuddyPress Legacy.
but I’m not attached to this. If it is necessary to change it, I will do itApril 4, 2019 at 3:58 pm #304359Venutius
ModeratorI think what you are asking for is that group activity should not be posted to the activity page.
group activities for public groups are automatically shown site-wide by default and I can’t see anyway to change this. The only option I could come up with, which is far from ideal is to delete the activity that is set sitewide and add it again with the setting change to hide sitewide:
add_action( 'bp_activity_add', 'bpex_hide_group_activity' ); function bpex_hide_group_activity( $r, $activity_id ) { if ( $r['component'] == buddypress()->groups->id ) { $group = groups_get_group( $r['item_id'] ); if ( isset( $group->status ) && 'public' == $group->status ) { bp_activity_delete( 'id' => $activity_id ); $r['hide_sitewide' => true; $new_id = bp_activity_add( $r ); } } }It’s not really ideal as any notifications that get sent based on the first activity will result in a not found error when clicked so you will probably want to improve the logic used to filter our specific activities and not all group activities as I’ve done here.
April 4, 2019 at 3:29 pm #304358In reply to: Please HELP : USER MANAGING
Venutius
ModeratorI’ve recently wrote a pluugin that allows you to devolve authority for each of the BuddyPress components to other roles. So a non admin could manage the extended profile information for all users. It’s called BP Devolved Authority. However if I understand you correctly then this may not be what you are looking for. I’m not aware of any other plugins that allow finer granularity of managing BP Users.
April 4, 2019 at 12:48 pm #304340Topic: List ALL user private messages
in forum How-to & Troubleshootingsigmund1410
ParticipantHello,
I’m an admin at a erotic website that uses buddypress. Due to the nature of the content, I would like to be able to display ALL user messages (not sent to me, but sent between other users) to check if they’re not using my website to distribute, for example illegal content via PM’s. Is this possible? I know I can go to desired user’s profile and click the messages tab, so as admin I can see his/her messages. But this is too cumbersome since i have 1000+ users.
I’ve been looking for a plugin, but no luck unfortunately.
Thanks in advance for all help.April 4, 2019 at 12:16 pm #304339In reply to: how to combine activity tabs to one
Venutius
ModeratorHi there,
My suggestion is that you add a new menu item “All” and create a new set of queries for the page then make that page the default landing page for the profile activity page. Here’s my code to do this:
function bpex_set_member_default_nav() { if ( ! bp_is_user_profile() && ! bp_is_user_activity() && ! bp_is_user() ) { return; } bp_core_new_nav_default( array( 'parent_slug' => buddypress()->activity->id, // other "activity" sub_nav slugs : personal favorites friends groups mentons 'subnav_slug' => 'all-activity', 'screen_function' => 'bp_activity_screen_all_activity' ) ); } add_action( 'bp_setup_nav', 'bpex_set_member_default_nav', 20 ); add_action( 'bp_setup_nav', 'bpex_just_me_tab', 50 ); add_action( 'bp_setup_admin_bar', 'bpex_admin_bar_add', 50 ); function bpex_just_me_tab() { if ( ! bp_is_user_profile() && ! bp_is_user_activity() && ! bp_is_user() ) { return; } global $bp; $user_id = bp_displayed_user_id(); bp_core_new_subnav_item( array( 'name' => _x( 'All', 'Profile activity screen sub nav', 'buddypress' ), 'slug' => 'all-activity', 'parent_url' => bp_core_get_user_domain( $user_id ) . 'activity/', 'parent_slug' => 'activity', 'screen_function' => 'bp_activity_screen_all_activity', 'position' => 10 ) ); } function bpex_admin_bar_add() { global $wp_admin_bar, $bp; if ( ! bp_use_wp_admin_bar() || defined( 'DOING_AJAX' ) ) { return false; } $user_id = get_current_user_id(); if ( ! $user_id || $user_id == 0 || ! is_numeric( $user_id ) ) { return; } // Personal. //$wp_admin_bar->remove_menu( 'my-account-activity-personal', 'my-account-activity' ); $wp_admin_bar->add_menu( array( 'parent' => 'my-account-activity', 'id' => 'my-account-activity-all-activity', 'title' => 'All', 'href' => bp_core_get_user_domain( $user_id ) . 'activity/all-activity/', 'position' => 10 ) ); } function bp_activity_screen_all_activity() { do_action( 'bp_activity_screen_all_activity' ); bp_core_load_template( apply_filters( 'bp_activity_template_all_activity', 'members/single/home' ) ); } function bp_activity_filter_all_activity_scope( $retval = array(), $filter = array() ) { // Determine the user_id. if ( ! empty( $filter['user_id'] ) ) { $user_id = $filter['user_id']; } else { $user_id = bp_displayed_user_id() ? bp_displayed_user_id() : bp_loggedin_user_id(); } // Should we show all items regardless of sitewide visibility? $show_hidden = array(); if ( ! empty( $user_id ) && $user_id !== bp_loggedin_user_id() ) { $show_hidden = array( 'column' => 'hide_sitewide', 'value' => 0 ); } // Determine groups of user. $groups = groups_get_user_groups( $user_id ); if ( empty( $groups['groups'] ) ) { $groups = array( 'groups' => 0 ); } // Determine the favorites. $favs = bp_activity_get_user_favorites( $user_id ); if ( empty( $favs ) ) { $favs = array( 0 ); } // Determine friends of user. $friends = friends_get_friend_user_ids( $user_id ); if ( empty( $friends ) ) { $friends = array( 0 ); } $retval = array( 'relation' => 'OR', array( 'relation' => 'AND', array( 'column' => 'user_id', 'compare' => 'IN', 'value' => (array) $friends ) ), array( 'relation' => 'AND', array( 'column' => 'component', 'value' => buddypress()->groups->id ), array( 'column' => 'item_id', 'compare' => 'IN', 'value' => (array) $groups['groups'] ) ), array( 'relation' => 'AND', array( 'column' => 'user_id', 'value' => $user_id ) ), array( 'relation' => 'AND', array( 'column' => 'id', 'compare' => 'IN', 'value' => (array) $favs ) ), array( 'relation' => 'AND', array( 'column' => 'content', 'compare' => 'LIKE', // Start search at @ symbol and stop search at closing tag delimiter. 'value' => '@' . bp_activity_get_user_mentionname( $user_id ) . '<' ) ), // We should only be able to view sitewide activity content for friends. array( 'column' => 'hide_sitewide', 'value' => 0 ), // Overrides. 'override' => array( 'filter' => array( 'user_id' => 0 ), 'show_hidden' => true ), ); return $retval; } add_filter( 'bp_activity_set_all-activity_scope_args', 'bp_activity_filter_all_activity_scope', 10, 2 );Once you have done that you would also want to overload the buddypress/bp-templates/your-template/members/single/activity.php to make sure this new page contains the post update form:
Change:
if ( is_user_logged_in() && bp_is_my_profile() && ( !bp_current_action() || bp_is_current_action( 'just-me' ) ) ) bp_get_template_part( 'activity/post-form' );To:
if ( is_user_logged_in() && bp_is_my_profile() && ( !bp_current_action() || bp_is_current_action( 'all-activity' ) ) ) bp_get_template_part( 'activity/post-form' );Note: with this method there is a danger of duplicating activity since a friend posting to a group would show up in the groups search as well as the friends search etc. so you may want to adjust the $retval criteria.
Also you might want to add a post form for visiting users so they can leave a comment for the user, you could ad this:
function bpex_load_mention_me() { if ( get_current_user_id() != bp_displayed_user_id() ) { $_GET['r'] = bp_activity_get_user_mentionname( bp_displayed_user_id() ); bp_get_template_part( 'activity/post-form' ); } } add_action( 'bp_before_member_body', 'bpex_load_mention_me' );April 4, 2019 at 10:40 am #304336Venutius
ModeratorIs this not regarding WordPress post comments on a WordPress custom post type? If so it’s nothing to do with BuddyPress.
April 4, 2019 at 8:02 am #304332joshthebeloved
ParticipantAnother helpful reference https://buddypress.trac.wordpress.org/ticket/2419
April 4, 2019 at 7:30 am #304326In reply to: Activity default tab
Venutius
ModeratorHey, it looks like I gave up just a tad early. I think I’ve got it working now:
function bpex_set_member_default_nav() { if ( ! bp_is_user_profile() && ! bp_is_user_activity() && ! bp_is_user() ) { return; } if ( bp_displayed_user_id() == get_current_user_id() ) { bp_core_new_nav_default( array( 'parent_slug' => buddypress()->activity->id, // other "activity" sub_nav slugs : personal favorites friends groups mentons 'subnav_slug' => 'friends', 'screen_function' => 'bp_activity_screen_friends' ) ); } } add_action( 'bp_setup_nav', 'bpex_set_member_default_nav', 20 ); add_action( 'bp_setup_nav', 'bpex_just_me_tab', 50 ); add_action( 'bp_setup_admin_bar', 'bpex_admin_bar_add', 50 ); function bpex_just_me_tab() { if ( ! bp_is_user_profile() && ! bp_is_user_activity() && ! bp_is_user() ) { return; } global $bp; $is_own_view = false; $user_id = bp_displayed_user_id(); if ( get_current_user_id() == $user_id ) $is_own_view = true; if ( $is_own_view ) { bp_core_remove_subnav_item( 'activity', 'just_me'); bp_core_new_subnav_item( array( 'name' => _x( 'Personal', 'Profile activity screen sub nav', 'buddypress' ), 'slug' => 'just-me', 'parent_url' => bp_core_get_user_domain( $user_id ) . 'activity/', 'parent_slug' => 'activity', 'screen_function' => 'bp_activity_screen_my_activity', 'position' => 10 ) ); } } function bpex_admin_bar_add() { global $wp_admin_bar, $bp; if ( ! bp_use_wp_admin_bar() || defined( 'DOING_AJAX' ) ) { return false; } $user_id = get_current_user_id(); if ( ! $user_id || $user_id == 0 || ! is_numeric( $user_id ) ) { return; } // Personal. $wp_admin_bar->remove_menu( 'my-account-activity-personal', 'my-account-activity' ); $wp_admin_bar->add_menu( array( 'parent' => 'my-account-activity', 'id' => 'my-account-activity-personal', 'title' => 'Personal', 'href' => bp_core_get_user_domain( $user_id ) . 'activity/180/', 'position' => 10 ) ); }Give it a try
April 4, 2019 at 6:50 am #304324In reply to: Activity default tab
Venutius
ModeratorCan you look in Settings>>BuddyPress>>Options and let me know which BP Theme you are using?
April 3, 2019 at 11:58 pm #304320Topic: Links broken from reviews to profile
in forum How-to & Troubleshootingjasminetudor
ParticipantI am using listify and buddypress. My urls from reviews are linking to the wrong url. For example for profile username alexandria.russ goes to: https://www.coursekarma.com/members/Alexandria.russ when the actual url is: https://www.coursekarma.com/members/alexandria-russ/ in buddypress. Does anyone know how to fix this? Thanks!
April 3, 2019 at 7:23 pm #304318In reply to: Creating groups
Venutius
ModeratorTheme’s don’t interfere with settings pages I’m afraid, You could try switching to the 2017 theme to test. Could you share a screenshot of the BuddyPress Settings page?, you should have four tabs, Components, Options, Pages and Credits. Do you have those?
-
AuthorSearch Results