Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 7,776 through 7,800 (of 69,044 total)
  • Author
    Search Results
  • #267770
    Carsten Lund
    Participant

    I mean, the buddypress folder in bp-templates/bp-legacy

    #267768
    Carsten Lund
    Participant

    Copy, and at the same time leave the original buddypress folder under plugins?

    #267767
    Henry Wright
    Moderator

    You can find all of the templates in a buddypress folder here: bp-templates/bp-legacy.

    Step 1. Copy the buddypress folder to your theme. You should then have something that looks like this: wp-content/themes/your-theme/buddypress
    Step 2. Edit the files inside the buddypress folder.

    #267764
    Carsten Lund
    Participant

    Thanks, I have read the page about Template Hierarchy, can see this is very complex, at least to me.

    I looked to the buddypress directory which looks different:

    wp-content > plugins < buddypress > bp-members > ?

    members_loop.php does not exist, is this aam I in the wrong directory?

    I have tried to ad a buddypress.php file to both my theme and child theme directory, but this will prevent my site from loading?

    #267761
    Henry Wright
    Moderator

    Which template are you referring to in 1.?

    Check out the Template Hierarchy article. The file you’d need to copy and then modify is buddypress/members/members-loop.php.

    can both code snippets be placed either in functions.php or bp-custom.php?

    2 can but 1 isn’t a code snippet (you’re copying and then modifying a file).

    #267760
    Carsten Lund
    Participant

    I am looking at the thread “Adding profile fields to members directory”
    https://buddypress.org/support/topic/adding-profile-fields-to-members-directory/

    You wrote:

    There’s 2 ways of doing this.

    1. You could modify the members-loop template (see the BuddyPress Template Hierarchy for details on how that’s done). See here. You would just add bp_member_profile_data( ‘field=the field name here’ ); to the template.

    2. Add this to your theme’s functions.php file:

    function add_info_to_members_loop() {
    echo bp_get_member_profile_data( ‘field=the field name here’ );
    }
    add_action( ‘bp_directory_members_item’, ‘add_info_to_members_loop’ );

    Which template are you referring to in 1.?
    can both code snippets be placed either in functions.php or bp-custom.php?

    #267750
    mika69400
    Participant

    Hello,

    I have the same problem as you. Here is my message:

    Activity that will disappear on my database

    It is incomprehensible that no solution is found …

    #267749
    mika69400
    Participant

    Hello,

    I have the same problem as you. Here is my message:

    Activity that will disappear on my database

    It is incomprehensible that no solution is found …

    #267725

    In reply to: Username URL

    ezekielloves
    Participant

    Yes, fortunately BP does provide a one-line solution!

    add_filter( 'bp_core_enable_root_profiles', '__return_true' );

    Thanks @modemlooper
    https://buddypress.org/support/topic/dynamic-urls-for-buddypress-user-profiles-friends-etc/

    #267715
    Henry Wright
    Moderator

    You can edit the layout of the registration page. buddypress/members/index-register.php is the template you’ll need to edit. See the Template Hierarchy article for more information.

    Template Hierarchy

    #267710
    ghosting4u
    Participant

    I have the same problem with the registration page. It’s unusable … an absolutely embarrassment if you look at screen capture of the desktop layout:

    https://image.prntscr.com/image/10859QPiSTaGvw7pDQg9hw.png

    and the tablet layout:

    https://image.prntscr.com/image/wGzGFTgOTDeq01OxaAbGbQ.png

    I am running on Divi theme, and there is no way that I can use Divi theme to edit the layout of the registration page because it’s done at the backend of the BuddyPress plugin.

    Is there a plugin out there that can resolve this ?

    Regards.

    #267708
    lenasterg
    Participant

    Hi. I made a minor change in the code @danbp suggests (basically the $args[‘subnav_slug’] and now I believe it works as expected.
    So I guess it’s not a BuddyPress bug.

    Please, try the following

    
    function bpex_change_profile_settings_default_tab() {
    
    	if( bp_is_active( 'xprofile' ) ) :
    
    	$access        = bp_core_can_edit_settings();
    	$slug          = bp_get_settings_slug();
    
    	$args = array(
    		'parent_slug'     => $slug,
    		'subnav_slug'	  => 'notifications',
    		'screen_function' => 'bp_settings_screen_notification',
    		'user_has_access' => $access
    		);
     
    	bp_core_new_nav_default( $args );
    
    	endif;
    
    }
    add_action( 'bp_actions', 'bpex_change_profile_settings_default_tab' );
    
    function bpex_remove_general_item_on_usermenu() {
    global $wp_admin_bar;
    
    	if ( bp_use_wp_admin_bar() ) {
    		$wp_admin_bar->remove_node( 'my-account-settings-general' );
    	}
    
    }
    add_action( 'wp_before_admin_bar_render', 'bpex_remove_general_item_on_usermenu' );
    
    function bpex_remove_profile_settings_general_tab() {
    
    	if( bp_is_active( 'xprofile' ) ) :	
    
    		bp_core_remove_subnav_item( 'settings', 'general' );
    
    	endif;
    
    }
    add_action( 'bp_actions', 'bpex_remove_profile_settings_general_tab' );
    #267692
    press786
    Participant

    I am still facing this issue, even after giving all the permission & uploading an image with a small name.
    Using
    Buddypress 2.8.2
    wordpress 4.7.5
    Please provide a resolution to this, I want to have an upload avatar option in the register page.
    I am using “Buddypress avatar upload ajax” plugin for this.

    #267685

    In reply to: Seeking Solution

    shanebp
    Moderator

    bbPress is the only real option for forums.

    Depending on what features you need, this may suffice: BuddyPress Simple Events

    You can also get it here: PhiloPress – BuddyPress Simple Events

    #267667
    Henry Wright
    Moderator

    The following code won’t cause the parse error:

    <p><?php printf(
        __( 'Your account was activated successfully! You can now log in on the sidebar with the username and password you provided when you signed up.', 'your-theme-domain' ),
        wp_login_url( bp_get_root_domain() )
    ); ?></p>

    Parse error: syntax error, unexpected ‘else’ (T_ELSE) in /home/admin/public_html/wp-content/themes/Divi-Child/buddypress/members/activate.php on line 47

    This is referring to an else statement on line 47 of activate.php. What do you have on line 47?

    PinkishHue
    Participant

    Thanks for sharing this link, very helpful 🙂

    It’s perhaps been discussed before but it seems like this should be a default feature for Buddypress/bbpress, including notifications for subscribed forums AND topics within the alert.

    I need this function for new replies on topics and unfortunately this plugin doesn’t do that.

    I will keep looking.

    #267661
    dhsllc
    Participant

    I think you are referring to the message that appears after the registration page is submitted. If so, it’s not a different page or something you can turn-off anywhere (as far as I know). The message appears on register.php.

    To modify it, you’ll want to make a copy of it, edit it then add it to your child theme: mytheme/buddypress/members/register.php

    #267660
    dhsllc
    Participant

    I didn’t have a big problem with the look of the registration but the little cosmetic changes I made with handled with CSS. However, the message that appeared after the form was submitted, that needed work.

    To customize it, I made a copy of register.php, modified the section where the message appeared and added this new directory in my child theme > mytheme/buddypress/members/register.php

    Looks much better now. Hope this helps.

    Try this plugin. It hasn’t been updated for 2 years, but it works perfectly for me.

    BuddyPress Admin Only Profile Fields

    Adds these options to the visibility options: ‘Admin’, ‘Everyone (Admin Editable)’ and ‘Only Me (Admin Editable)’

    Hope that helps

    #267654
    awpt
    Participant

    anyone solved this problem? When I get the css file from buddypress plugin to the css folder in my theme it doesnt show it too.It saves the cover image because when I remove the file I can see it but the problem is when i make changes on the css file I can also see the changes.

    Is there any required php file to integrate it in the correct mode?

    A screensho from my theme the black background is from just a css command not an image.
    https://s2.postimg.org/f8lwj34o9/Schermata_2017-08-22_alle_10.37.16.png

    #267646

    In reply to: url > permalink

    shanebp
    Moderator

    This is the BuddyPress support site.
    Try asking on the bbPress support site.

    #267623

    In reply to: Custom Code

    Abdullah Al Mamun
    Participant

    @peter-hamilton Im using BuddyPress Xprofile Custom Fields Type plugin too.

    #267622

    In reply to: Custom Code

    Abdullah Al Mamun
    Participant

    buddypress – bp-templates – bp-legacy – buddypress – members – single – settings.php?

    Here inside i added:

    <div class=”item-list-tabs no-ajax” id=”subnav” aria-label=”<?php esc_attr_e( ‘Member secondary navigation’, ‘buddypress’ ); ?>” role=”navigation”>

      <?php if ( bp_core_can_edit_settings() ) : ?>

      <?php bp_get_options_nav(); ?>
      link text
      <?php endif; ?>

    </div>

    But its not working.

    #267621

    In reply to: Custom Code

    peter-hamilton
    Participant

    1. You could use the template for buddypress – members – single – settings
    Here you could add a link inside the navigation div, right after the call to get-options-nav

    This should be in your buddypress folder in your child theme.

    2. I do not know

    #267617
    peter-hamilton
    Participant

    Very impressive work @m_uysl and good to know that Buddypress can scale to such a userbase, albeit with lots of serverpower available.

Viewing 25 results - 7,776 through 7,800 (of 69,044 total)
Skip to toolbar