Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 5,001 through 5,025 (of 94,540 total)
  • Author
    Search Results
  • #310021
    wodz82
    Participant

    Hi

    Does anyone know how to hide BuddyPress Activity subnemu?
    I want to hide ‘personal’, ‘mentions’, ‘favorites’, ‘friends’, ‘groups’ tabs and ‘everything’ selection option.

    so far I managed to hide ‘everything’ but I can’t hide ‘personal’, ‘mentions’, ‘favorites’, ‘friends’, ‘groups’ tabs.

    I used the following code:

    #buddypress #activity-filter-select {
    display: none !important;
    }

    Thank you in advance!

    WPbase.eu
    Participant

    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?

    #310017
    nergui9178
    Participant

    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

    shendeluth
    Participant

    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.

    #310013

    Good to know that your problem is solved using paid plugin but If someone faces same problem it’s easy to solve.

    If you didn’t know buddypress has list of shortcodes for almost everything. Find it here – https://codex.bbpress.org/features/shortcodes/

    For Account pages below shortcodes will be handy. You just need to create new pages and paste [shortcode] in your pages.

    [bbp-login] – Display the login screen.
    [bbp-register] – Display the register screen.
    [bbp-lost-pass] – Display the lost password screen.

    to set dynamic login pages follow below.

    1) From your admin dashboard goto settings > Buddypress.

    2) look for tab named Pages.

    3) Select your register and activate pages.

    @sydlyisaacs Youzer plugin will do the same but it gives you simpler interface to manage your pages.

    #310010
    naderi9
    Participant

    I use buddypress for registration but this page not loading correctly!

    ثبت نام

    #310000
    Bharat
    Participant

    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
    Chavod

    #309995
    scabbrox
    Participant

    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.

    Arunderan
    Participant

    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

    #309992
    shanebp
    Moderator

    Did you try deleting those shortcodes from those pages?
    Did you assign the Register page to BuddyPress?
    Please read this…

    BP does not handle a login page.
    There are many free WordPress plugins that handle customizing login screens.

    #309989
    #309972
    samtime
    Participant

    Is there any code in buddypress > notifications that we can copy over to bbpress > includes > extend > buddypress > notifications.php (or vice versa), to make bbPress notifications automatically dismiss like Private Message, Friend Request, and other BuddyPress notifications do?

    If it’s not that straight forward, then is there a way to disable this style off bbPress notifications being sent to BuddyPress?

    My users (and I) really love the notification feature, but just find it really time-consuming to have to dismiss these notifications manually.

    Appreciate any help / advice,
    Sam

    solgris
    Participant

    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 view

    I 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

    #309966
    Prashant Singh
    Participant

    Hi,

    Please check this: https://wordpress.stackexchange.com/questions/6664/how-to-auto-accept-a-friend-request-in-buddypress-based-on-user-meta

    Please remove the condition of is_user_expert and check after that. You should try this on the dev/staging version of your site and if it works for you then you can use it on your live site.

    For members addition in a group automatically, please check this one https://buddypress.org/support/topic/how-to-add-new-members-to-groups-automatically/

    Hope it will help you.

    #309959
    shanebp
    Moderator

    Nicename is not a BuddyPress field.
    It is a field in the WP users table.
    You need to use a WP function like:
    https://codex.wordpress.org/Function_Reference/get_userdata

    shanebp
    Moderator

    In wp-admin, go to Settings > BuddyPress > Pages and assign a page to Register.
    If you need to, create a blank page with the title ‘Register’.

    #309956

    In reply to: Spam via messages.

    jobcareercritic
    Participant

    i have a spam problem in my forums section and Wordfence, which i have installed, suggested my problem maybe this. their words:
    “You will need to ask the BuddyPress plugin authors for current best recommendations if they are recommending very outdated information on their support page to prevent spam registrations.”
    is this true and if so what is the solution? how do i stop this spam?

    #309954
    patilkavya
    Participant

    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.

    ricardo231190
    Participant

    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

    aronasoft
    Participant

    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.

    #309941
    Beardy
    Participant

    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?

    #309940
    andrewpiana
    Participant

    heavily requested features by BuddyPress users was the ability to add Repeater Fields or Repeater groups of fields dynamically to BuddyPress Profile, without having a predefined number
    Official Site

    #309936

    In reply to: BuddyPress 5.1.2

    yemajose
    Participant

    Hi,

    @imath I have this version of Buddypress installed and I keep getting this error message. “There was a problem cropping the group profile photo” when I try cropping/uploading group avatar image. Please help. Thanks

    kalianey
    Participant

    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' );
    #309932

    In reply to: Buddypress widgets!

    Carsten
    Participant

    Hi Renato.
    Thanks for replying. Sorry for not responding. Lets just say, that I have been elsewhere. 🙂 No luck with any plugin on wordpress.
    However, I found this snippet and it works very well. If you deactivate the Friends Connections in Buddypress. But I would really like to have this feature. So maybe you know someone. Who can locate the issue and fix it. That would be a great help.
    Best regards Carsten.

    //Widget Filter:
    —————————————————————————————————-
    class BP_Custom_User_Ids {

    private $custom_ids = array();

    public function __construct() {

    $this->custom_ids = $this->get_custom_ids();

    add_action( ‘bp_pre_user_query_construct’, array( $this, ‘custom_members_query’ ), 1, 1 );
    add_filter( ‘bp_get_total_member_count’, array( $this, ‘custom_members_count’ ), 1, 1 );

    }

    private function get_custom_ids() {
    global $wpdb;

    // figure out if the logged-in user is man or woman
    // CHANGE FIELD id “3” BELOW
    $gender = xprofile_get_field_data( 3, bp_loggedin_user_id() );

    if ( $gender == ‘Man’ )
    // CHANGE FIELD id “3” BELOW
    $query = “SELECT user_id FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = 3 AND value = ‘Woman'”;
    else
    // CHANGE FIELD id “3” BELOW
    $query = “SELECT user_id FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = 3 AND value = ‘Man'”;

    $custom_ids = $wpdb->get_col( $query );

    return $custom_ids;
    }

    function custom_members_query( $query_array ) {

    $query_array->query_vars[‘include’] = $this->custom_ids;

    }

    function custom_members_count ( $count ) {

    $new_count = count( $this->custom_ids );
    return $new_count;

    }
    }

    function custom_user_ids( ) {

    // Don’t do this for the admin
    if(!current_user_can(‘administrator’) ) {
    new BP_Custom_User_Ids ();
    }

    }

    // WORKS FOR DIRECTORY NOT WIDGETS
    // add_action( ‘bp_before_directory_members’, ‘custom_user_ids’ );

    // EITHER OF THESE WORKS FOR WIDGETS BUT NOT DIRESCTORY
    //add_action( ‘bp_pre_user_query’, ‘custom_user_ids’ );
    // add_action( ‘bp_pre_user_query_construct’, ‘custom_user_ids’ );
    add_action( ‘bp_pre_user_query’, ‘custom_user_ids’ );

    —————————————————————————————————-

Viewing 25 results - 5,001 through 5,025 (of 94,540 total)
Skip to toolbar