Has BuddyPress been tested on WordPress 4.5.x yet?
Thanks,
Don
Perhaps this can help you to go further.
For point 2, maybe this snippet can do the job. Give it a try ! Add it to bp-custom.php
function custom_display_xprofile_fields() {
// single field item
if ( $data = bp_get_profile_field_data( 'field=Industry' ) ) : // change field name to yours
echo '<div class="industry">'. xprofile_get_field_data( 'Industry', bp_displayed_user_id() ) .'</div>';
endif;
}
add_action( 'bp_after_profile_loop_content' , 'custom_display_xprofile_fields' );
Hi @subairtc,
see bp_activity_get_where_conditions filter in bp-activity-classes.php ~L. 418
Here a similar question with more details.
Also, maybe you can do something based on this snippet, with a different approach.
/**
* Change order of activities query string.
* @param string $query Query string.
* @return string $query Modified query string.
*/
function bpfr_filter_activity_default( $query ) {
if ( empty( $query ) && !empty( $_POST ) ) {
$query = 'order=ASC';
}
return $query;
}
add_filter( 'bp_ajax_querystring', 'bpfr_filter_activity_default', 999 );
Apologize if i’m wrong. 😉
BP recently added the BP Email API which uses its own methods.
You can place the code in bp-custom.php rather than your theme/functions.php
Try this in your theme/functions.php
add_action( 'bp_email', function( $email_type, $email_obj ) { $email_obj->set_from( "you@yoursite.com", "Your Site" ); }, 10, 2 );
See codex page.
Yes, they are all checked / enabled
BuddyPress -> Components & BuddyPress -> Settings
Can not add groups, not as Admin , Not as User. Neither can I as Admin via Admin panel Groups.
but i still can’t see the “create group tab appear next to invitation tab.
I have added the ‘include’ argument with ‘bp_has_activities’ function as
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&action=activity_update&include='.$sorted_ids ) ) : ?>
where the ‘$sorted_ids’ the comma separated activity id’s in sorted order. But unfortunatly the BuddyPress Core will sort the activities in ASC or DESC order.
I fount the Query used in core file ‘class-bp-activity-activity.php’ inside ‘plugins\buddypress\bp-activity\classes’ on line number : 585 as
// Query first for activity IDs.
$activity_ids_sql = "{$select_sql} {$from_sql} {$join_sql} {$where_sql} ORDER BY a.date_recorded {$sort}, a.id {$sort}";
and i have replaced it as
if($in)
$activity_ids_sql = "{$select_sql} {$from_sql} {$join_sql} {$where_sql} ORDER BY FIELD(id,$in)";
else
$activity_ids_sql = "{$select_sql} {$from_sql} {$join_sql} {$where_sql} ORDER BY a.date_recorded {$sort}, a.id {$sort}";
Now it’s working fine for me, But it’s not recommended to modify the core file
So please let me know if any one know the filter hook used for modifying the Query from the file itself.
google “buddypress portfolio” and you will find couple of options…
my bad…i got confused..i was talking about another user blog plugin for buddypress…so u need to ask sbrajesh then…
this has been asked many times on this forums….check the avatar related in the following article
Getting Started
install Query Monitor and Query Monitor bbPress & BuddyPress Conditionals this 2 plugins..figure out what is hogging your resources
Hi!
I almost satisfied with my website, however not completely.
I have the plugin BuddyBlog and many other. But buddyblog there allows users to blog on their profile. Like make blog posts.
That’s just great, however when making a post it won’t show on the activity stream. It doesn’t even mention that I’ve created a blog post.
It does on my user profile, but it just mentions it. Doesn’t show the full post or anything.
Just says, “-user name- created post – post name -”
Here is my questions:
Is it possible to make the blog posts show on the activity stream?
And is it possible to make the whole post shown?
Think like tumblr. Posts are shown on there, that’s how I want it.
Now, I’m not good with codes etc. so it would be so fantastic if I could avoid using it. Since I’m afraid that I will mess everything up.
But if I really need to use codes, then I must try.
Thanks!
Wordpress: 4.5.2
Buddypress: 2.5.2
Hi
The last couple of weeks I have been getting several 404 errors when working in admin and 500 and 508 errors. Today the site was unreachable. The hosting service TDM Hosting came back with the following:
As far as I can see the available resources for the account have been temporary allocated due to the constant processes running from the account on the server. It seems that the website is consuming more resources than the ones allowed for the shared hosting environment, as according to the resource usage you have reached the CPU and memory limits multiple times.
In order to completely resolve the issue we kindly advise you to consider reviewing your website and optimize it as much as possible, so it can start consuming less resources. Thank you in advance.
I have latest buddypress and WP installed with Kleo theme and quite a few plugins. How do i start to narrow down exactly what drains the resources. The # of visitors are not very high.
Any help/tips would be appreciated.
I have spent 20 hours on tech support to figure this out.
My host tech support at WP Engine went through and we tested every plugin and isolated that the capitalization appears only when buddypress plug in is activate.
As I wrote in my original post “I am using wp 4.5.2 and the ispirit 1.1.2 and it replicates with the
standard themes. It happens in safari, chrome and on iphone browser.”
When I stay standard themes I mean the three that come with the wp install.
We (wpengine and I) did redirects so that when the bp system generates the odd capitalization issue it redirects to the page with the caps.
Go here and watch it redirect http://www.championcollegeservices.com/register to http://www.championcollegeservices.com/Register
We did that redirect as a temporary solution so that people could at least sign on.
The bug needs to be found and fixed.
I,m am very sorry but… You did make those changes somehow, wordpress and buddypress only outputs lowercase slugs.
You are not typing internet adresses directly into your browser? Those links in your chase are generated by your theme? Did you try a different theme? Did you try to change the page slug?
Joost…do you see? We did not make those changes they just POODF! magically appeared thanks to buddypress. Nothing we did. It is a bug.
Well, what do you know: I just found a fix for my problem here:
https://buddypress.trac.wordpress.org/ticket/4824#comment:4
(I had seen that recent fix from @pareshradadiya previously, but hadn’t noticed that it was a recent update to a 3 year old thread. So, figuring it might actually be current and relevant, I gave it a try and it worked.)
any know how to add groups/forum function tab in buddypress to let users create their own groups /forum in their profile ?
Did you find a solution to this? We’re running into this on a clean install. I’ve seen a post about possibly a clean install, but making sure to enable “anyone can register” before installing BuddyPress, but was hoping to find a solution that didn’t require that (and no idea if it would fix it).
A little more info – When I enable the setting in bbpress to allow buddypress forums, I still don’t see any forum options on the front end when creating a new group (the option is only on the backend for groups)
I confirmed that the group creates a forum_id in database: value of a:1:{i:0;i:21901;}
And that forum 21901 exists in wp_posts
I also confirmed that the enable_forum value is set to 1 for the group ID in wp_bp_groups
Hello.
I made all the instructions contained in: https://codex.buddypress.org/emails/custom-emails/
But at the moment when the function add_action( 'wp_insert_comment','codex15766_comment_inserted', 99, 2 ); is activated, PHP throws error:
PHP Warning: Parameter 2 to {closure}() expected to be a reference, value given in /home/…/public_html/wp-includes/plugin.php on line 525
Thx for any tip.
I know this is a common topic and I’ve read through several threads regarding this issue, but my emails are still sending in plain text.
Per the emails codex page, I customized my own template in my child theme (single-bp-email.php), and when I go to Emails > Customize, my HTML template is visible.
I am testing the activate your account email; I also am using an SMTP plugin. Are there any steps I might have missed, or anything else I can do to troubleshoot the issue?