Search Results for 'buddypress'
-
Search Results
-
WP version 4.9.2
BP version 2.9.2Hello everyone,
I have a very sad issue that I cannot solve. I spent something like 3 hours and nothing helped me.
I create a new tab on the profile page with “bp_core_new_nav_item” this way :function test_custom_tab() {
global $bp;
bp_core_new_nav_item( array(
‘name’ => __( ‘My recent Posts’, ‘buddypress’ ),
‘slug’ => ‘test’,
‘position’ => 100,
‘screen_function’ => ‘screen_test’,
‘show_for_displayed_user’ => true
) );
}
add_action(‘bp_setup_nav’, ‘test_custom_tab’, 1000);So at this step everything is OK. But now I want to associate a view to this tab. I do this way :
function screen_test () {
add_action( ‘bp_template_title’, ‘screen_test_title’ );
add_action( ‘bp_template_content’, ‘screen_test_content’ );
bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/test’ ) );
}
function screen_test_title() {
echo ‘My new Page Title’;
}
function screen_test_content() {
echo ‘My new Page Content’;
}After I create the “test.php” file into my plugin directory :
/plugins/my-plugin/templates/members/single/test.phpI registred my “templates” directory as a template directory for BuddyPress this way :
function bp_tol_register_template_location() {
return dirname( __FILE__ ) . ‘/templates/’;
}function bp_tol_start() {
if( function_exists( ‘bp_register_template_stack’ ) )
bp_register_template_stack( ‘bp_tol_register_template_location’ );
}
add_action(‘bp_init’, ‘bp_tol_start’);And the issue is that instead of displaying the content of the file “test.php” it’s displaying a list of member from I don’t know where it takes this page …
Please help me this issue is horrible
Hello,
Would it be possible to trigger a BuddyPress notification when a group’s details (name, description, or slug) are updated?
Currently an email is sent in bp-groups/bp-groups-notifications.php and I used the ‘bp_groups_sent_updated_email’ action to add a custom action that triggers a new BuddyPress notification. Is there a reason that this notification is not created by default?
Thanks,
James MHI,
I’m trying to filter the buddypress members in the list of members and display them in descending order of precedence on a numeric xprofile field (0 to 10).
Example of filter xprofile field “I search” = xprofile field “I am”I found the function that should work, but I can not do the query:
function my_bp_loop_querystring( $query_string, $object ) { if ( ! empty( $query_string ) ) { $query_string .= ‘&’; } // $query_string .= ‘per_page=2’; //works $jerecherche = xprofile_get_field_data(‘Je recherche’, $user_id, $multi_format = ‘comma’ ); $query_string .= ‘search_terms=true&per_page=2’; // does not work return $query_string; } add_action( ‘bp_legacy_theme_ajax_querystring’, ‘my_bp_loop_querystring’, 20, 2 );Hello,
I see a problem while browsing the activity thread in groups.
There is a lot of error 404 by clicking on the picture of a member to see his profile. Looking at the url, I see different paths. At given times I changed the page tree of the sites
1 / at the beginning: monsite.xyz/membres/toto/
b / then monsite.xyz/reseau/membres/toto/
c / and now monsite.xyz/reseau-social/membres/toto/So I have a mix of these 3 types of url. Some work, others do not.
I do not see any apparent logic!
I was in the tools / buddypress and I checked and then all the permalinks to try to “renormalize” with the last url but without success 🙁Hi, can Buddypress only allow user registration, which email addresses have been previously added in wordpress?
WP 4.9.1
BP 2.9.2I see the page content instead of the Activity Feed. I put some silly comment as a place holder when I first setup the site years ago and this is what I am currently seeing.
In Settings >> Buddypress >> Pages – My Activity Page is configured for a page named Community.
I have tried making a new page named Activity and assigning it instead of the Community Page but then all I get is a blank page (content is blank).
I have both visited and saved permalinks.
Both the Members and Groups pages are working.Any ideas of what could cause the page content to display instead of page content? Seems like some sort of permalink issue to me. Since the Permalink isnt caught by Buddypress and triggering the feed display.
I have installed WP Multi-site, followed the instructions listed here, for a network wide installation, but install in the root domain of site #4.
where my site id is 4, and the following code in the wp-config.php file in the primary domain
/*Buddypress*?
define ( ‘BP_ROOT_BLOG’, $4 );Then i go to subsite ID=4, based on the instruction listed here.
The BP menu does not appear in site #4 ? it only appears in site #1.
Did i miss something ? seems simple enough, but it didn’t work.
I found an issue of buddypress. When I edit and update comments(not post a comment) on a blog post , it converts characters such as “\” and “&” to html tags. How to fix it?
My WordPress version and Buddypress version are both the lateset. My theme is twentyseventeen。
detailed duplication steps:1. post a comment “\abc” below the blog post “Hellow World!”;
2.edit it: “\abcd”;
3.update the comment;
4.then you’ll get “abcd” with “\” disappearing.I am using buddypress for member registration in a website. In edit profile page, photo-upload section is not working. Can anyone please help me with this issue?
Topic: Activation Link is broken
Hello guys,
i just love buddypress, but right now i have problem.
When a user register he gets a aktivation email. In that is a link to my site which says like “click here and activate your account”.
If the user clicks on it the link has the problem that it says “https//www.mydomain…”.
So the problem is that the “:” in the “https://www.mydomain..” is missing. What can i do?
Can i just change the code somewhere in the ftp? Please help me guys 🙂Thank You!