Search Results for 'buddypress'
-
Search Results
-
Hi there, I would like to have custom members-loop in buddypress.
I want show users what have media (mediapress), have avatar and have not xprofile field “name” empty.
I have this in my members-loop.php
<?php while ( bp_members() ) : bp_the_member(); $mp = new MPP_Media_Query(['user_id' => bp_get_member_user_id()]); // mediapress media $user_id = esc_attr( bp_get_member_user_id() ); // user id $has_avatar = bp_get_user_meta( $user_id, '_has_avatar', true ); // have user avatar $_name = xprofile_get_field_data( 'Jméno' , bp_get_member_user_id() ); // have user xprofile field "name" if (!$mp->have_media() || empty($has_avatar) || empty($_name)) {continue;}?>this code working BUT – pagination is broken. On first page i see only 1 user, on second page i see 3 users etc…
Is there correct way?
Hello, team. I have one problem. could you help me to fix it? at the last time, i was working on gami press and buddypress plug in. i did some settings on it. after that, at my home page. asking ACTIVATE YOUR ACCOUNT and asking ACTIVATION KEY. but i never receive ACTIVATION KEY CODE. why it ask me activation key? how to fix it? could you help me? also i could’t access to my website using my admin access. my website is blocked due to this activation key. I don’t know what is activation key? Pls asap help me.
Thanks
Hello,
i need to add Members-grid page with filters and all things into buddypress tabs.
To do it I’m using INCLUDEME plugin to add php file like shortcode. My code is this one:
/* MEMBERS GRID SECTION */
add_action(‘bp_setup_nav’, ‘mb_bp_profile_menu_posts’, 301 );
function mb_bp_profile_menu_posts() {
global $bp;bp_core_new_nav_item(
array(
‘name’ => ‘Members Grid’,
‘slug’ => ‘members_grid’,
‘position’ => 1,
‘default_subnav_slug’ => ‘published’, // We add this submenu item below
‘screen_function’ => ‘mb_manage_members_grid’
)
);
}function mb_manage_members_grid(){
add_action( ‘bp_template_content’, ‘mb_show_members_grid’ );
bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/plugins’ ) );
}function mb_show_members_grid() {
echo do_shortcode(‘[includeme file=”‘.MEMBERSGRIDFILE.'”]’);
}where MEMBERSGRIDFILE is path of index.php file of member-loop.php into /plugins/buddypress/bp-templates/bp-legacy/buddypress/members.
I can show all ok but pagesnumber links or link to search not working … But If i open links into external tab o page they working fine. I don’t understand. Console error is:
admin-ajax: Failed to load resource: the server responded with a status of 400 ()
If I use this shortcode into a normal wordpress page it’s working ok so this error is about buddypress integration.
Some help?
Thank you.
I use buddypress for registration but this page not loading correctly!
Hello Buddybpress team
I want to create custom short code for buddypress registration from and i have follow below thing .
1) plugin -> bp-custom.php file in I’ve add copy register.php file code and create short code using same register page code but when i place that shortcode other pages not working .Is there any solution for that ?
Here my code :
function buddy_register_short(){
global $wpdb,$bp;?>
<div class=”bs-bp-container-reg custom-register-section”>
<div id=”buddypress” class=”buddypress-wrap extended-default-reg”>
<div id=”register-page”class=”page register-page”>
<form action=”” name=”signup_form” id=”signup_form” class=”standard-form” method=”post” enctype=”multipart/form-data”>
<div class=”register-section” id=”basic-details-section”><?php /***** Basic Account Details ******/ ?>
<div class=”form-group”>
<label for=”signup_username”><?php _e( ‘Username’, ‘buddypress’ ); ?> <?php _e( ‘(required)’, ‘buddypress’ ); ?></label>
<?php/**
* Fires and displays any member registration username errors.
*
* @since 1.1.0
*/
do_action( ‘bp_signup_username_errors’ ); ?>
<input type=”text” name=”signup_username” id=”signup_username” value=”<?php bp_signup_username_value(); ?>” <?php bp_form_field_attributes( ‘username’ ); ?>/>
</div><div class=”form-group”>
<label for=”signup_email”><?php _e( ‘Email Address’, ‘buddypress’ ); ?> <?php _e( ‘(required)’, ‘buddypress’ ); ?></label>
<?php/**
* Fires and displays any member registration email errors.
*
* @since 1.1.0
*/
do_action( ‘bp_signup_email_errors’ ); ?>
<input type=”email” name=”signup_email” id=”signup_email” value=”<?php bp_signup_email_value(); ?>” <?php bp_form_field_attributes( ’email’ ); ?>/>
</div><div class=”form-group”>
<label for=”signup_password”><?php _e( ‘Choose a Password’, ‘buddypress’ ); ?> <?php _e( ‘(required)’, ‘buddypress’ ); ?></label>
<?php/**
* Fires and displays any member registration password errors.
*
* @since 1.1.0
*/
do_action( ‘bp_signup_password_errors’ ); ?>
<input type=”password” name=”signup_password” id=”signup_password” value=”” class=”password-entry” <?php bp_form_field_attributes( ‘password’ ); ?>/>
<div id=”pass-strength-result”></div>
</div><div class=”form-group”>
<label for=”signup_password_confirm”><?php _e( ‘Confirm Password’, ‘buddypress’ ); ?> <?php _e( ‘(required)’, ‘buddypress’ ); ?></label>
<?php/**
* Fires and displays any member registration password confirmation errors.
*
* @since 1.1.0
*/
do_action( ‘bp_signup_password_confirm_errors’ ); ?>
<input type=”password” name=”signup_password_confirm” id=”signup_password_confirm” value=”” class=”password-entry-confirm” <?php bp_form_field_attributes( ‘password’ ); ?>/>
</div><?php
/**
* Fires and displays any extra member registration details fields.
*
* @since 1.9.0
*/
do_action( ‘bp_account_details_fields’ ); ?></div><!– #basic-details-section –>
<?php/**
* Fires after the display of member registration account details fields.
*
* @since 1.1.0
*/
do_action( ‘bp_after_account_details_fields’ ); ?><?php
/**
* BuddyPress – Members
*
* @package BuddyPress
* @subpackage bp-legacy
* @version 3.0.0
*//**
* Fires before the display of the registration submit buttons.
*
* @since 1.1.0
*/
do_action( ‘bp_before_registration_submit_buttons’ ); ?><div class=”submit text-right”>
<input type=”submit” class=”btn-primary” name=”signup_submit” id=”signup_submit” value=”<?php esc_attr_e( ‘Complete Sign Up’, ‘buddypress’ ); ?>” />
</div><?php
/**
* Fires after the display of the registration submit buttons.
*
* @since 1.1.0
*/
do_action( ‘bp_after_registration_submit_buttons’ ); ?><?php wp_nonce_field( ‘bp_new_signup’ ); ?>
</form>
</div>
</div>
</div>
<?php
}
add_shortcode( ‘buddypress_register’, ‘buddy_register_short’);?>
Thanks
ChavodTopic: Notifications not clearing
Hi there
I’ve been using Buddypress with Bbpress for the last two years on site that is based on the Godlike (NK) theme.
All plugins and themes are updated to their latest versions and I’m running Buddypress 5.1.2.
Since an update a few week ago the Notification feature of Buddpress (the blue number bubble in the admin bar) is no longer working as it used to.
I used to be able to mouse over the bubble, and click the reply link underneath and it would take me to the topic that the reply had been posted in and automatically clear the notification. When you had visited each of the links the bubble disappeared and all was clear.
Alternatively you could click the blue bubble and it would take you to your Buddypress progile notifications and you could check from there or simply mark them either in bulk or individually for clearing.
Now, the former method does not clear the notifications even after visiting the topics, they simply stay as if unread and the bubble does not go way.
Similarly going to the profile does not allow you to bulk select the notifications anymore, they all need to be ticked individually and then bulk cleared. Also if you have a site notification banner present there it can’t be cleared at all.
As I said this started happening with the most recent update and I’m at a loss to understand what I can do about it other than turn the notification module off.
Hi,
I’m having a few dozen database error entries in the apache log every day. First i thought the WP Cerber plugin could be the trouble maker. Since this entries are all connected with failed login attempts with wrong user names. Most probably Spambots. But the WP Cerber developer told me that this is a Buddypress issue. See this issue: https://wordpress.org/support/topic/wordpress-database-error-you-have-an-error-in-your-sql-syntax-5/#post-12366843
So i kindly ask for support here.
Such a log looks usually like this. A few attempts from always the same non existing user name before it gets locked by WP Cerber:
WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘WHERE active = 0 AND user_login = ‘AveryZem’ ORDER BY signup_id DESC LIMIT 0, 1′ at line 1 for query SELECT * FROM WHERE active = 0 AND user_login = ‘AveryZem’ ORDER BY signup_id DESC LIMIT 0, 1 made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, {closure}, cerber_wp_login_page, require(‘wp-login.php’), wp_signon, wp_authenticate, apply_filters(‘authenticate’), WP_Hook->apply_filters, bp_core_signup_disable_inactive, BP_Signup::get, referer: https://bforartists.de/bfa-login/
The page is unfortunately already productive. So i cannot turn off addons wildly anymore.
Could you please help me to get rid of this errors please? ????
Kind regards
Arunderan
Hi –
I used to have Ultimate Member, and there are pages that were auto-created with Ultimate Member such as a Login, Logout, and Register page. Those pages had the shortcode for the Ultimate Member forms.
My issue now that I am trying to switch to BuddyPress is that these pages are just showing [UltimateMember shortcode….] whatever it says. I don’t know how to create a Register or Login page through BuddyPress.
Please help! My site is http://www.over-booked.com. Right now I have the Ultimate Member plugin re-installed so I could have the login and register pages working…so if you see that they’re working that’s why. I want to have them created through BuddyPress.
Thank you.
Hi there, I’m having trouble with getting BP running. This are my stats:
+ WordPress 5.0.8
+ BuddyPress Version 5.1.2
+ Custom Template made by myself from scratch so I have no idea on what WP tags call the BP functions into display
+ I DONT use “the_content()” WP tag on the index because I load my content with the Ajax Load More plugin
+ I DO use “the_content()” WP tag on both -pages- and -single- post viewI would like to use the “members” BP on my current page template, must I do a hierarchical overload so that buddypress pulls a special template but only for the “members” BP page? because I mean, currently all pages pull the WP hierarchy php “page” files, but members dont seem to appear, maybe I’m lacking a special hierarcy BP “page” file so that BP recognizes it and displays the members table?
I would also like to use the BP profile on a “single post” template, like when someone presses a “view profile” link then user gets redirected to the profile page with the activity posts of that person, sort of like in facebook the profile page yo know? do I need to create a special php on the BP hierarchy logic so that it can display the profile (cover image, profile pic, extended profile data, posts-activity) inside the WP single page hierarcy template?
what WP fuction is it that BP uses to display its content? I guess its not “the_content()” right? because I do use that tag but nothing displays…
I hope I can get some support, I’ll make my best to explain myself if I wasnt being clear enough
Hi,
Is it possible to extract each employee created data via Buddypress cron Job into email format automatically? The goal is to save a copy of each of these types of items – Posts / Comments / Articles / Likes and push everything into a journaled mailbox.
Is it possible to set up a cron job to run once a day??
As this matter is urgent, I look forward to hearing from you as soon as possible.
Thank you.
Hello guys,
First of all I’m new to wordpress and can’t code yet so I use plugins and themes. I’m having trouble after deleting the Ultimate member plugin because now I can’t register users at all (it used to work before). I now just want to add members with the regular buddypress but BP asks me in which page the users are “registering” and that page does not exist I think… How can I make the users register without using any plugins apart from BP (user registration is enabled in Settings > General). I just want the normal registration with BP to work (so I can add the profile) and can’t seem to make it work. I have to make a “registering” page or something? How can I do that without plugins?
Thank you in advance
WP version is 5.3.2, BP version is 5.1.2 and page is http://www.languageslearningclub.com
I need you to build a system where we can verify the license of each dental professional and we are using https://data.wa.gov/Health/Health-Care-Provider-Credential-Data/qxh8-f4bd) API to verify license.
We are getting three fields from API i.e license No, Licence Type and Licence status and we would like the same information displayed on their Buddypress profile page.
Topic: Featured images not working
Hi
I have a clean installation of Buddypress and WordPress (only) with Twenty Twelve theme.
When a user publishes a (standard non-cpt) post and selects an featured image, the image does not appear in the activity feed.
It does however, appear if I go back to the post, make an edit and then save again. If I do this, and refresh the activity the page, the featured image appears.
Is there a fix or something I need to configure so that the feed shows the featured image once the post is published the first time?
Hello, I found this code to add a link to the buddypress profile to the main menu, I would like to know if it is possible to modify it a little to point to mysite.com/membres/#username#/activity instead?
// Filter wp_nav_menu() to add profile link function my_nav_menu_profile_link($menu) { if (!is_user_logged_in()) return $menu; else $profilelink = '<li><a href="' . bp_loggedin_user_domain( '/' ) . '">' . __('PROFIL') . '</a></li>'; $menu = $menu . $profilelink; return $menu; } add_filter( 'wp_nav_menu_items', 'my_nav_menu_profile_link' );