Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 17,076 through 17,100 (of 68,918 total)
  • Author
    Search Results
  • #180160

    @drmosko,

    if you are using buddypress theme or child theme, you can easily hook the error message to the sidebar using:

    ‘add_action ( ‘bp_before_sidebar_login_form’, ‘my_xyz’);’

    jbroskos
    Participant

    I’ve done that, but when my test officer user clicks the edit button on the profile it just comes up with

    Not Found

    It looks like nothing was found at this location. Maybe try a search?

    This just seems to give the Officer role access to edit users within WP, but doesn’t apply to the BuddyPress Extended Profiles. 🙁

    #180145
    DrMosko
    Participant

    if a user came from buddypress page and try to connect he is buddypress user for sure ,but if he got to login page from another place he isnt.
    u can see the idea in the func above.
    is there a way to pass all the login warnnings like wrong password to the buddypress page

    #180141
    shanebp
    Moderator

    For renaming things, the recommended practice is to use a language file:

    Customizing Labels, Messages, and URLs

    If you make a lot of changes, you should use that approach.

    The ‘counting bubble’ is filled using sprintf.
    You’re missing that call from your change.
    You could try
    $bp->bp_nav['messages']['name']='Mails <span>%d</span>';
    But I’d be surprised if it works.

    Here’s another method, that you can paste in your functions.php:

    function sundev_change_buddypress_profile_tabs( $translated, $original_text, $domain ) {
    
        if ( 'buddypress' !== $domain )  {
            return $translated; 
        }
    
        switch ( $original_text ) {
        
            case 'Messages <span>%d</span>':
                return 'Mails <span>%d</span>';
    
            case 'Messages':
                return 'Mails';
                			
            default:
                return $translated;
        }
    }
    add_filter( 'gettext', 'sundev_change_buddypress_profile_tabs', 10, 3 );

    Untested, but that should change the label in both a profile and the buddy-bar.

    #180139
    DrMosko
    Participant

    thank u for try to help me, but I ask again,
    I have many needs for diffrent users, one type of users is buddypress, I dont want all my users to connect through front-end, only buddypress users.
    in ur suggestion I will redirect all logins to specific loaction.

    so what I did is :

    //redirect buddypress users login to frontpage 
    function redirect_wp_login_buddypress(){
        global $pagenow;
    	$prev_url = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '';
    	
    	if ( $prev_url ) {
    		$prev_path = str_replace( home_url(), '', $prev_url );
    		$page = get_page_by_path( $prev_path );
    		}
    	
    	if ( $page->ID == '31' &&	$pagenow == 'wp-login.php') { // buddypress parent page
    		wp_redirect( home_url() . '/?p=31/', 301 );
    		exit();
    		
    	}
    }
    add_action( 'init', 'redirect_wp_login_buddypress' );

    $page->ID == '31' 31 is my buddypress frontend page

    the problem with this is that if user insert incorrect pass or user name, he will not be noticed, also he wont get resend details option,
    can u think of a better way?

    #180137
    shanebp
    Moderator

    Yes, BP_User_Query now supports preserving the order the ‘user_ids’ parameter.

    So if you’re using a function to collect member ids, take a look at

    BP_User_Query

    Note the last entry.

    #180134
    simple-man
    Participant

    I haven’t received any help in almost a week after posting, so I will be calling on some of the buddypress developers here for help:

    @boonebgorges @modemlooper @jjj @mercime @djpaul

    I have posted the activation link above.

    Please let me know what can I do to solve this.

    Thank you!

    #180132
    Renato Alves
    Moderator

    The procedure explained in the article doesn’t apply. What would work for you is to install another WordPress installation in the subdomain with the only purpose of hosting BuddyPress. I’m not sure if that’s what you’re trying to do bu I’d recommend using WordPress Multisite for that.

    sundev
    Participant

    Hi. This is not a buddypress issue but the plugin you use which by default, messages should be delivered into there registered email. You may need to make a self test by your self. One of the good type is(wp job board)

    #180109

    In reply to: Multisite

    cheungvong
    Participant
    #180108

    In reply to: Multisite

    Md. Al-Amin
    Participant
    #180104
    shughey
    Participant

    @buddyboss,

    I’m having the same problem so I tried using your fix but something is wrong. I don’t have:

    elseif ( bp_is_user_forums() ) : bp_get_template_part( 'members/single/forums' );

    I have:

    elseif ( bp_is_user_forums() ) : locate_template( array( 'members/single/forums.php' ), true );

    Using WP 3.8.1 and Buddypress 1.9.2

    brinkingyellows
    Participant

    Alright, finally after a couple of months of doing some serious investigating, it turns out that a plugin called Members Directory was causing the issue. After fully removing that plugin and then updating to this latest 1.9.2 version of Buddypress everything finally worked. It was the order of how I had to go about removing the plugin first then applying the update to Buddypress that was needed. Not sure why but I’m up and going now.

    Thanks for all those that attempted to help out and I’ll keep you posted if anything else pops up. Have a great weekend everyone!

    #180092
    siteshack
    Participant

    Hi

    if you look here https://buddypress.org/community/members/siteshack/forums/

    you will see three items dated 1 year 3 months ago. These were submitted at different times. If you look at the items they have the correct date. The issue is that these items appear in the full list as old items and not new

    Cheers
    Danny

    #180081
    neerajkumar2020
    Participant

    Hi Henry,

    I have checked with plugin:
    buddypress-group-email-subscription/bp-activity-subscription-digest.php
    there is conditional checked with database
    i.e
    $user_subscriptions = $wpdb->get_results( $wpdb->prepare( “SELECT user_id, meta_value FROM $wpdb->usermeta WHERE meta_key = ‘ass_digest_items’ AND meta_value != ”” ) );

    Please help me by explaining , in which condition meta_value is updated for meta_key = ‘ass_digest_items’

    Thank you in advance.

    #180067
    Donna111
    Participant

    HI there
    I totally agree with arronlee.It would be easier to download profile and then save it as PDF files using some PDF generating toolkits.But i have never tried to download PDF files in Buddypress.Is there any program which supports to work with Buddy?

    #180058
    shanebp
    Moderator

    >…not used on the profile group tabs when the user is editing their profile

    Try using the ‘xprofile_filter_profile_group_tabs’ filter hook in
    bp_profile_group_tabs() in
    \buddypress\bp-xprofile\bp-xprofile-template.php

    #180057
    Doremdou
    Participant

    Hello, this is buddypress support forums here not bbpress ones 🙂
    You should ask your questions here : https://bbpress.org/forums/ 🙂

    Dainismichel
    Participant

    if i remember correctly, some plugin fixed it. but i can’t remember what it was called. also, i’m pretty sure i asked the initial question several years ago — not 10 months ago.

    let us know how/if you resolve the issue. i haven’t checked on this issue in quite a while and honestly can’t remember how the solution/workaround i have on my 2 buddypress sites.

    #180000
    mairaj
    Participant

    Okay, so yes the website is working however new registrations are not going through. When I click ‘Complete Sign Up’ the registration page refreshes and comes back blank just with the heading ‘Create an Account’ no registration form on the page.

    No activation email sent, tried all basic possibilities, deactivated all plugins, just buddypress is active. Cannot do any registrations.

    Please help

    #179989
    Henry Wright
    Moderator

    You have to create it yourself. Take a look at this article which tells you about the new template hierarchy:

    Template Hierarchy

    #179975

    In reply to: Recommended Posts

    joshwinkles
    Participant

    Yes, this is exactly what is happening. I added info to the ticket. Hate it kind of puts my questions on hold since as a newbie to BuddyPress I tend to have them often.

    #179974

    In reply to: Recommended Posts

    Henry Wright
    Moderator

    Does this sound like the same problem?

    https://buddypress.trac.wordpress.org/ticket/5375

    If so then perhaps add what you’re experiencing to that ticket.

    #179965
    wp_kouhai
    Participant

    I have found and corrected the issue.

    function buddypress_redirect_if_no_avatar($redirect_url,$request_url,$user) {
    
      $avatar = bp_core_fetch_avatar( array( 'item_id' => $user->ID, 'no_grav' => true, 'html'=>false) );
    
      $pos = strpos($avatar, 'mystery-man');
      if ($pos === false) { return "/";}
      else {
        $redirect_url = bp_core_get_user_domain($user->ID)."/profile/change-avatar/";
        return $redirect_url;
      }
    
    }
    
    add_filter("login_redirect","buddypress_redirect_if_no_avatar",100,3);
    #179956
    Missy Oveson
    Participant

    This is probably a really quick and dirty way to do it but I just pulled the loop from the loops file in the original and removed the entry header and footer part. It makes my buddypress page look like

    <?php
    /**
     * Genesis Framework.
     *
     * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances.
     * Please do all modifications in the form of a child theme.
     *
     * @package Genesis\Templates
     * @author  StudioPress
     * @license GPL-2.0+
     * @link    http://my.studiopress.com/themes/genesis/
     */
    
    //* This file handles BuddyPress pages
    
    get_header();
    
    	if ( have_posts() ) : while ( have_posts() ) : the_post();
    
    			do_action( 'genesis_before_entry' );
    
    			printf( '<article %s>', genesis_attr( 'entry' ) );
    
    				do_action( 'genesis_before_entry_content' );
    				printf( '<div %s>', genesis_attr( 'entry-content' ) );
    					do_action( 'genesis_entry_content' );
    				echo '</div>'; //* end .entry-content
    				do_action( 'genesis_after_entry_content' );
    
    			echo '</article>';
    
    			do_action( 'genesis_after_entry' );
    
    		endwhile; //* end of one post
    		do_action( 'genesis_after_endwhile' );
    
    	else : //* if no posts exist
    		do_action( 'genesis_loop_else' );
    	endif; //* end loop
    
    get_footer();
Viewing 25 results - 17,076 through 17,100 (of 68,918 total)
Skip to toolbar