Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 12,351 through 12,375 (of 94,560 total)
  • Author
    Search Results
  • #262591
    welsh10
    Participant

    Hi BuddyPress,

    I want to keep my site as private as possible.
    I would like to disable access to non-logged in users to the members directory or any other profile related pages. If they do try to access then they get re-directed to homepage.

    Please could you send me the php I need to add to my functions.php to achieve this??

    Many Thanks

    #262589
    vera76
    Participant

    Hi, i want to change the standardphrase on the register site.

    I replaced it with my own text in the buddypress-de_DE.po. i didnt touch the original englisch text in register.php

    I deactivated the cacheplugin, cleared all caches… but nothing changes..:-(

    I used poedit to make the changes.

    Thanks for your help. Vera

    #262588
    RenaiSens
    Participant

    Hi,

    I’m interesting about MemberPress with BuddyPress.
    I want to create a membership website with these 2 plugins.
    Could you tell me if you have more information since your post ?

    Thanks
    have a great day
    Ludovic

    antoinemayer
    Participant

    Hello Dear BuddyPressers,

    I would like to allow the users of my website to filter the visible posts on my website’s homepage using a text-field on their personal BuddyPress account.

    Each user would therefore be able to enter a comma-separated list of keywords in their text-field. Only the posts containing one or many of these keywords would be displayed on the website’s homepage.

    In a language developers understand better, here’s what I want to do :

    IF [post] CONTAINS [user-keyword] THAN [post-visibility=TRUE];
    ELSE [post-visibility=FALSE];

    Do you know if there’s any existing plugin that could help me do that or how I could make it by myself?

    Thanks in advance!

    A. Mayer

    #262584

    Topic: Which setup?

    in group forum Installing BuddyPress
    mezan91
    Participant

    Hi,

    I want to make use of buddypress as a directory platform my users(vendors).

    In a multisite network, how do I only list buddypress users registered via the main site and not those created by the subsite administrator?

    Also, is there anyway, I could list the members based on custom fields they selected?

    Hope someone can shed some light on this.

    Thank you.

    #262581
    shanebp
    Moderator

    You’re going to have to write a custom solution.
    It’s doubtful anyone on these forums has needed such a front-end solution.
    And your use of Ultimate Member with BP narrows the field even more.

    A decent developer should be able to recreate the functionality on the front-end.

    You can post a job here.

    #262572

    In reply to: phone number or email

    Henry Wright
    Moderator

    If you create an xProfile field called “Telephone” and add it to the base group, it’ll appear in the BuddyPress registration form.

    Hope that helps?

    #262564

    In reply to: New Theme for Free

    Henry Wright
    Moderator

    Yeah, many more users will find it. It’s also easier to install for new users. I just had a theme approved; the process took about 6 months due to the theme review team having such a huge backlog but we got there in the end

    BuddyPress needs more themes, great to see you’re working hard on them!

    #262561
    Henry Wright
    Moderator

    BuddyPress is a WordPress plugin so will need a copy of WordPress to run. Does that help?

    #262559
    debbrancheau
    Participant

    If we install BuddyPress on a subdomain, do we need to install a separate copy of WP there and then add the BuddyPress plugin?

    And would there be any way to pull in things like recent pics and recent comments/posts from the subdomain to the main domain?

    #262558

    Topic: New Theme for Free

    in forum Showcase
    buddycore
    Participant

    I’ve been developing a new theme called Centro which supports the core functionality of WordPress & BuddyPress.

    It’s currently still in development but has been released and is available on GitHub.

    You can view a demo on buddycore or here also and a download is available via GitHub.

    Issues will be answered and resolved via GitHub.

    Enjoy! Happy New Year!

    **********************
    Some Features
    **********************
    Colour customizations in wp-admin.
    Support for posts and pages
    Archive pages for search and taxonomies
    Post thumbnails and post formats
    Post comments

    Activity streams
    Member profiles
    – xProfile
    – Settings
    – Friends
    – PMs
    – Notifications
    – Multisite

    Registration
    – Basic member
    — With blog creation

    Responsive
    HTML5
    Cross Browser (IE10+)

    *************************
    Group support will definitely be added in the next updates
    Plan to add support for BBPress and possibly WooCommerce

    All of this depends on how many people are using the theme and feature requests from users.

    #262555

    In reply to: Adding deadlines

    danbp
    Participant

    This is custom work. Nothing like this by default or out of the box, in BuddyPress or bbPress.

    #262551
    danbp
    Participant

    @venutius @henrywright

    The BP_GROUPS_SLUG constant is deprecated, and only used here for backwards compatibility.
    (see here, line 141). This is also mentionned on codex.

    What you can do is to simply modify the page slug. Go to dashboard, Page editor, and quick edit your default Group page, and change the permalink (ie. groups to test) and evtl. the title.

    BexxBl
    Participant

    The problem:

    I want to display different types of names on the updates in the activity stream like:

    – first name + last name for updates which the user posts on their stream
    – username/display name when there are updates in groups

    i have written the following code:

    /**
     * Get the fullname of the current member in the loop.
     *
     * Full name is, by default, pulled from xprofile's Full Name field.
     * When this field is empty, we try to get an alternative name from the
     * WP users table, in the following order of preference: display_name,
     * user_nicename, user_login.
     *
     * @return string The user's fullname for display.
     */
    function bp_get_member_name_custom() {
    	global $members_template, $bp;
    	// print_r($members_template->member->id);
    	$firstname= bp_get_profile_field_data('field=vorname&user_id='.$members_template->member->id);
    	$lastname= bp_get_profile_field_data('field=nachname&user_id='.$members_template->member->id);		
    	if(!empty($firstname) || !empty($firstname)){
    		$fullname = $firstname.' '.$lastname ;
    		return apply_filters( 'bp_get_member_name_custom',$fullname );
    	}else{
    		$name_stack = array(
    			'display_name',
    			'user_nicename',
    			'user_login'
    		);
    
    		foreach ( $name_stack as $source ) {
    			if ( !empty( $members_template->member->{$source} ) ) {
    				// When a value is found, set it as fullname and be done with it.
    				$members_template->member->fullname = $members_template->member->{$source};
    				break;
    			}
    		}
    		return apply_filters( 'bp_get_member_name_custom', $members_template->member->fullname );
    	}
    	/**
    	 * Filters the display name of current member in the loop.
    	 *
    	 * @since 1.2.0
    	 *
    	 * @param string $fullname Display name for current member.
    	 */		
    }
    
    add_filter( 'bp_get_member_name_custom', 'wp_filter_kses' );
    add_filter( 'bp_get_member_name_custom', 'stripslashes'   );
    add_filter( 'bp_get_member_name_custom', 'strip_tags'     );
    add_filter( 'bp_get_member_name_custom', 'esc_html'       );
    
    // full name to all memebr list
    add_filter('bp_get_member_name','bp_get_member_name_custom');
    	
    	
    // Fullname in group memeber list
    function bp_get_group_member_link_custom() {
    	global $members_template, $bp;
    	
    	$firstname= bp_get_profile_field_data('field=vorname&user_id='.$members_template->member->id);
    	$lastname= bp_get_profile_field_data('field=nachname&user_id='.$members_template->member->id);		
    	if(!empty($firstname) || !empty($firstname)){
    		$fullname = $firstname.' '.$lastname ;
    		return apply_filters( 'bp_get_group_member_link_custom', '<a href="' . bp_core_get_user_domain( $members_template->member->user_id, $members_template->member->user_nicename, $members_template->member->user_login ) . '">' . $fullname . '</a>' );
    	}else{
    		$name_stack = array(
    			'display_name',
    			'user_nicename',
    			'user_login'
    		);
    
    		foreach ( $name_stack as $source ) {
    			if ( !empty( $members_template->member->{$source} ) ) {
    				// When a value is found, set it as fullname and be done with it.
    				$members_template->member->fullname = $members_template->member->{$source};
    				break;
    			}
    		}
    		return apply_filters( 'bp_get_group_member_link_custom', '<a href="' . bp_core_get_user_domain( $members_template->member->user_id, $members_template->member->user_nicename, $members_template->member->user_login ) . '">' . $members_template->member->display_name . '</a>' );
    	}
    	 
    }
    add_filter('bp_get_group_member_link','bp_get_group_member_link_custom');
    
    /**
     * Fetch the display fullname for a user.
     *
     * @param int|string|bool $user_id_or_username User ID or username.
     * @return string|bool The display name for the user in question, or false if
     *                     user not found.
     */
    function bp_core_get_user_displayname_custom( $user_id_or_username ) {
    	if ( empty( $user_id_or_username ) ) {
    		return false;
    	}
    	// return $user_id_or_username;
    	if ( ! is_numeric( $user_id_or_username ) ) {
    		$user_id = bp_core_get_userid( $user_id_or_username );
    	} else {
    		$user_id = $user_id_or_username;
    	}
    	
    	if ( empty( $user_id ) ) {
    		return false;
    	}
    	
    	global $bp;
    	$firstname= bp_get_profile_field_data('field=vorname&user_id='.$user_id);
    	$lastname= bp_get_profile_field_data('field=nachname&user_id='.$user_id);	
    	// return $user_id;
    	if(!empty($firstname) || !empty($firstname)){
    		$fullname = $firstname.' '.$lastname ;
    		return apply_filters( 'bp_core_get_user_displayname_custom', $fullname, $user_id );
    	}else{
    	
    		$display_names = bp_core_get_user_displaynames( array( $user_id ) );
    
    		if ( ! isset( $display_names[ $user_id ] ) ) {
    			$fullname = false;
    		} else {
    			$fullname = $display_names[ $user_id ];
    		}
    		return apply_filters( 'bp_core_get_user_displayname_custom', $fullname, $user_id );
    	}
    	
    }
    add_filter( 'bp_core_get_user_displayname_custom', 'strip_tags', 1 );
    add_filter('bp_core_get_user_displayname_custom');
    add_filter('bp_core_get_user_displayname','bp_core_get_user_displayname_custom');
    
    // Fullname on profile page on other member
    add_filter('bp_displayed_user_fullname','bp_core_get_user_displayname_custom');	
    

    which is creating the following output on my site:

    It was working before updating to WordPress 4.7.

    Can anyone help since i can’t find a solution or error?
    Or am i thinking to complicated?

    i’m currently working on:
    Wordpress Version 4.7.
    Buddypress Version 2.7.4
    BP Xprofile Member Type Field Version 1.0.2

    #262533
    shanebp
    Moderator

    Create a template overload of this file:
    buddypress\bp-templates\bp-legacy\buddypress\groups\groups-loop.php

    In your overload, remove whatever you like.

    #262531
    sherissa_r
    Participant

    Thanks for this.

    What is the easiest way to hide the Dashboard menu item from the Buddypress Toolbar? See sceenshot.
    https://goo.gl/photos/rBL773gvzsKhTsiVA

    Christian
    Participant

    Hi there,

    I am using WP 4.7 with Buddypress 2.7.4 and bbpress 2.5.12.

    The Buddypress groups have enabled a group forum with subforums. One group has a private default forum with private subforums.

    If a no-member of the group wants to access the private forum he gets the 404 (that’s ok). But access to topics and answers of the private (sub)forums via widget links the topics are readable and writeable for non-members of the group.

    Is this a bug? How can I solve this?

    Thanks for a hint.
    Chris

    #262527
    Venutius
    Moderator

    I’m trying to change the Activity Slug as mentioned here:

    Change “Activity” component’s name and slug to something else.

    However I’m getting the following error code when I simply paste the snippet into bp-custom

    o /dashboard/ define( ‘BP_ACTIVITY_SLUG’, ‘dashboard’ ); // Change the name for the “Activity” tab to “Dashboard”, // and reference the newly defined slug /dashboard/ function bpcodex_rename_profile_tabs() { // Change “Activity” to “Dashboard” buddypress()->members->nav->edit_nav( array( ‘name’ => __( ‘Dashboard’, ‘textdomain’ ) ), ‘dashboard’ ); } add_action( ‘bp_actions’, ‘bpcodex_rename_profile_tabs’ );
    Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/bp-custom.php:10) in /wp-includes/option.php on line 828

    Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/bp-custom.php:10) in wp-includes/option.php on line 829

    I’m using a brand new install of WP and BP, is there anything else I need to do to get this to work?

    #262526
    alghaith
    Participant

    Hello, im using woffice and i want the user to change his password and profile picture only from the front end .

    i dont want him to :

    – change his name

    – edit anything in (Editing ‘Base’ Profile Group)

    – change his email .

    – change anything in (Send an email notice when: )

    i have this link :
    https://buddypress.org/support/topic/dont-allow-users-to-change-some-fields-after-sign-up-hide-those-fields/
    but i don`t know if it will be like my customization
    thanks so much.

    —————————-

    1. Which version of WordPress are you running?
    WordPress 4.7 running Woffice Child theme.

    6. Which version of BP are you running?
    2.7.4

    10. Which theme do you use ?
    woffice

    11. Have you modified the core files in any way?
    yes

    12. Do you have any custom functions in bp-custom.php?
    i dont think so

    13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    bult in

    15. Which company provides your hosting?
    siteground

    #262525
    quang134
    Participant

    Version of WordPress: 4.7. Version of BP: 2.7.4.
    Link to site: classroomlink.org

    I use WPML to create a multilangual site along with BuddyPress.
    Here is the problem: when I navigate between pages on Japanese (2nd language)
    – the site loads back to English (main language)
    – users that are logged in keep getting kicked out

    Can you please tell me what possibly makes this happen?
    Thank you

    #262523

    In reply to: pass-strength-result

    metalhead
    Participant

    Thanks very much!

    Is there an easy way to dissuade WordPress functions from Buddypress functions?

    Would we have not had this conversation if I had read up on the WordPress docs more?

    #262522
    sootsnoot
    Participant

    Just looking at this table, I notice that versions 2.7.3 and 2.7.4 show a “DB Version” of 11272. But in fact downloading those versions reveals that they use DN version 11105, just like 2.7.0 does. This seems a little troubling, given how easy it is to extract the actual BP version and DB version out of the source tree:

    $ find . -name 'bp-loader.php' | xargs egrep 'this->(db_)?version +='
    ./2.1.1/buddypress/bp-loader.php:               $this->version    = '2.1.1';
    ./2.1.1/buddypress/bp-loader.php:               $this->db_version = 8311;
    ./2.2.0/buddypress/bp-loader.php:               $this->version    = '2.2';
    ./2.2.0/buddypress/bp-loader.php:               $this->db_version = 9181;
    ./2.2.1/buddypress/bp-loader.php:               $this->version    = '2.2.1';
    ./2.2.1/buddypress/bp-loader.php:               $this->db_version = 9181;
    ./2.2.3.1/buddypress/bp-loader.php:             $this->version    = '2.2.3.1';
    ./2.2.3.1/buddypress/bp-loader.php:             $this->db_version = 9181;
    ./2.4.0/buddypress/bp-loader.php:               $this->version    = '2.4.0';
    ./2.4.0/buddypress/bp-loader.php:               $this->db_version = 10071;
    ./2.4.3/buddypress/bp-loader.php:               $this->version    = '2.4.3';
    ./2.4.3/buddypress/bp-loader.php:               $this->db_version = 10071;
    ./2.7.0/tags/2.7.0/src/bp-loader.php:           $this->version    = '2.7.0';
    ./2.7.0/tags/2.7.0/src/bp-loader.php:           $this->db_version = 11105;
    ./2.7.3/buddypress/bp-loader.php:               $this->version    = '2.7.3';
    ./2.7.3/buddypress/bp-loader.php:               $this->db_version = 11105;
    ./2.7.4/buddypress/bp-loader.php:               $this->version    = '2.7.4';
    ./2.7.4/buddypress/bp-loader.php:               $this->db_version = 11105;
    ldesherl
    Participant

    I’m running Optimizer PRO. Is that theme compatible with Buddypress? The way I have my site built, it would not be easy to change my theme.

    I would not know where to find the code in my theme to change it.

    Thank you. I thought the odd URLS for Buddypress pages was by default.

    Temporary log-in?

    #262517
    shanebp
    Moderator

    If you just want to change labels, you should use a language file.

    Another approach, put in your bp-custom.php :

    function sr_gettext_with_context( $translated, $text, $context, $domain ) {
    
         if ( 'buddypress' !== $domain )
            return $translated;
    
         switch ( $text ) {
            
            case 'Friends':
                return 'Network';
                
            case 'Groups':
                return 'My Groups';            
                
            default:
                return $translated;
        }
    
        return $translated;
    }
    add_filter( 'gettext_with_context', 'sr_gettext_with_context', 51, 4 );
    sherissa_r
    Participant

    Hi, I’ve been searching all day and have not found a good tutorial on how to edit the Buddypress /WP admin toolbar in the top right-hand corner.
    Is this the only tutorial available?

    Modifying the Toolbar

    I would like to change the labels for some of the menu items.
    e.g. Forums to Discussions
    Friends to Network
    Groups to My Groups
    Courses to My Courses

    Thank you in advance if you’re able to guide me to a tutorial on how to do this using bp-custom.php or my child theme’s function.php

Viewing 25 results - 12,351 through 12,375 (of 94,560 total)
Skip to toolbar