Hello,
I have problemas with the traduction of BuddyPress. The WordPress version is 4.2.2. and the buddypress is Versión 2.3.1. My web id idenergia.com/intranet.
Some words are traduced, but others don´t.
The problem is in the profile section, http://www.idenergia.com/intranet/members/elena/profile/, but the web is privated.
Activity -> is not traduced
Profile -> is not traduced
Notifications 0 -> is not traduced
Groups 1 -> is not traduced
Configuración -> is traduced
Thanks
Hi all,
i am looking for the script to place into the bp-default to enable ajax as i have just updated buddypress and the ajax stopped working only on the site wide activity page but works every where else on the website.
Any ideas why that’s still happening?
Yep ! Already asked and solved. 😉 Please read here:
https://buddypress.org/support/topic/warning-strstr-empty-needle/
BuddyPress has no forums. If you use bbPress, you can ask on their support.
Pease, don’t double post ! You already asked for this here:
https://buddypress.org/support/topic/sponsored-ads/#post-240508
I’m closing this topic as duplicate.
@mjurkowski
Oh okay, so since it’s working from your end, maybe you can help me. Any suggestions on what I can do or should do to get it to work on my end? I’m still running into the same issue of the users not being created, even while I’m still on the Twenty Fifteen theme with only the BuddyPress plug in (now at the 2.3.1 version), the bbPress plug in (now at the 2.5.7 version) and the W3 Total Cache (still at the 0.9.4.1 version) activated. Also, I went and checked the back end again from my hosting plan provider (as well as talked to a representative of my hosting plan service over the phone) and he noticed that there was actually a lot of errors listed for my sites link. The only thing is that the representative said all the other errors listed have been resolved because he doesn’t see any other error messages on those that are listed in the error log. The only one he still sees on there (and I just realized this as well) was this message:
PHP Warning: strstr(): Empty needle in /hermes/bosweb26d/b246/ipg.sjfgraphixcom/myloopnetwork/wp-content/plugins/buddypress/bp-core/bp-core-filters.php on line 781
Could this be the reason why the registration page is still not working? Because I never did any changes to that bp-core-filters.php file, I’ve only been working on the post pages and customizing my website theme that I wanted to use from before (which was the Magnus WordPress Theme). But as I was saying before, even though I’m still currently on the Twenty Fifteen theme, I’m still having issues. Please let me know what else I need to do to resolve this. My hosting plan server is iPage (which uses NGINX), running a 5.0 PHP version. I hope this additional information helps out.
Hi, I’ve found a simple way to change that Name field and the sync back to whatever you want it to be.
1. Make sure you have buddypress with extended profiles installed.
2. Create 3 field in the base section of Xprofile
For demo purpose we will name them :
First name
Last name
Nickname
*(you can name them differently but make sure you update the function accordingly)
3. Add that code to the function.php of your child theme.
// modified Xprofile sync.
function xprofile_sync_wp_profile2( $user_id = 0 ) {
// Bail if profile syncing is disabled
if ( bp_disable_profile_sync() ) {
return true;
}
if ( empty( $user_id ) ) {
$user_id = bp_loggedin_user_id();
}
if ( empty( $user_id ) ) {
return false;
}
// get first name
$firstname = xprofile_get_field_data('First name',$user_id );
// get last name
$lastname = xprofile_get_field_data('Last name',$user_id );
// get nickname
$nickname = xprofile_get_field_data('Nickname',$user_id );
// create fullname
$fullname = trim( $firstname . ' ' . $lastname );
bp_update_user_meta( $user_id, 'nickname', $nickname );
bp_update_user_meta( $user_id, 'first_name', $firstname );
bp_update_user_meta( $user_id, 'last_name', $lastname );
global $wpdb;
//you can modify that line to change the displayed name to something else than the nickname
$wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->users} SET display_name = %s WHERE ID = %d", $nickname, $user_id ) );
}
add_action( 'xprofile_updated_profile', 'xprofile_sync_wp_profile2' );
add_action( 'bp_core_signup_user', 'xprofile_sync_wp_profile2' );
add_action( 'bp_core_activated_user', 'xprofile_sync_wp_profile2' );
4. This script also change the display name to the nickname but you can modify it to whatever you want. just replace $nickname in the indicated line by $firstname, $lastname or $fullname
That’s it
I made some “progress”
I found this and I can agree that it is still true.
https://buddypress.trac.wordpress.org/ticket/5971
Filtering is inconsistent and sometime happens twice.
I think this should be something to look into somewhat soon.
Anyway here is the minimum you have to do to turn off html filtering.
BUT it makes you website a lot more vulnerable to attacks and errors so use it at your own risk.
Add this code to your child theme function.php
//Unfilter xprofile *risky*
remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_kses', 1 );
remove_filter( 'bp_get_the_profile_field_edit_value', 'wp_filter_kses', 1 );
remove_filter( 'xprofile_get_field_data', 'wp_filter_kses', 1 );
remove_filter( 'bp_xprofile_set_field_data_pre_validate', 'xprofile_filter_pre_validate_value_by_field_type', 10, 3 );
remove_filter( 'xprofile_data_value_before_save', 'xprofile_sanitize_data_value_before_save', 1, 4 );
Hi @richgraphicsstudio,
We need Groups and also Private Groups
I’d activate the Groups component.
Need to be able to upload face pictures
With BuddyPress, uploading profile photos is possible by default.
Hope this helps?
Hi Everyone,
I am new to BuddyPress. I am setting up a website that I want interaction from visitor like Facebook. We need Groups and also Private Groups. Need to be able to upload face pictures. Currently on the site there is basic BuddyPress action.
What are your suggestions for the best setup of this kind of forum?
Thanks,
Rich Newell
Rich Graphics Studio
Nah I dont think its the PHP ini setting. It is already increased and I have many php scripts that require far more resources than buddypress invitations and they are not having any troubles executing. It is the buddypress invitation script me think.
Hello @henrywright, was just trying to reach you for a follow up as to why my registration page is still not working, because I’m still running into the same issue of the users not being created, even while I’m still on the Twenty Fifteen theme with only the BuddyPress plug in (now at the 2.3.1 version) and the W3 Total Cache (still at the 0.9.4.1 version) activated. Also, I went and checked the backend from my hosting plan provider (as well as talked to a representative of my hosting plan service) and noticed that there was a lot of errors listed for my sites, including the myloopnetwork.com link). The representative I spoke to said that all the other errors listed have been resolved because he said he doesn’t see any other error messages on those that are listed in the error log. The only one he said he still sees on there (and I just realized this as well) was this message:
PHP Warning: strstr(): Empty needle in /hermes/bosweb26d/b246/ipg.sjfgraphixcom/myloopnetwork/wp-content/plugins/buddypress/bp-core/bp-core-filters.php on line 781
Could this be the reason why the registration page is still not working? Because I never did any changes to that bp-core-filters.php file, I’ve only been working on the post pages and customizing my website theme. Please let me know what else I need to do to resolve this. My hosting plan server is iPage (which uses NGINX), running a 5.0 PHP version. I hope this additional information helps out.
Whenever a user attempts to invite multiple email addresses (20+) with Buddypress Invitations, they get the following error:
Fatal error: Maximum execution time of 30 seconds exceeded in /wp-includes/wp-db.php on line 1746
I have tested this several times. If you send invites to only 15 or so addresses, it executes (although slow), but anything above that throws this error. Any suggestions please?
Hi All
can any one help me to solve this problem after user register buddypress send mail to active account in this massage have a link i need when user click link go to the site with out he write username or password “he login the site like any site”and if he can go to profile page direct.
There’s a ticket about this here:
https://buddypress.trac.wordpress.org/ticket/3789
View the comments in that ticket for some approaches that you can take. If you need some hooks in BuddyPress to make this happen, let us know by replying to that ticket. Login using the same credentials as you use here on buddypress.org.
You could also think about using Gravatar and disabling avatar uploads as well. It’s probably not a valid option for your site, but just making sure you know! 🙂
Hi @brianbws,
You’ll need to extend the BP_Attachment class with your own subclass. See the BP_Attachment article for more info.
I am using MH Themes Magazine and the Buddypress 2.3.1, Gravity forms Version 1.9.10.2.
The problem as I see it is that Buddypress is over riding the gravity form call. When I disable the BP plugin the GF form appears and functions just fine.
Is some “tick” box that I should have checked?
Hi
I’m new to BP (and amazed at how good it is and that I’ve not come across it before!), but very experienced in WP. I’ve a quick question relating to BP groups to which I likely know the answer. A user can create a public, private or hidden group by default. My Q is:
Is there a way, via the BP dashboard, of disabling/hiding the options for one or more group types? For instance, to prevent the user from creating a Hidden group.
From my Codex and web searching so far the answer would appear to be ‘no’, which is fair enough. The useful thread “Remove Hidden or Public type of group?” which describes using template overriding/overloading shows a quick and easy way to disable group types in code, but before implementing that I just want to make sure that there isn’t a GUI option. I always prefer to use simple non-code solutions if at all possible 🙂
Fred
Heya! I’m really looking forward to using BuddyPress for an upcoming project. However I am having trouble with one part. This is how I’ve installed BP.
1. I’m using WordPress and creating my own theme (not child theme).
2. I’ve installed the BP-plugin through the admin panel in WordPress.
3. I’ve assigned the specific sites to register, activate etc.
4. Problem
My problem is that the pages don’t show anything. I mean literally they don’t find anything to show. I’ve been scouring the web for some guidance on how to fix BP with a custom theme but I’ve come up with one solution only. That was to put the bp-template-pack files in my root folder (where I up until now had no BP files) and that makes it work. It displays all the flows, the user page, the register and so on.
But, however, I feel this is probably not how it’s supposed to work. As I can’t find any updated version of bp-template-pack, but one that is for BP 1.5 (and now it’s what, 2.3?)
Can anyone please help me understand how this works. I can obviously get it working up until I’ve assigned all the pages. After that I can’t manage to get the information to display under the links. Do I need to enable some sort of theme compatibility in functions? Is there a new bp-template-pack?
Sincerely, Sebastian
Hi Andreas, this question is solved but i use the KLEO theme.
solution that worked for me
thank you for your reply.
It seems this is in-progress. See 6057 for updates.
So Kleo support says Buddypress NEVER had notifications for comments or likes, only for private messages and friend requests. Is that true? Comments and likes are an important part of a social network and my client wants all of them to be fully functional, not only private messages and friend requests.
Update: I just tested again and I receive email notifications with Kleo activated as well. So it’s not a theme problem but a Buddypress one. Can you give me instructions on how to solve it? Thank you!
thanks @henrywright for the swift reply … i was struggling with where to place these files, not seeing updates and generally wondering what I had been doing wrong. Basically I had been replacing the messages of the .po files when generating the new .mo translations … instead one should simply add a preferred translation as the following article suggests (https://wpalchemists.com/2014/05/buddypress-translation-files/)
oh the woes of .po & .mo ‘s … hope this helps someone else though!