Update! ok ive been that frustrated with this i have just been over to the buddyboss demo theme and logged in as test user to see if it was happening there to, and guess what? same problem!
Now i think i am either going mad or this feature was never in buddypress and only hides more than 5 comments on the first page of activity updates? i could of swore it used to work for me after clicking load more? am i going mad or what guys? any feedback will be appreciated, and if indeed this is normal behaviour for buddypress then all i can ask is why?
surely something like this should of been adressed ages ago, i know you guys have been working on the speed and queries etc which is outstanding work 🙂 but what about all these little details that need adressing? there is no such plugin to help with this issue, and surely it would be great to also have collapsable and expanding comments so you can collapse them again?
the commenting system is very awkward if there is alot of people commenting.
who really likes to scroll through a couple of hundred comments on one post if its not interesting to them? does anyone have a fix for this in any form? @henrywright do you have any takes on this pal?
Further to @bphelp’s suggestion, keep an eye on this ticket which aims to have this available in core by v2.2
https://buddypress.trac.wordpress.org/ticket/4988
Hi
“The NAME field in BuddyPress is intended to receive first and last name and replace the two original fields (first name, last name) coming with WordPress.”
Does this mean that If I remove the first name and last name fields from ‘profile fields’ then that should fix the issue?
Thanks
Hi all, been a while since ive been around , i had to move house etc so i havent used buddypress or wordpress since buddypress 1.9 and wordpress 3.8.
The problem is ive just installed a fresh wordpress 4.0 and buddypress latest 2.03 on a fresh database, testing it using the default twenty twelve theme, and no other plugins.
The problem is with the hiding of activity comments, it does what it allways has done shows 5 comments then if anymore comments are added it puts the show all comments link that it is supposed to do, this also works fine and shows the hidden comments when its clicked.
However this works fine until you scroll down your page to view older posts and click the load more tab at the bottom. upon clicking it and scrolling down further to a post that has more than 5 comments they all remain visible instead of hidden? so say if there are 100 replies you have to scroll past them all? any ideas as to why this maybe happening?
I have tested this on 5 different wordpress installs now with nothing more than wordpress/buddypress/twenty twelve theme/twenty thirteen and twenty fourteen themes, with fresh databases and no other plugins on each site :/
you will find other action hook in bp-legacy/buddypress/groups/single/group-header.php
In order of appearance:
do_action( 'bp_before_group_header' );
do_action( 'bp_after_group_menu_admins' );
do_action( 'bp_before_group_menu_mods' );
do_action( 'bp_after_group_menu_mods' );
do_action( 'bp_before_group_header_meta' );
do_action( 'bp_group_header_actions' );
do_action( 'bp_group_header_meta' );
do_action( 'bp_after_group_header' );
do_action( 'template_notices' );
Hi @tightflks
You can use get_avatar() instead of the BuddyPress function bp_core_fetch_avatar(). See: https://codex.wordpress.org/Function_Reference/get_avatar
I like users giving good advice, objective point of view and constructive critics.
This support has over 5 years archives. If you’re willing to remove all snippets apply to older versions, which only operate today you’re welcome !
Answer to your question is here:
https://buddypress.org/support/topic/redirect-after-join-group/#post-187260
Thank you!
As for child theme, i followed instructions from the BB codex “Building a Child Theme of the BP Default Theme”. I uploaded the buddypress-child theme folder into wp-content/themes/, created style.css with the following lines
/*
Theme Name: BuddyPress Child
Author: Iryna
Author URI: http://example.org/
Template: bp-default
Tags: buddypress, two-column, grey, dark
*/
but when i go to appearance>themes>it shows me this message:
“Broken Themes
The following themes are installed but incomplete. Themes must have a stylesheet and a template.
Name Description
BuddyPress Child The parent theme is missing. Please install the “bp-default” parent theme.”
What am I doing wrong?
Hi I just updated the buddypress plugin, it seems that now when I try to upload an image into the media I get a HTTP error. Is there a fix for this?
good evening,
I am setting up BP for a group of users that are part of a directory of which some items are not intended to appear on the site.
I must therefore follow any profile edition made ​​in BP (eg amend the contact email address) to re-type it in the phonebook file (distinct).
I’m inquiring whether it is possible to inform administrators in case of edited profile :
eg Dupont is changing of ISP and his address moves from dupont@free.fr to dupont@gmail.com: Changing the profile in BP should sends an email to admin (or possibly appears in monitoring the activity).
Excuse possible naivety of the question: I am discovering Buddypress. Maybe there is there already an answer but I have not managed to find it by searching a few hours.
thank you so
(and excuse my googlfrenchenglish 🙂 )
Xtof
Thanks @shanebp
Attaching mixpanel analytics to buddypress activity on an active site is wildly entertaining.
I’m trying to figure out how to isolate “Viewed Single Message”, since the user is redirected to the single-message view after they send the initial message.
Right now composing a message fire both the “Sent message” and “Viewed message” events.
In BP is there a way to capture whether a user is viewing a message vs. simply being redirected to their message? I was thinking of just checking for POST data.. would need to work with the ajaxy replies as well.
To export my extended profile data I run BP_Xprofile_ProfileData::get_all_for_user for each user. Since version 2.0 of Buddypress came out I notice this has gotten much slower. I assume it’s because this data gets cached now. While I see that caching is great for every day use, it would be nice to disable it for specific queries. Could you please add an optional parameter to get_all_for_user to tell it not to cache the data?
I wrote a quick script to do some timings, and on my old development computer if I run get_all_for_user for 5000 users with the old version 1.9.2 it takes 1.7 seconds, while with version 2.0.3 it takes 148.7 seconds, and uses a lot more memory as well (507 MB with the new version versus 41 MB with the old).
About the BuddyPress NAME field.
Cannot able to see the funtioning of home page after installing latest buddypress version with wordpress 4.0.
After installing the buddypresss my site is asking me to change ”
Permalink structure” . After changing this my site’s home is not working. Instead of this “groups page” in buddypress is working.
What should i do now?
Somone Please help me to solve this main issue….
Thanks in advance.
Hi again julia
Those buttons on the left are actually the buttons that normally appear directly under te activity post/update box.
To gt them there I adjusted the index.php inside the activity folder of buddypress.
that page is here:
plugins -> buddypress -> bp-templates -> bp-legacy -> buddypress -> activity -> index.php
On around line 15 starts <div class=”item-list-tabs no-ajax” id=”subnav” role=”navigation”>
I copied that whole div and moved it above the div called buddypress around line 3.
Then I gave it a new ID (left-nav) and did some css adjustments to that div.
#left-nav {
position:fixed;
left:20px;
top:70px;
clear:both;
width:18%;
}
And then a bit of styling to the list output of buddypress.
there is a bit more to it but that should get you in the right direction.
But I will make a more understandable tut tonight.
This is quite intense templating and hope you get it sorted the way you like it.
And you do need the BBP activity to be the static homepage for this to work.
I do like that theme you use a lot and you made it a very crisp forum/website, I hope the buddypress templates keep your layout like it is.
P.H.
Ah, any chance you could make me a temporary account so I can have a look?
The membership wall I have no experience with, I will have a look to see if this can have the same functions as the buddypress wall.
Yes, you should make javascript validations for it.
Other option is not advisable, to make change in plugin’s core file, but if you won’t update buddypress then as in buddypress Version 2.0.2, in file /plugins/buddypress/bp-members/bp-members-screens.php you can make little change on line number 118.
That is, there is checking for required fields in line number 118, just make it
empty( trim( $_POST[‘field_’ . $field_id] ) )
instead of
empty( $_POST[‘field_’ . $field_id] )
How we can don’t show certain member roles in the Member widget from BuddyPress? We use the following code for the member overview page, that’s working, but not for the widget.
`/*-----------------------------------------------------------------------------------*/
/* Buddypres don't show roles
/*-----------------------------------------------------------------------------------*/
function get_user_ids_by_role($role){
$users=array();
$founded_users = get_users( array( 'role' => $role ) );
if(!empty($founded_users)){
foreach((array)$founded_users as $user)
$users[]=$user->ID;
}
return $users;
}
function exclude_by_role( $exclude_roles, $implode = true ) {
$memberArray = array();
foreach ( $exclude_roles as $exclude_role ) {
$memberArray = array_merge($memberArray, get_user_ids_by_role($exclude_role) );
}
if( !$implode )
return $memberArray;
$theExcludeString = implode( ",", $memberArray );
return $theExcludeString;
}
add_action('bp_ajax_querystring','bp_exclude_byroles',20, 2);
function bp_exclude_byroles($qs=false,$object=false){
if($object!='members') //hide for members only
return $qs;
$args = wp_parse_args($qs);
//check if we are searching for friends list etc?, do not exclude in this case
if(!empty($args['user_id']))
return $qs;
$excluded_roles = array( 'administrator','employer' ); // you can add roles here
$exclude = exclude_by_role( $excluded_roles );
if(!empty($args['exclude']))
$args['exclude']=$args['exclude'].','.$exclude;
else
$args['exclude'] = $exclude;
$qs = build_query($args);
return $qs;
}
'
btw, I made a small mistake, do not make a page called buddypress but a folder called buddypress.
Hi Julia_B
To alter the templates for activity you need to do the following:
Create a page called buddypress in your root folder.
Inside the buddypress folder you create another folder called activity and in there another folder called single.
Now you need to access your existing plugins folder.
Open buddypress -> bp-templates -> bp-legacy -> buddypress
Here you will find 5 folders, one is activity, inside this are some php files and a folder called single, inside this single folder is the index.php file that runs the activity.
I copied all 5 folders to my new buddypress folder in my root and all the files in those folders, with them able to control/change the buddypress layout as I would with a child theme.
To have an activity wall on homepage you only need to customize the appearance of wordpress in the admin area/backend.
Go to “appearances” then “customize”, here you can change “front page” to activity and it should work.
Good luck
verify that you have pretty permalinks enabled and activate/deactivate/re activate (and save)
Allow registered members to delete their own accounts in BP settings
Apparently you didn’t understand my post correctly. I said I was planning on reinstalling BuddyPress, not installing it. Your help is not useful, because you didn’t understand my post correctly.
@whiteeagle1985
You should always backup your database before introducing any plugin. BuddyPress has never caused me any 404’s unless you have forgotten to associate the BuddyPress pages correctly please review: https://codex.buddypress.org/getting-started/configure-components/