Search Results for 'buddypress'
-
Search Results
-
This URL stops working once I install BuddyPress.
(Latest version of WP/BP; non-bundled custom theme, using child theme.)
When adding a custom index & members-loop to /members/ in my child-theme, to make some adjustments to the members directory layout, individual profile pages break completely, I think defaulting to the pages.php but loaded without any content.
childtheme/members/members-loop.php
<?php //global $members_template; //$reset_members_template = $members_template; do_action( 'bp_before_members_loop' ); ?> <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) . '&per_page=21&type=alphabetical' ) ) : ?> <div id="pag-top" class="pagination"> <div class="pag-count" id="member-dir-count-top"><?php bp_members_pagination_count(); ?></div> <div class="pagination-links" id="member-dir-pag-top"><?php bp_members_pagination_links(); ?></div> </div> <?php do_action( 'bp_before_directory_members_list' ); ?> <ul id="members-list" class="item-list" role="main"> <?php while ( bp_members() ) : bp_the_member(); ?> <li> <div class="item-avatar"> <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar('type=full&width=80&height=80'); ?></a> </div> <div class="item"> <div class="item-title"><a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a></div> <div class="item-meta"><span class="activity"><?php bp_member_last_active(); ?></span></div> <?php do_action( 'bp_directory_members_item' ); ?> </div> <div class="action"> <?php do_action( 'bp_directory_members_actions' ); ?> </div> <div class="clear"></div> </li> <?php endwhile; ?> </ul> <?php do_action( 'bp_after_directory_members_list' ); ?> <?php bp_member_hidden_fields(); ?> <div id="pag-bottom" class="pagination"> <div class="pag-count" id="member-dir-count-bottom"><?php bp_members_pagination_count(); ?></div> <div class="pagination-links" id="member-dir-pag-bottom"><?php bp_members_pagination_links(); ?></div> </div> <?php else: ?> <div id="message" class="info"><p><?php _e( "Sorry, no members were found.", 'buddypress' ); ?></p></div> <?php endif; //$members_template = $reset_members_template; ?> <?php do_action( 'bp_after_members_loop' ); ?>childtheme/members/index.php
<?php /** * BuddyPress - Members Directory * * @package BuddyPress * @subpackage bp-default - SSSMG */ get_header( 'buddypress' ); ?> <?php do_action( 'bp_before_directory_members_page' ); ?> <div class="container"> <div class="row"> <div id="primary" class="col-md-10"> <div id="content" role="main" class="<?php do_action( 'content_class' ); ?>"> <div class="padder"> <div class="buddypress"> <?php do_action( 'bp_before_directory_members' ); ?> <form action="" method="post" id="members-directory-form" class="dir-form"> <?php do_action( 'bp_before_directory_members_content' ); ?> <div id="members-dir-search" class="dir-search" role="search"> <?php bp_directory_members_search_form(); ?> </div><!-- #members-dir-search --> <?php do_action( 'bp_before_directory_members_tabs' ); ?> <div class="item-list-tabs" role="navigation"> <ul> <li class="selected" id="members-all"><a href="<?php bp_members_directory_permalink(); ?>"><?php printf( __( 'All Members %s', 'buddypress' ), '<span>' . bp_core_get_total_member_count() . '</span>' ); ?></a></li> <?php if ( is_user_logged_in() && bp_is_active( 'friends' ) && bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?> <li id="members-personal"><a href="<?php echo bp_loggedin_user_domain() . bp_get_friends_slug() . '/my-friends/'; ?>"><?php printf( __( 'My Friends %s', 'buddypress' ), '<span>' . bp_get_total_friend_count( bp_loggedin_user_id() ) . '</span>' ); ?></a></li> <?php endif; ?> <?php do_action( 'bp_members_directory_member_types' ); ?> </ul> </div><!-- .item-list-tabs --> <div id="members-dir-list" class="members dir-list"> <?php //bp_get_template_part( 'members/members-loop' ); locate_template( array( 'members/members-loop.php' ), true ); ?> </div><!-- #members-dir-list --> <?php do_action( 'bp_directory_members_content' ); ?> <?php wp_nonce_field( 'directory_members', '_wpnonce-member-filter' ); ?> <?php do_action( 'bp_after_directory_members_content' ); ?> </form><!-- #members-directory-form --> <?php do_action( 'bp_after_directory_members' ); ?> </div><!-- #buddypress --> </div><!-- .padder --> </div><!-- #content --> </div><!-- primary --> <?php get_sidebar( 'buddypress' ); ?> </div><!-- row --> </div><!-- container --> <?php do_action( 'bp_after_directory_members_page' ); ?> <?php get_footer( 'buddypress' ); ?>bp-custom.php
<?php // bp-custom.php - BP hacks and mods will go here /** * Include bbPress 'topic' custom post type in WordPress' search results */ function ntwb_bbp_topic_cpt_search( $topic_search ) { $topic_search['exclude_from_search'] = false; return $topic_search; } add_filter( 'bbp_register_topic_post_type', 'ntwb_bbp_topic_cpt_search' ); /** * Include bbPress 'forum' custom post type in WordPress' search results */ function ntwb_bbp_forum_cpt_search( $forum_search ) { $forum_search['exclude_from_search'] = false; return $forum_search; } add_filter( 'bbp_register_forum_post_type', 'ntwb_bbp_forum_cpt_search' ); /** * Include bbPress 'reply' custom post type in WordPress' search results */ function ntwb_bbp_reply_cpt_search( $reply_search ) { $reply_search['exclude_from_search'] = false; return $reply_search; } add_filter( 'bbp_register_reply_post_type', 'ntwb_bbp_reply_cpt_search' ); /** * Ensure that multiselect boxes have trailing brackets in their 'id' and 'name' attributes. * * These brackets are required for an array of values to be sent in the POST * request. Previously, bp_get_the_profile_field_input_name() contained the * necessary logic, but since BP 2.0 that logic has been moved into * BP_XProfile_Field_Type_Multiselectbox. Since bp-default does not use the * BP_XProfile_Field_Type classes to build its markup, it did not inherit * the brackets from their new location. Thus this workaround. */ function bp_dtheme_add_brackets_to_multiselectbox_attributes( $name ) { global $field; if ( 'multiselectbox' === $field->type ) { $name .= '[]'; } return $name; } add_filter( 'bp_get_the_profile_field_input_name', 'bp_dtheme_add_brackets_to_multiselectbox_attributes' ); // add the custom column headers to BP manage signups function philopress_modify_user_columns($column_headers) { $column_headers['extended'] = 'Extended'; return $column_headers; } add_action('manage_users_page_bp-signups_columns','philopress_modify_user_columns'); // dump all the pending user's meta data in the custom column function philopress_signup_custom_column( $str, $column_name, $signup_object ) { if ( $column_name == 'extended' ) return print_r( $signup_object->meta, true ); return $str; } add_filter( 'bp_members_signup_custom_column', 'philopress_signup_custom_column', 1, 3 ); //* Redirect WordPress Logout to Home Page add_action('wp_logout',create_function('','wp_redirect(home_url());exit();')); //add @mentions to bbpress forum function custom_bbpress_maybe_load_mentions_scripts( $retval = false ) { if ( function_exists( 'bbpress' ) && is_bbpress() ) { $retval = true; } return $retval; } add_filter( 'bp_activity_maybe_load_mentions_scripts', 'custom_bbpress_maybe_load_mentions_scripts' ); function bphelp_dpioml(){ $bphelp_my_profile_field_1='Profession'; $bphelp_my_profile_field_2='Primary Institution'; if( is_user_logged_in() && bp_is_members_component() ) { ?> <div class="bph_xprofile_fields"> <?php if(bphelp_my_profile_field_1<>"") echo bp_member_profile_data( 'field='.$bphelp_my_profile_field_1 ); ?><br /> <?php if(bphelp_my_profile_field_2<>"") echo bp_member_profile_data( 'field='.$bphelp_my_profile_field_2 ); ?><br /> </div><?php } } add_action('bp_directory_members_item', 'bphelp_dpioml'); ?>I’ve tried all sorts of different combinations but whatever I do, the only way to get both the profile pages and the members directory to display is to remove the index and members-loop customizations. Then everything works fine, but without the adjustments to the members directory that I want (removing recent updates, for instance). Any pointers would be brilliant!
Hi Team…I was very excited with BP features and tried to install on my WP local site with theme “Superfine” which is compatible for BP..After installation all BP pages shows blank when i open individually by clicking view on page edit.I don’t see any contents on that….On top of that when i go to loged in user top tool bar and click on activity or member pages all end up with 404 error…As per the document from support i had add .htacess file on WP root file directory with full permission and change the perma link from plain to /%postname%..Still no luck..When i change perma link all my other web pages which was working fine with /index.php started to show 404 error along with other BP pages.I had also changed httpd/config to “Allow all”…I m totally confused and spend almost five days to trouble shoot ..still no luck…I had also changed the theme with 2015 and tried some basic theme still result is same…I thought it might be BP latest version compatibility with my theme..So i downloaded old version (2.5) ,that also doesn’t help …Also i tried by disabling all other plugin ..still no luck…Some other community plug-in similar to BP (ultimate member,mingle) also tried and that works fine..Still i m very eager to use BP i don’t want to give up.Pls help me to be part of buddypress community.
Theme link –
Compatible With WPML, BuddyPress 2.5.x, BuddyPress 2.4.x, BuddyPress 2.3.x, BuddyPress 2.2.x, BuddyPress 2.1.x, BuddyPress 2.0.x,
Hi guys,
I am wondering, whether someone will be able to help.
I donโt like to have two name fields in my registration page ( “username” from wordpress and “name” from buddypress ) – see https://codex.buddypress.org/getting-started/guides/modifying-the-registration-form/, but unfortunately both names are used throughout the site so I canโt really delete any of them either. The only solution I was thinking about would be to add a code to functions to make both input fields to match upon registration โ something similar to a confirm email field code I found here http://vibethemes.com/documentation/wplms/knowledge-base/add-confirm-email-field-in-register-page/
I have tried to play with a code, but itโs like reading Chinese for me.
Any ideas?
Thanks!
Hi guys,
In the process of building a new site, looking to incorporate BuddyPress functionality.
When I go to a page where BuddyPress functionality is supposed to appear (for instance my members page: https://www.forfitness.com/community/), nothing is appearing.
I’m assuming it has something to do with an element of our custom theme, as the BuddyPress items appear with the default WP theme. I’ve ruled out plugins after turning each on and off and testing.
Would really appreciate some insight as to where to start looking for this issue. I’ve used BuddyPress in the past but definitely a novice. Any help would be great ๐
I know I’m missing something easy here but cannot find it…
People only join my site through a Woocommerce order. Once they are joined they can request to join Private groups in BuddyPress. It looks like when someone signs up the billing_first_name and billing_last_name from Woo copy to the “Name” field in WP, but only the billing_first_name goes to the “Name” field in the BuddyPress Extended Profile.
How can I get the BP Extended Profile name to use first and last name and match WP and Woo?
Thanks,
AndrewHi there!
Im using LMS theme made by designthemes: https://themeforest.net/item/lms-learning-management-system-education-lms-wordpress-theme/7867581
My website: lawpreneur.net
Latest version wordpress 4.6.
I have spend my day why my buddypress isnt showing a registration page. The theme processes buddypress slightly different than the normal themes. They ask you to make an login®istration page with a login-template. With that being done, the registration form doesnt show op.
So i tried some of the solutions here:
– reinstalling
– unplugging every plugin
– putting up the set up as asked for by buddypress (member pages, registration pages etc.) and linking them in the buddpress-option menu.I am getting kind of desperate here, because I have run out of option.
Thank you for repying
Topic: show random profile
Hi, i m a new buddypress user ๐
I need a page that shows a random profile.
Maybe i need use bp_the_site_member_random_profile_data()
but how? if i try to paste it in my page but i have Fatal error: Call to undefined function bp_the_site_member_link()
thanks!!Hello, i have few questions
1)-I want synchronize PMP membership package with User members type of buddypress
2)-I want synchronize PMP register with User register of buddypress
3)-Your plugin have a login page but it go in wp-login page and let user access to wordpress back-up, i need a front end login page
4)-I bought wp job manager with buddy press job manager it create 2 members types (employer and candidate)
In buddypress Profile, it create job manager and resume manager tab, for Candidate how i can remove the job manager tab and for employer how i can remove the resume manager tab?5) i can’t manage member type because buddypress job manager create member type without the buddypress member type plugin, when i install the buddypress member type plugin, it don’t fit with the member type of buddypress job manager.
6) How can i shaw in one page only the list of employer member and in one other page the liste of candidate member in buddypress member ?
http://workistcompagnie.agthiantservices.com
Thanks