Put it in the functions file for whatever theme you are using.
Hi
Is this method still valid?
If yes, should I put the function in the theme’s function.php in boorpress or wordpress theme?
Thanks
Can anyone recommend a market place or a directory of programmers – or an individual perhaps – who might be prepared to help me improve the BuddyPress forum I’m running? My small group is willing to pay an hourly fee for occasional help.
We are generally satisfied with the way BuddyPress works out of the box, and we’re not interested in all the bells and whistles provided by paid-for themes like BuddyBoss. We’d just like to change a few of things BuddyPress provides, and above all try to understand the basics.
We are not interested in learning to code – that’s not what we want to use BuddyPress for. I’m our member with most knowledge of WordPress and I feel I’ve reached the end of what I can do on my own. I’m looking for help, but we can’t pay big bucks, so is there somewhere BuddyPress coders market their skills to help people in our situation?
Thanks for your advice.
Here’s our website: pensaroundtheworld.com
We use Siteground as our hosting service and the current WP installation with a child version of thee Sinatra theme.
John
I am trying to get this to work but it gives an error on the } on the 6th line. If I leave it no users show up, if I remove it then nothing seems to have changed at all. I’m running WOffice Intranet theme. @shanebp any clue?
I’m trying to change the excerpt length for the activity feed. And I can’t figure out why it’s been so difficult.
For example, I’ve used the following code:
function buddydev_modify_excerpt_length( $length ) {
$length = 1225;
return $length;
}
add_filter('bp_activity_excerpt_length', 'buddydev_modify_excerpt_length' );
I even went into bp-core/bp-core-template.php for a hard-coded solution:
function bp_create_excerpt( $text, $length = 1225, $options = array() ) {
Still it doesn’t change my excerpt length. I then thought it might be the theme I’m using (Buddyboss) and went poking around but couldn’t find anything; although maybe there is something and I didn’t look well enough.
Otherwise, could it have anything to do with the activity feed posts in question being added post types (woocommerce product pages) via the guide by Mathieu Viet:
Post Types Activities
Anyone else have similar issue or know what it might be?
Hey there,
I am a complete newbie to wordpress and BuddyPress, not able to write code. I did install BuddyPress, as well as Youzify on a OceanWP theme.
So far everything works, but BuddyPress did not create pages for the profile of the user. I did create a new Page for the user profile but BuddyPress doesn’t automatically put the user profile on that page. How can i change that?
Thanks for answers
Just following up on this previous query. We had dialogue with Mediapress which we use too. They’ve replied outlining the query though ultimately lies in BuddyPress settings. See below fore reference:
https://wordpress.org/support/topic/edit-go-to-the-discussion-url/#post-14570858
Is it possible to re-look at this and advise how the URL structure is edited in BuddyPress please? I guess looking for a solution to drop into functions.php or elsewhere in child theme. Thanks.
To determine if it is a theme issue, switch momentarily to a WP theme, like 2020.
So that isn’t the problem because all the other changes in that file work perfectly. Maybe is this a problem in the theme?
If the files are not in the correct location in the child theme, then they will not be loaded.
Hello Everyone, I’m trying to install the plugin but wanted to find out first if the plugin will be compatible with my theme because the theme already has a membership package module already built in. I am only trying the add some community based features to the theme.
Need Help, And Thanks in Advance
Regards: Zaina
Ref: https://ludokingforpc.com/
@dcavins I use Youzify & Buddy App theme.
I tried changing to a WP theme and everything worked fine.
In this case, the parent theme does contain BP templates and I modified those files but is possible that everything else changes without any issue and only the comment button fails if the files aren’t in the right child theme folders for BP?
Some parent themes include BP templates.
If your theme does, then copy that file.
Otherwise, to determine if it is a theme issue, switch momentarily to a WP like 2019.
also – makes sure your child theme folders for BP are correct.
For those, not able to see the Invitation content inside profile, this is my scenario.
I was overwriting home.php file inside my child theme so i was missing the following :
elseif ( bp_is_user_members_invitations() ) {
$template = ‘invitations’;
}
and the invitations.php was never triggered.
I m sharing in case someone thinks initially ,as i did, that the problem is much more complex!
Best regards,
George
But by theme is Buddyboss which is by Buddypress.
@kvnandula04 that’s a more theme-specific question, check with your theme support
If you mean after logging in, put this in your theme’s functions.php
function carol_redirect_to_profile( $redirect_to_calculated, $redirect_url_specified, $user ) {
if ( ! $user || is_wp_error( $user ) ) {
return $redirect_to_calculated;
}
if ( empty( $redirect_to_calculated ) ) {
$redirect_to_calculated = site_url();
}
if ( function_exists( 'bp_core_get_user_domain' ) && ! is_super_admin( $user->ID ) ) {
$url = bp_core_get_user_domain( $user->ID );
return $url . 'groups/';
}
return $redirect_to_calculated;
}
add_filter( 'login_redirect', 'carol_redirect_to_profile', 100, 3 );
guys here is my : Website
I am not getting create group button in groups page I have spent too much time fixing problem but no solution came 🙁 also I have used default theme and I know we can create group by editing url but how user will get to know? it is quite bad thing 🙁 pls help me out! I hope there is a fast response
Hi thanks – I cant paste a link to screenshot link – trying plain text;
I checked again. Here’s what I get (see Last name text field)..
https://www.101christianchat.com/wp-content/uploads/2021/06/set-to-Only-Me-but-seen-by-Everyone.png
(sorry – pastebin takes a while to open)
It may be my theme but Im sending just in case
Buddypress changed old user profile link. So is that possible to user have 2 profile. One for buddypress and other for own profile url. Because i have doctor healthcare related theme and in which user profile available using author_link filter.
But buddypress also used author_link filter for user profile.
So i want both url. one for own profile and one for buddypress profile.
I have user profile link (old user link) : site_url/pharmacy/sunsona/
And need buddypress profile link : site_url/members/sunsona/
But when i active buddypress old user profile link not worked.
Please give me some idea.
Buddypress changed old user profile link. So is that possible to user have 2 profile. One for buddypress and other for own profile url. Because i have doctor healthcare related theme and in which user profile available using author_link filter.
But buddypress also used author_link filter for user profile.
So i want both url. one for own profile and one for buddypress profile.
I have user profile link : site_url/pharmacy/sunsona/
And need buddypress profile link : site_url/members/sunsona/
But when i active buddypress old user profile link not worked.
Please give me some idea.
Thanks – then it may be the theme I’m using. I’ll check again…
Hi! When trying to update the activity entries, I’m having an issue each time I change the file in the child theme (even copying the exact original file), the comment button stop working. Please can someone help me identify what is happening?