Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 25,326 through 25,350 (of 94,558 total)
  • Author
    Search Results
  • CSkraba1
    Participant

    The buttons on the individual profile and group pages have completely disappeared. Buttons like “Add Friend” and “Join Group” are completely absent. What may have caused this and how can I get them back? Running WordPress 3.9.1 and BuddyPress 2.0.1.

    #183093
    Henry Wright
    Moderator

    Check out this article on what hooks are and how you can use them to interact with WordPress and BuddyPress:

    https://codex.wordpress.org/Plugin_API

    Rita84
    Participant

    Hi, By default messages component is not visible to other users while viewing profile in buddypress. But I am working on a site where I have to show messages to other users. Don’t know how to do this. I did some code and can successfully show the messages tab for other users but can’t show the messages under that tab. Please help. Thanks

    #183091
    tolisvt
    Participant

    Hello,
    after upgrading buddypressto version 2.0.1 admin bar is not shown in any custom page. I load custom pages with bp_core_load_template function. The templates are created in FriscoForBuddypress child theme. WordPress version is:Version 3.9.1

    Does anyone else face the same problem? What can i do to show admin bar again?
    Thanks.

    #183090
    flohaase
    Participant

    Sorry, I am new to WordPress and BuddyPress so I Need some more information.

    danbp
    Participant

    You simply have to modify the html order of the select you will find in /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/index.php.

    This will only affect the site wide activity Show: [All]

    If you want the same behaviour on all activity pages, you have to change accordingly each index.php file of each activate component.

    #183083
    localiseorg
    Participant

    The only one I have personally tested is this: https://wordpress.org/plugins/bp-moderation/

    It’s clunky but seems to work. I have no idea what mess it might create in the database.

    For any community or social networking platform to survive, it’s essential that content moderation can be divested to and distributed amongst the end-users. IMHO this sort of functionality should be bundled with BuddyPress.

    #183079
    danbp
    Participant

    In addition, i woud warn any user who want to use bp_parse_args to exclude profile groups (exclude_groups only), that you will get a php warning.
    To avoid this, please read this ticket and apply the patch (BP 1.5 to 2.0.1).

    #183078

    In reply to: 2.1 top features

    SK
    Participant

    if this part of the core functionality (and the chat as well), then so much the better.

    I agree. And if you do feel that way, you should go say so at the Trac ticket https://buddypress.trac.wordpress.org/ticket/4126

    #183075
    danbp
    Participant

    Hi @SimpleOne,

    read from line 154 in bp-xprofile-classes.php file. It contains many information for what you want to do.
    See also on Codex here and here

    You can also revert your changes back and use this kind of function (goes into theme’s functions.php or bp-custom.php):

    function simple_one_hide_some_profile_fields( $retval ) {	
    	
    	if(  bp_is_profile_edit() ) {		
    		$retval['exclude_fields'] = '48';	//field ID's separated by comma
    		
    	}	
    	
    	return $retval;
    	
    }
    add_filter( 'bp_after_has_profile_parse_args', 'simple_one_hide_some_profile_fields' );

    May this help ? 😉

    SimpleOne
    Participant

    I’m a total novice with PHP and need some help with creating some code to go inside my functions.php file. The code I need is a clone of the call to bp_the_profile_group_field_ids() that will filter out 3 xprofile field names that I don’t want users to be able to edit.

    Background: I’ve successfully modified the edit.php file to not display those 3 “required” fields (because I don’t want users to be able to edit them). However, the problem I discovered is that after modifying the edit.php file to hide those 3 fields (which I make “required” during registration), when a user clicks “Save Changes” on their Edit Profile page, it results in the message: “Please make sure you fill in all required fields in this profile field group before saving” (even though all required fields have data in them).

    Through my online research, I found that the following line of code in the edit.php file is the problem…

    <input type="hidden" name="field_ids" id="field_ids" value="<?php bp_the_profile_group_field_ids() ?>" />

    Apparently, the call to bp_the_profile_group_field_ids() which creates a list of the expected field names does not have a filter. So I would need to clone that function in my functions.php file and manually filter out my 3 desired fields from the string that gets generated.

    Anyone able to help with this… PLEASE?

    #183070
    cyndimarie
    Participant

    I fixed the issue by enabling Extended Profiles in the buddypress settings. I had it disabled since I only needed very basic member functionality. And now the activation page works great.

    #183069
    cyndimarie
    Participant

    I fixed the fatal error by enabling Extended Profiles in the buddypress settings. I had it disabled since I only needed very basic member functionality. And now the activation page works great.
    Thanks for the help 🙂

    #183066

    In reply to: Nothing seems to work

    shanebp
    Moderator
    #183065
    thundy
    Participant

    Hi guys.

    ive tried re-installing WordPress, and then buddypress 10 times in the last 2 days and im suffering from the same problem that i see many people seem to have.

    I set up in accordance with the turorials. when i click Add new group, or any profile edit link, im returned a 404. None of the groups, activity or users pages work. I’ve tried using both twenty twelve and twenty fourteen themes and both have the same problem.

    If im honest im pretty much beaten now. For something that is supposedly easy to set up, it doesnt inspire a great deal of confidence that so many people seem to be having this issue. My site is http://www.everyonesawesome.com

    Morgan Kay
    Participant

    I have been trying to post my question on this forum, but I keep getting an error that says “Error: Your topic cannot be created at this time.”

    So I posted my question on WordPress Answers:
    http://wordpress.stackexchange.com/questions/144665/problems-with-redirecting-a-buddypress-custom-subnav-item

    #183061
    Morgan Kay
    Participant

    I just figured out how to do this the other day and wrote a blog post about it:

    Using BuddyPress Language Files to Customize Headers and Messages

    I hope that helps!

    #183060

    In reply to: 2.1 top features

    SK
    Participant

    @ricardo_s

    2. Profile header to show more info of use at a glance (much like what is shown on buddypress homepage that showcases James Jacoby’s profile header)

    Check out and chime in: https://buddypress.trac.wordpress.org/ticket/4126

    #183057
    trumpxie
    Participant

    Hi Guys,

    I am trying to add a new tab and related page in BuddyPress. The tab shows up fine but page it directs to always shows members rather than my custom page (though the URL is right e.g. localhost/members/jacob/myfav/). I am using WP 3.9.1 & BuddyPress 2.0.1. Below is my code in bp-custom.php. Could you please help?

    Thanks,
    Jacob

    
    function ms_bp_setup_nav() {
    
    	bp_core_new_nav_item(
    		array(
    			'name' => __( 'Favorites', 'buddypress' ),
    			'slug' => 'myfav',
    			'position' => 10,
    			'screen_function' => 'ms_bp_my_favorites',
    			'show_for_displayed_user' => true,
    			'item_css_id' => 'myfav'
    		)
    	);
    	
    }
    add_action('bp_setup_nav', 'ms_bp_setup_nav');
    
    function ms_bp_my_favorites(){
    
    	add_action( 'bp_template_title', 'ms_bp_my_fav_title' );
    	add_action( 'bp_template_content', 'ms_bp_my_fav_content' );
    	bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );
    	
    }
    
    function ms_bp_my_fav_title() {
    	echo '<h2>My Favs</h2>';
    }
    
    function ms_bp_my_fav_content() {
    	echo '<h5>My Favs Content</h5>';
    }
    
    #183050
    moonhopper
    Participant

    duh! private messaging was turned off in Buddypress options in the newly separated blogs. That solved 1/ …. Still looking for 2/

    kjf9
    Participant

    Hi,

    I’m struggling around buddypress’s lack of capabilities. I need to allow non-administrators to view/edit groups in the backend. So far as I can tell the only way a user can edit a groups in the backend is if they are an administrator.

    Is there any way to change this to a different role/cap? I’d even go as far as editing the buddypress core files if I need to, I have to arrange this.

    Thanks for your help

    #183045
    hkcharlie
    Participant

    OK, I make a short code button like this:

    [button link=”groups” size=”medium” color=”teal”]My teams[/button]

    Because Buddypress is so fantastical now, the link above works! It will take me to :
    http://mywebsite.com/members/username/groups/

    However, now I am on the “My Groups” page, if I click on another short coded button eg:
    [button link=”friends” size=”medium” color=”teal”]My Friends[/button]
    it takes me to :
    http://mywebsite.com/members/username/groups/friends/

    and therefore doesn’t work.

    #183044
    danbp
    Participant

    hi @ricardo_s

    file reference is bp-templates/bp-legacy/buddypress/members/single/members-header.php
    Codex infos about loops

    Put the function in your-theme/functions.php or in bp-custom.php.

    Example

    function my_function_name () {	
    // your stuff here
    if ( $data = bp_get_profile_field_data( 'field=your_field_name ' ) ) : 
    ?>
    <div class="what_you_want">
    <?php
    echo xprofile_get_field_data( 'your_field_name', bp_displayed_user_id() );
    ?>
    </div>
    <?php
    endif;
    
    }
    add_filter( 'bp_before_member_header_meta', 'my_function_name' );
    #183039
    kansas3d
    Participant

    Thanks for your post.
    Good to know that I’m not the only one.
    I still couldn’t get it fixed.
    It really looks like it’s a bug that exist since the new update of WordPress and Buddypress.

    #183038
    SimpleOne
    Participant

    Correction to my last post. I meant to say…

    I was able to successfully hide certain profile fields from being displaying (by modifying profile-loop.php). And I was able to hide the same fields from being displayed when a user goes to edit their profile (by modifying edit.php).

    NOTE: Both files are located in: /bp-templates/bp-legacy/buddypress/members/single/

    I still need help figuring out how to avoid the above-mentioned “required fields” error message upon clicking the Save Changes button.

Viewing 25 results - 25,326 through 25,350 (of 94,558 total)
Skip to toolbar