thanks @venutius in media post with rtmedia 4.5.6
when i give comment in any media activity by rtmedia. the comment bocome activity post with comment. otherwise others buddypress post not do this. after deactivation of the plugin rtmedia, this complain absent. so i think this problem arise by the plugin rtmedia 4.5.6
Hi there, Just tried commenting on an activity item with WP 5.2 and it’s working fine at this end. I suggest you first rule out any other plugin issues by deactivating all of your plugins apart from BuddyPress and try it again. What version of PHP is your site using?
Hi all,
I have Buddypress groups with 2 different group types, and I’m looking to make some customizations to the group nav.
Specifically, I want to hide the “Members” nav item on specific group types, but display it on others.
Is there a function that will alow for this?
Cheers,
-David
@prashantvatsh I’m having a similar problem and would appreciate a little clarity on your suggestion.
- Which email are you talking about when you say to disable the activation email?
- How do I auto-login them on registration?
- Where/how do I set it so that they’re redirected to the proper place to activate their account? (You mentioned the Users screen and you mentioned their BuddyPress profile. For either, which specific page do I list and where do I list it?)
Thank you!
Hello guys so i want a pop up that shows usernames with i press @, i found this plugin that works but when i click the name that i want on the editor, it doesn’t let me space up between the name and the text, i have the skip the link for me to type.
This is the codes in the plugin.
<?php
/*
Plugin Name: bbp Mentions Suggest
Plugin URI: http://www.rewweb.co.uk/mentions_suggest
Description: Adds the Buddypress mentions suggest as you type to bbpress topics and replies
Version: 1.3
Author: Robin Wilson
Author URI: http://www.rewweb.co.uk
License: GPL2
*/
/* Copyright 2018 PLUGIN_AUTHOR_NAME (email : wilsonrobine@btinternet.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
add_action( 'wp_enqueue_scripts', 'bms_enqueue_submit' );
function bms_enqueue_submit() {
$path = plugins_url('bbp-mentions-suggest/js/forum.js') ;
//loaded dependent on the buddypress bp-mentions being loaded
wp_enqueue_script( 'bms_enqueue_submit',$path, array( 'bp-mentions' ));
}
add_filter( 'bp_activity_maybe_load_mentions_scripts', 'bms_enable_mentions_in_group_forum_textareas' );
/**
* Enable at-mention autocomplete on BuddyPress group forum textareas.
*/
function bms_enable_mentions_in_group_forum_textareas( $retval ) {
$bbpress = false;
// Group forum reply.
if ( bp_is_group() && 'topic' === bp_action_variable() && bp_action_variable( 1 ) ) {
$bbpress = true;
}
// Group forum topic.
if ( bp_is_group() && bp_is_current_action( 'forum' ) ) {
$bbpress = true;
}
// Do stuff when on a group forum page.
if ( is_bbpress() ) {
$retval = true;
}
return $retval;
}
JS
jQuery(document).ready(function($) {
/* necessary to get @ mentions working in the tinyMCE on the forums */
window.onload = function() {
my_timing = setInterval(function(){myTimer();},1000);
function myTimer() {
if (typeof window.tinyMCE !== 'undefined' && window.tinyMCE.activeEditor !== null && typeof window.tinyMCE.activeEditor !== 'undefined') {
$( window.tinyMCE.activeEditor.contentDocument.activeElement )
.atwho( 'setIframe', $( '.wp-editor-wrap iframe' )[0] )
.bp_mentions( bp.mentions.users );
window.clearInterval(my_timing);
}
}
myTimer();
};
})
HELP please
I did not realize you would have to buy Eduma to test this. I would think that WordPress would have a program where plug-in developers have access to some kind of test accounts or something, where they can quickly spin up a site with specific themes or plugins, specifically for this type of issue.
Regardless, the people at Eduma went ahead and did the debugging for me. Here is the response I got from Huyen last night…
Dear jbonifacejr,
I’m so sorry.
I tried to deactivated all plugins on your site to check it.
And BuddyPress plugin is the reason why this issue came.
Best regards,
Huyen Anh
I have deactivated all plugin except buddypress. switched to Twenty Nineteen version 1.4 then created new user name “Oliver Jake” you can see that new user on this page http://dev.masum-billah.com/members/ but if you set “New Members” filter on this activity page http://dev.masum-billah.com/activity/ nothing showing up just one message “Sorry, there was no activity found. Please try a different filter.”
So it’s the activity not posting that’s the issue not the filters. I think in the first instance I’d deactivate all other plugins, switch to a default theme such as 2017 and add another user, see if that shows up in activity. I’d also check if you’ve set up any filters for the activity loop that might exclude that content.
For new posts and comments you’d need to check that site tracking was enabled in the BuddyPress Component settings.
> … then why would BuddyPress not be the issue?
I’m saying that it is unlikely – not impossible.
Remember that plugins usually include hooks that other code or plugins or themes can use to inject code, behaviours etc.
So BP may be the issue. Or the issue may only manifest with BP.
As I said, I’ve never seen this issue before.
I’m not going to buy the Eduma theme so I can test with it.
You are not my customer. You are a person having an issue with an open source codebase.
I am a volunteer and curious about your issue and willing to make suggestions about narrowing down the cause in the hope of clearing identifying a bug.
Since you do not want to proceed, I wish you all the best with your project.
Are you using Akismet or some other spam blocking plugin? Also Topics are forums related, BuddyPress does not include forums, for those you’d be better off asking on that plugins forums.
I have used this code here:
https://codex.buddypress.org/developer/loops-reference/the-members-loop/
and I want to filter users by certain criteria. The example for the bp-custom page is:
function my_custom_ids( $field_name, $field_value = '' ) {
if ( empty( $field_name ) )
return '';
global $wpdb;
$field_id = xprofile_get_field_id_from_name( $field_name );
if ( !empty( $field_id ) )
$query = "SELECT user_id FROM " . $wpdb->prefix . "bp_xprofile_data WHERE field_id = " . $field_id;
else
return '';
if ( $field_value != '' )
$query .= " AND value LIKE '%" . $field_value . "%'";
/*
LIKE is slow. If you're sure the value has not been serialized, you can do this:
$query .= " AND value = '" . $field_value . "'";
*/
$custom_ids = $wpdb->get_col( $query );
if ( !empty( $custom_ids ) ) {
// convert the array to a csv string
$custom_ids_str = 'include=' . implode(",", $custom_ids);
return $custom_ids_str;
}
else
return '';
}
Example Usage: Get all members who have filled out the xprofile field ‘dogs’ and selected the value ‘poodles’.
<?php if ( bp_has_members( my_custom_ids( 'dogs', 'poodles' ) ) ) : ?>
How do I add more conditions to the dogs/poodles. What If I also want ‘birds’, ‘parrot’ as well as ‘dogs’, ‘poodles’ ?
If I de-activate BuddyPress, then everything is fine. If this is the case, then why would BuddyPress not be the issue? If it is your determination that BuddyPress is having an issue with some other plug-in, then why would you be asking me, your customer, to debug this for you. I would think that you would want to spin up a quick test site, apply the Eduma theme, and then debug the issue from your end.
I’ll just leave this and not worry about it. If other customers run into the same problem, or if that problem starts to spread into other areas, then maybe enough angry customers will draw the attention to get this fixed. I’m not going to debug this for you.
also – have you tried disabling BP Email ?
Emails will then be sent via the WP Email code.
Bizarre… I’ve never seen a similar report.
You’ll need to take some big swings at this.
Try deactivating everything but BuddyPress and use a WP theme like 2019.
Then start activating plugins one at a time and testing for the issue.
After deactivating BuddyPress, the issue goes away. When I activate BuddyPress, the issue returns.
It is very highly unlikely that the issue stems from BuddyPress.
BuddyPress does not touch comments on posts in wp-admin.
We are trying to help you narrow down possible causes.
Did you try deactivating BuddyPress and then test for the issue again?
Also, I don’t see how that URL can’t be found. I’m sitting on it right this second and here is the lower part of the text…
Please try again and please follow these repro steps…
Log into the site /wp-admin using the credentials I provided to you
Go to the LearnPress menu item
Click on Lessons – NOT Courses…Lessons (as I put it in the original issue)
Click on Download and Install the Eclipse IDE
Scroll down to the Add comment button and click the button
Now try to add a comment
I just did it again and it is broken
The same issue will happen if you try
Download and install the Java JRE or any other lesson
May 13, 2019 at 2:32 PM #437118REPLY
Huyen Anh
Keymaster
Dear jbonifacejr,
I’m checking it.
Best regards,
Huyen Anh
May 14, 2019 at 1:54 PM #437684REPLY
Huyen Anh
Keymaster
Dear jbonifacejr,
We checked and the reason is due to BuddyPress plugin.
With this, please contact with the main author of BuddyPress plugin. Hope they can help you solve this issue.
Best regards,
Huyen Anh
May 14, 2019 at 8:07 PM #437869REPLY
jbonifacejr
Participant
Can you be a little more specific as to what the problem is, so that when I reach out to them, I can provide them some guidance? What did you discover when you looked that makes you think it is BuddyPress?
I have already opened a ticket with Eduma and they investigated and told me the issue is with BuddyPress. I have reached out to them to get clarification on exactly what they learned, but while I am waiting for a reply, I would go on the assumption that they have investigated and they may be correct. Here is the thread with them…
https://thimpress.com/forums/topic/adding-comments-in-admin-mode-writes-the-comments-in-reverse/
You can clearly see that they have told me that BuddyPress is the issue.
Thank you for the suggestion. Here is what I did, as well as the results.
All of the current extended profile fields were data being synced using the NADI add-on. I created a new text field to test with in the Base (Primary) field group and configured it the same: Required, “Only Me” visibility and Enforce field visibility selected. I edited an existing user profile, added some text to this new field and saved the profile.
I viewed the profile as an admin and could see both fields – the original and the new test field – that should be hidden. All good there. I switched to a subscriber account and reloaded the profile and both the original and new test fields no longer displayed.
This leads me to think there is an issue with the process of adding data to the extended BuddyPress profile fields using a sync process that somehow ignores the Field Visibility element, but that is corrected when the profile is manually updated.
Regarding PHPMyAdmin, this site is installed on an internal company server and, as such, I don’t have PHPMyAdmin or any similar tool at my disposal to be able to easily look in on the database tables, unfortunately. But knowing which table has this data in it will be helpful as I work with my IT support on any further analysis/diagnosis.
In the extended profile fields, I’ve created a field that automatically pulls in data using the process described further below. This field is required and is located in the Base (Primary) group of profile fields.
The issue I’ve run into is that I’ve configured the field to be visible to “Only Me” and have selected the option to Enforce field visibility, but when I look at the public-facing profile page, this field is still visible to any other logged in user, regardless of role. (I have confirmed this by logging in with a subscriber level account and viewing the profile page.)
The profile fields data import process:
I am using the NADI plugin (https://active-directory-wp.com/) to automatically create and sync users and user data from company Active Directory database. This plugin has an add-on tool that will subsequently sync selected data from the user WordPress profile over to the BuddyPress profile.
Troubleshooting steps I’ve already completed:
1. I’ve deactivated all plugins other than BuddyPress; the “Only Me” profile is still visible on the public-facing user profile page for any logged in user. It doesn’t appear to be caused by a plugin conflict.
2. I’ve changed to a default WordPress bundled theme; again, the “Only Me” profile is still visible on the public-facing user profile page for any logged in user. It doesn’t appear to be caused by a theme conflict.
WP Version: 5.2
BP Version: 4.3.0
NADI Plugin Version: 2.1.9 (Up to date)
NADI Add-on Version: 1.0.4 (Up to date)
I hope I’ve provided enough information. I’m struggling to determine why this profile field that should only be visible to the person who is logged in and no else is visible to every user. I also hope someone here might have a suggestion or recommendation for what I might try next.
Thanks.
I used to be able to find themes for Buddypress quick and easy. Now I’m having trouble finding anything. Where can I find a decent, free theme?
Thank you!
Those icons are not part of BuddyPress, afaik.
They are part of your theme or some other plugin.
Find out where they are coming from and either replace them on your own or discuss it with the icon creators.
my website http://www.mdpathy.com i use wordpress 5.2 Buddypress 4.3.0
after update wordpress in 5.2 the buddypress activity comment make new activity post.
what can i do.