Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 11,176 through 11,200 (of 69,120 total)
  • Author
    Search Results
  • #249133

    In reply to: where is edit this?

    danbp
    Participant

    Different message, but same answer as on your other topic:
    https://buddypress.org/support/topic/where-is-edit-this-3/#post-249128

    Closing this one a duplicate.

    #249132
    danbp
    Participant

    Hi,

    to modify the group directory sort order, you need a child-theme and a template overload of groups/index.php

    Copy this file from bp-templates/bp-legacy/buddypress/groups/index.php to child, to get the following path:
    wp-content/themes/your-child-theme/buddypress/groups/index.php

    In this copy, modify the html of the selector you’ll find at line 82~86 so the alpha. sort is in first position instead of latest.

    #249130
    Slava Abakumov
    Moderator

    I don’t see my fix in the source code of the /register page.
    Does your theme have /members/ or /buddypress/ directory? If yes, please give me content of the file /members/register.php or /buddypress/members/register.php.
    If there is no such file, – give me the content of a file (and its name) where you put the code I gave you. You can use http://pastebin.com/ to post there code from file (and post here in a forum only links to those files from pastebin).

    #249128

    In reply to: where is edit this?

    danbp
    Participant

    Hi,

    it’s a message within WordPress, not BuddyPress.
    if you want to modify this text, you have to use the WordPress language file. (xx_XX.po in wp-content/languages).

    Read here and here how to do that.

    #249118
    kalico
    Participant

    Hey, thanks for the advice, Brajesh! I actually intended for it to be network active — but I guess I need to be open to considering other alternatives. My multisite is for a single company. We were aiming to have users’ BuddyPress account dropdown information on the admin bar no matter what site they are on, and this setting (network active, but hosted in a secondary site) seems to have accomplished that (without making BuddyPress active in the primary site, which didn’t work for other reasons).

    From your suggestion, and I correct in understanding that this behavior I’ve seen is indeed related to being network active, with a subsite root blog for BP defined?

    #249114
    Xtremefaith
    Participant

    Still working on this, I discovered something while debugging:

        1) If I set my priority to 1​ like so:

        add_action('bp_core_activated_user', array( $this, 'setup_registration_metadata'), 1 );

        then in my setup_registration_metadata() function I use add_user_meta() to capture the first_name & last_name values at that point in time. Thankfully it makes an entry in the usermeta table with the expected value from get_user_meta($user_id, 'first_name', true)

        2) Unfortunately, something else apparently is hooked afterwards (possibly a method from the “Enable BuddyPress to WordPress profile syncing”, which then overrides any value I had set for those fields so that in the end the WordPress fields are now incorrect or wiped.

    It seems apparent to me that the “Enable BuddyPress to WordPress profile syncing” option is the culprit, but would that be a bug that the setting is grabbing the wrong values because even if I don’t hook into bp_core_activated_user the meta values that were successfully stored at registration are then wiped during activation? For example:

    • first_name becomes the username
    • last_name is cleared completely

    Setting the priority to 20 the results show that by that point the originally stored meta_value(s) have already been wiped.

    #249110
    Slava Abakumov
    Moderator

    You should definitely take a look at this ticket in BP trac – #6592.
    It’s all about the future of emails in BuddyPress. Please test and provide your feedback there in a ticket. Thanks a lot!

    #249108
    Slava Abakumov
    Moderator

    It’s nothing to do here with BuddyPress. Go to your membership plugin forum and ask there – they better know that plugin API and conditionals.

    #249107
    Slava Abakumov
    Moderator

    Check in wp-admin area your Settings -> BuddyPress -> Pages settings. All directories components should be associated with WP pages. WP pages should be published.

    #249106
    Slava Abakumov
    Moderator

    The problem is with your theme.
    The quickest fix is this:

    function the7_bp_register_fix(){
        echo '<div style="clear:both"></div>';
    }
    
    add_action('bp_custom_signup_steps', 'the7_bp_register_fix', 999999);

    Place this code into either bp-custom.php or functions.php of your (child) theme.

    Ideally – contact your theme author and ask him/her/them to test the theme with BP.

    #249092
    idowu
    Participant

    @henrywright thank you for your response, but not so helpful. i need buddypress code reference; the list of buddypress functions. thank you

    #249090
    Henry Wright
    Moderator

    The closest you’ll find is the section for developers: https://codex.buddypress.org/context/developer/

    #249087
    Brajesh Singh
    Participant

    Do you have bbPress plugin installed. If not, please install “bbPress” plugin and on its settings page, enable forums for BuddyPress. That will do it.

    #249085
    Brajesh Singh
    Participant

    Is your BuddyPress Network active? Deactivate and activate it only on the subsite. That should fix it.

    #249079
    ch1n3s3b0y
    Participant

    This is what I changed in functions.php. It was do to with adding subnav items, removing subnav items and renaming some of them:

    /* BP Add subnavigation on profile */
    
    add_action('bp_setup_nav', 'bp_profile_submenu_profile' );
    function bp_profile_submenu_profile() {
    	global $bp;
    	if(!is_user_logged_in()) return '';
    	bp_core_new_subnav_item( array( 
    		'name' => 'Seminar Bookings',
    		'slug' => 'seminar-bookings', 
    		'parent_url' => $bp->loggedin_user->domain . $bp->bp_nav['profile']['slug'] . '/' ,
    		'parent_slug' => $bp->bp_nav['profile']['slug'],
    		'position' => 20,
    		'screen_function' => 'seminar_bookings'
    		) 
    	); 
    }
    function seminar_bookings() {
        add_action( 'bp_template_content', 'seminar_bookings_screen' );
        bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );
    }
    
    function seminar_bookings_screen() { 
        locate_template( array( 'buddypress/members/single/profile/seminar-bookings.php' ), true );
    }
    
    /* BP Remove unneeded subnav items */
    function remove_bp_subnav_items() {
    	global $bp;
    	bp_core_remove_subnav_item('profile','change-avatar');
    	bp_core_remove_subnav_item('profile','change-cover-image');
    }
    
    add_action( 'bp_setup_nav', 'remove_bp_subnav_items');
    
    /* BP Rename subnav items */
    function rename_bp_subnav_items(){
    	global $bp;
    	$bp->bp_options_nav['profile']['edit']['name'] = 'Edit Profile';
    	$bp->bp_options_nav['profile']['public']['name'] = 'View Profile';
    }
    add_action('bp_setup_nav', 'rename_bp_subnav_items', 201);

    The only time I had mentioned ‘position’ was when setting up a new subnav item.

    #249061
    ch1n3s3b0y
    Participant

    Update: Figured it out. This post helped ALOT https://buddypress.org/support/topic/assigning-new-subnav-items/

    #249057
    arikg
    Participant

    [Semi-resloved]

    It appears that this is simply “how buddypress works”, the Friends widget only appears on the profile page.

    However, I would still like this widget to appear on every post and page on the website. is that possible somehow?

    #249055

    In reply to: Error 404

    mervinpearce
    Participant

    *** Resolved ***
    All I had to do is create a Register and Activate page under WordPress. As simple as that.

    Suggestion, can activation of BuddyPress Plugin not check for Register and Activate pages and if not found create default ones?

    regards & thanks

    #249038
    Hellbounds
    Participant
    <?php
    
    /**
     * BuddyPress - Users Profile
     *
     * @package BuddyPress
     * @subpackage bp-default
     */
    
    ?>
    
    <?php if ( bp_is_my_profile() ) : ?>
    
    	<div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    		<ul>
    
                <?php bp_get_options_nav(); ?>
    
    		</ul>
    	</div><!-- .item-list-tabs -->
    
    <?php endif; ?>
    
    <?php do_action( 'bp_before_profile_content' ); ?>
    
    <div class="profile">
    
    	<?php switch ( bp_current_action() ) :
    
    		// Edit
    		case 'edit'   :
    			bp_get_template_part( 'members/single/profile/edit' );
    			break;
    
    		// Change Avatar
    		case 'change-avatar' :
    			bp_get_template_part( 'members/single/profile/change-avatar' );
    			break;
    
    		// Change Cover Image
    		case 'change-cover-image' :
    			bp_get_template_part( 'members/single/profile/change-cover-image' );
    			break;
    
    		// Compose
    		case 'public' :
    
    			// Display XProfile
    			if ( bp_is_active( 'xprofile' ) )
    				bp_get_template_part( 'members/single/profile/profile-loop' );
    
    			// Display WordPress profile (fallback)
    			else
    				bp_get_template_part( 'members/single/profile/profile-wp' );
    
    			break;
    
    		// Any other
    		default :
    			bp_get_template_part( 'members/single/plugins' );
    			break;
    	endswitch; ?>
    
    </div><!-- .profile -->
    
    <?php do_action( 'bp_after_profile_content' ); ?>
    #249035
    Slava Abakumov
    Moderator

    Try
    #buddypress .profile h5{display:none !important}

    #249031
    Hellbounds
    Participant

    not working ..

    /*
    Theme Name: Sweetdate (shared on themelot.net)
    Description: More than a WordPress dating theme
    Author: SeventhQueen
    Author URI: http://themeforest.net/user/SeventhQueen
    Version: 2.9.2
    Tags: dating, clean, responsive, creative, minimal, modern, landing page, social
    Text Domain: kleo_framework
    License: GNU General Public License
    License URI: license.txt
    */
    @import url("assets/styles/app.css");
    
    /*
    * DO NOT EDIT THIS FILE
    * 
    * If you want to edit/add styles you need to enable the child theme and add your custom styles there.
    */
    
    #buddypress .profile h4{display:none !important}
    #249030
    Slava Abakumov
    Moderator

    into style.css of your theme. Also try this:
    #buddypress .profile h4{display:none !important}

    #249029
    Hellbounds
    Participant

    where add this #buddypress .profile h4{display:none} style.css ? here i try but nothing

    #249024
    Hellbounds
    Participant

    I dont have BuddyPress folder in template.

    http://s10.postimg.org/9niz4ajq1/photo.jpg

    I created the file folder and put all required and not disappear!

    #249023
    navinachettri
    Participant

    why dont you try BuddyPress Activity Stream Bump to Top plugin

Viewing 25 results - 11,176 through 11,200 (of 69,120 total)
Skip to toolbar