Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 12,726 through 12,750 (of 94,561 total)
  • Author
    Search Results
  • sixthgalaxy
    Participant

    I want to load a BuddyPress member file template in a plugin. Can you please let me know the right API that I can use to do this job. For example, I want to load members-loop.php file.

    Should I use bp_get_template_part or locate_template or anything else?

    Thank you.

    #261479

    In reply to: bbp-register layout

    Venutius
    Moderator

    The basic layout of the items on the right side of the registration screen can be affected by moving the fields around in Dashboard>>User>>Profile Fields.

    You can drag and drop them and that will affect the order that they are displayed.

    An alternative might be to install BP Better Registration, which creates a different type of registration process.

    You might benefit from visiting my website http://buddyuser.com It’s aimed at newbies looking to get the most out of BuddyPress.

    #261477
    ggf7tcm
    Participant

    Running WordPress 4.6.1
    Running BuddyPress 2.7.2

    I have inherited the site byoguild.com

    I am having trouble editing the pages in it. I am not sure of how to edit the [bbp-register] element.

    View post on imgur.com


    That is the register page

    View post on imgur.com


    That is how it looks.

    I have found in the database the names of the races in the drop down box but have yet to find somewhere where it has the actual pagelayout

    Any help would be greatly appreciated

    #261460
    Henry Wright
    Moderator

    @venutius is right; a .mo file is the way to go. Check out this article which should help get you started:

    Customizing Labels, Messages, and URLs

    #261459
    dev grl
    Participant

    Isn’t there a file or js script that calls for changing the activate page title? I just need to be able to drag that into my child theme buddypress folder and edit it or at least use css to hide that title from appearing once a user submits the form, you know?

    #261453
    Slava Abakumov
    Moderator

    Please take a minute to read this post: https://codex.buddypress.org/themes/bp-custom-php/
    Short answer: /wp-content/plugins/bp-custom.php

    #261451
    dev grl
    Participant

    Ok so it goes in the plugins folder alone? Not in the buddypress folder?

    #261450
    shanebp
    Moderator

    Place it in bp-custom.php
    Then it won’t matter which theme you use.

    #261447
    shanebp
    Moderator
    #261446
    shanebp
    Moderator

    Use this filter hook: apply_filters( 'bp_members_signup_custom_column', '', $column_name, $signup_object );
    Found at the bottom of: buddypress\bp-members\classes\class-bp-members-list-table.php

    code – GIST

    #261444
    Venutius
    Moderator
    #261442
    Slava Abakumov
    Moderator
    dev grl
    Participant

    Hi my title on the page after a user registers still says ‘check your email to activate your account’, which I want to change to something else and could not find out where in the templates to do so. I was originally looking in the activate.php file. It’s for the page’s entry title.

    #261437
    dev grl
    Participant

    Hi I have form fields that a user must fill out when registering for their buddypress account and then they pend my approval. I cannot view those fields on the backend anywhere however without activating their account first. Is there a workaround? Also, how come my email notifying them that they have been activated is not going through to them, but they get the pending approval email when they sign up?

    #261433

    In reply to: members not showing

    Venutius
    Moderator

    You need to look into setting up a template overload of the files that create those pages:

    Theme Compatibility & Template Files

    I’ve not used visual composer, only siteorigin so far, with site origin you create a grid of columns and rows and you can insert any widget into any Page Builder block

    #261430

    Topic: cover image not show

    in forum Ideas
    emilia015
    Participant

    Hi, I’m trying to show cover image in activity

    here code original

    // Register the Cover Image feature for Users profiles
    function bp_default_register_feature() {
        /**
         * You can choose to register it for Members and / or Groups by including (or not) 
         * the corresponding components in your feature's settings. In this example, we
         * chose to register it for both components.
         */
        $components = array( 'groups', 'xprofile');
     
        // Define the feature's settings
        $cover_image_settings = array(
            'name'     => 'cover_image', // feature name
            'settings' => array(
                'components'   => $components,
                'width'        => 940,
                'height'       => 225,
                'callback'     => 'bp_default_cover_image',
                'theme_handle' => 'bp-default-main',
            ),
        );
     
     
        // Register the feature for your theme according to the defined settings.
        bp_set_theme_compat_feature( bp_get_theme_compat_id(), $cover_image_settings );
    }
    add_action( 'bp_after_setup_theme', 'bp_default_register_feature' );

    here my code

    /**
     * Your theme callback function
     *
     * <a class="bp-suggestions-mention" href="https://buddypress.org/members/see/" rel="nofollow">@see</a> bp_legacy_theme_cover_image() to discover the one used by BP Legacy
     */
    function your_theme_cover_image_callback( $params = array() ) {
        if ( empty( $params ) ) {
            return;
        }
     
        return '
            /* Cover image - Do not forget this part */
            #buddypress #header-cover-image {
                height: ' . $params["height"] . 'px;
                background-image: url(' . $params['cover_image'] . ');
            }
        ';
    }
    add_filter( 'bp_before_xprofile_cover_image_settings_parse_args', 'your_theme_cover_image_css', 10, 1 );
    add_filter( 'bp_before_groups_cover_image_settings_parse_args', 'your_theme_cover_image_css', 10, 1 );
    add_filter( 'bp_before_members_cover_image_settings_parse_args', 'your_theme_cover_image_css', 10, 1 );
    add_filter( 'bp_before_activity_cover_image_settings_parse_args', 'your_theme_cover_image_css', 10, 1 ); 
    
    function your_theme_cover_image_css( $settings = array() ) {
        /**
         * If you are using a child theme, use bp-child-css
         * as the theme handel
         */
        $theme_handle = 'bp-parent-css';
     
        $settings['theme_handle'] = $theme_handle;
     
        /**
         * Then you'll probably also need to use your own callback function
         * <a class="bp-suggestions-mention" href="https://buddypress.org/members/see/" rel="nofollow">@see</a> the previous snippet
         */
         $settings['callback'] = 'your_theme_cover_image_callback';
         
     
        return $settings;
    }
    add_filter( 'bp_before_xprofile_cover_image_settings_parse_args', 'your_theme_cover_image_css', 10, 1 );
    add_filter( 'bp_before_groups_cover_image_settings_parse_args', 'your_theme_cover_image_css', 10, 1 );
    add_filter( 'bp_before_members_cover_image_settings_parse_args', 'your_theme_cover_image_css', 10, 1 );
    add_filter( 'bp_before_activity_cover_image_settings_parse_args', 'your_theme_cover_image_css', 10, 1 );
    
    // Register the Cover Image feature for Users profiles
    function bp_default_register_feature() {
        /**
         * You can choose to register it for Members and / or Groups by including (or not) 
         * the corresponding components in your feature's settings. In this example, we
         * chose to register it for both components.
         */
        $components = array( 'groups', 'members', 'xprofile', 'activity');
     
        // Define the feature's settings
        $cover_image_settings = array(
            'name'     => 'cover_image', // feature name
            'settings' => array(
                'components'   => $components,
                'width'        => 940,
                'height'       => 225,
                'callback'     => 'bp_default_cover_image',
                'theme_handle' => 'bp-default-main',
            ),
        );
     
     
        // Register the feature for your theme according to the defined settings.
        bp_set_theme_compat_feature( bp_get_theme_compat_id(), $cover_image_settings );
    }
    add_action( 'bp_after_setup_theme', 'bp_default_register_feature' );
    
    // Example of function to customize the display of the cover image
    function bp_default_cover_image( $params = array() ) {
        if ( empty( $params ) ) {
            return;
        }
     
        // The complete css rules are available here: https://gist.github.com/imath/7e936507857db56fa8da#file-bp-default-patch-L34
        return '
            /* Cover image */
            #header-cover-image {
                display: block;
                height: ' . $params["height"] . 'px;
                background-image: url(' . $params['cover_image'] . ');
            }
        ';
    }
    

    I added the components: Members und activity but did not show the image cover in activity und member. Only load the css to show cover image in groups and profile.

    thank you very much for your help…

    #261420
    shanebp
    Moderator

    Just guessing…
    Instead of a filter, try using the action hook:

    add_action( 'bp_legacy_theme_ajax_querystring', 'sbpp04_hide_from_ajax_search', 50, 2 );

    https://codex.buddypress.org/developer/function-examples/bp_ajax_querystring/

    #261414
    shanebp
    Moderator

    This function will redirect everyone, other than site administrators, to the home page when they try and access the members directory.
    Put it in bp-custom.php.

    function grim_members_directory() {
    
    	if ( bp_is_members_directory() && ! is_super_admin() )
    		bp_core_redirect( site_url() );
    	
    }
    add_action( 'bp_ready', 'grim_members_directory' );
    #261413
    Steve
    Participant

    OK. I did not see this coming.

    I have a weekly newsletter that pulls from my websites feed. Last weeks newsletter was a long list of all the people who liked, shared, commented and friended on BUddypress.

    How do I turn this off? I don’t want a newsletter full of buddypress feed info.

    Thanks.

    #261412
    satus
    Participant

    Hi,

    When a new user registers using the standard Buddypress user form, they receive the activation email and that all works great! However, they are automatically logged in to the site when they click complete on the register form and can continue to use the site as a standard user. If they are to log out, they cannot get back in. But we recently had someone spam our site with logins and comments and votes using this exploit.

    Any ideas on where to look to solve this? Essentially, i don’t want the register form to automatically log the user in..

    Any help you be much appreciated. Thank you.

    #261411
    scorpnetwork
    Participant

    Hello everybody,

    im new to buddypress, trying to find my way around right now and stumbled over a problem for which I could not find a easy/plugin-based solution so far.

    I want my users to be able to use animated GIFs as their avatars, but as far as I can see it, the GIF animation gets broken due to the resizing of the avatar.
    Since animated GIfs as avatars isnt really a “new” thing on the internet, I assume there already must be a solution to this?

    I am thankful for any hints on this!

    #261407
    Venutius
    Moderator

    Before you do that, check out my page on setting up users, see if that gives you any ideas:

    http://buddyuser.com/setting-up-site-members-with-buddypress

    #261405
    ico33
    Participant

    Hi guys, I have a WordPress theme not developed for buddypress too, so there is the problem. But I would like to keep that theme.

    The “styling-alignment” problems with buddypress pages (groups, activity stream, profiles) are in the MOBILE view. From pc/desktop is ok.

    Is there a way, or some guide-lines, to configure my theme to work properly from mobile when showing buddypress pages?

    #261403

    In reply to: Profile Page and Bio

    Venutius
    Moderator

    Hi there,

    You might like to check out my page on setting up users

    http://buddyuser.com/setting-up-site-members-with-buddypress

    This includes details of adding additional profile fields to the users profile. Also check out the section “Installing BP” in my site, I’m sure it will give you a lot of useful information.

    #261402
    mthant
    Participant

    Hello
    I have buddyPress 2.7.2 installed. I notice that in the profile section it does not have fields to fill other information except name and photo. When I press the edit tab it allows only to change name and there is a tab to change the photo.
    I notice that in demos on other wordpress themes that have buddyPress, it shows fields such as Age, Bio. Are these fields deleted?
    I am a newbie to WordPress and BuddyPress

Viewing 25 results - 12,726 through 12,750 (of 94,561 total)
Skip to toolbar