Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 25,176 through 25,200 (of 94,555 total)
  • Author
    Search Results
  • #183563
    parallax95
    Participant

    Hello guys, I’m totally new to WordPress and BuddyPress by the way and I have the following Problem.

    Well I’ve installed everything and configured it “right” (made a Register and Activate Page and so on) and well if I’ll change for example my Avatar, I can read this:

    @parallax active right now ActivityProfileNotifications 0Messages 0Friends 0Settings ViewEditChange Avatar Change Avatar Your avatar will be used on your profile and throughout the site. If there is a Gravatar associated […]

    No formating, bad looking and so on.
    The same with nearly all other things like the register form, view Profile, the Members Page, and so on and so forth.

    I hope you can help me, if you need further information I’ll give them.

    By the way, I’m sorry for my bad english, I’m not a native english speaker.

    With friendly Greets,
    Parallax.

    #183559
    asianowl
    Participant

    Found the solution! It was written up in the documentation! HERE

    For my needs, I filtered based on roles like so:

    function my_remove_activity_menu(){
    	if (current_user_can('special_role'))
    	{
    		global $wp_admin_bar;
    
    		$wp_admin_bar->remove_menu('my-account-activity');
    	}
    }
    add_action('bp_setup_admin_bar', 'my_remove_activity_menu',301);
    

    Good luck everyone.

    #183551
    Devilwillcry4you
    Participant

    I just installed WordPress MU and buddypress. I Have changed all the setting to what I found searching. On network settings I have “Both sites and user accounts can be registered.” selected. Under the pages screen in buddypress the activate at register pages are not there. I have manully uploaded them to make sure they are there.
    Any help would be great, getting very confused.

    #183548
    jrcode
    Participant

    Hi @henrywright,

    Thanks very much for your help. I am using Radius and I noticed that the problem wasn’t there until I installed BuddyPress.

    I searched my code and found the unsecure content refers to “_wp_http_referer”. I think that instead of correcting manually this big number of insecure items, I am going to use a plugin. I have found one “SSL Insecure Content Fixer”, I am going to test and will give a feedback to the community.

    Best,

    JR

    bp-help
    Participant

    @rhododendron
    Yes that is correct. If you have subfolders within the buddypress folder also make sure the structure is the same as it was when you copied it over. Otherwise if you change the templates it will not work correctly.

    Paul
    Participant

    Just make sure the directory structure stays the same.

    I have copied the buddypress folder from the plugin to Theme-child folder.
    I read the codex too. But doesnt tell anything about the directory structure. do you mean that I need to create a pluin folder inside my child theme.

    now my directory structure is
    themes–>hueman-child–>buddypress

    This is what you meant right?
    Correct me if I am wrong.

    CommonEasy
    Participant

    Hi there,

    i´am looking for a way to show profile fields as a currency or a percentage. I use the xprofile custom profile fields plugin to use some profile fields as number fields. However it doesn´t support a currency filter jet. I tried to following code in the custom profile fields plugin on advice as a first step:

    add_filter( 'bxcft_show_field_value', 'my_show_field', 15, 4);
    function my_show_field($value_to_return, $type, $id, $value) {
        if ($type == 'number') {
            $value = str_replace("<p>", "", $value);
            $value = str_replace("</p>", "", $value);
            $field = new BP_XProfile_Field($id);
            if ($field->name == 'Waarde van je gadget (€)') {
    		     setlocale(LC_MONETARY, 'nl_NL');
                $value = money_format('%.2n', $value) . "\n";
                $new_value = money_format('%.2n', $value) . "\n";
            } else {
                $new_value = $value;
            }
            return '<p>'.$new_value.'</p>';
        }
        return $value_to_return;
    }

    this code should change profile field 15 to a currency, unfortunatly it didn’t work. I hope there is a way to do this in buddypress itself. Can somebody please help me to the right direction? many many thanks in advance 🙂

    bp-help
    Participant

    @rhododendron
    In your child theme you would copy over the buddypress folder. Please review:

    Theme Compatibility & Template Files


    Once that folder as well as subfolders are in place then you can modify it without it getting overwritten in future updates. Just make sure the directory structure stays the same.

    Paul
    Participant

    Awesome!

    Thanks for that quick reply.

    I have another question. Sorry it is silly I know. As I am new to buddypress I am taking some time reading all the docs. The question is if I make any modification in the front end views for the buddypress installation I guess I need to do in a child theme so that the modifications doesnt go off with the new releases of buddypress. But where do I do it. I mean I read that the new releases of buddypress supports any wordpress theme compatibility I can rather do this modifications inside my website childtheme itself I suppose.

    But waht about the directory structures? How that should be. do I need to make a directory inside my child theme. Can you please tell how it works?

    Paul
    Participant

    I need to disable the user access to wordpress admin panel. I do not want them to look into my site’s backend.

    from login to all the buddypress activities I want in only on-page.

    Is it possible to do so?

    Abidemi
    Participant

    Thank you guys, from the solutions above, I sum up this code :

    Put in activity/index.php –

    At the top of the activity/index.php, paste this code –

    <?php
    //best practice is to create a function in another file, but this will work…
    $friends = bp_follow_get_following( ‘&user_id=’ . bp_loggedin_user_id() );
    $friends[] = bp_loggedin_user_id();
    $friends_and_me = implode( ‘,’, (array) $friends );
    $friends_and_me = ‘&user_id=’ . $friends_and_me;
    ?>

    After that paste this code

    <?php if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ) . $friends_and_me .’&object=groups,friends,status,blogs’) ) : ?>

    Note : I am using buddypress follower plugins. If you are not using the plugin, you need to change this line of code
    – ‘$friends = bp_follow_get_following( ‘&user_id=’ . bp_loggedin_user_id() );’

    to this

    – ‘$friends = friends_get_friend_user_ids( $user_id );’

    #183524
    jrcode
    Participant

    Hello @r-a-y,

    Thanks for your reply. In fact when I activate BuddyPress I get a notification that the SSL communication is validated on my site but that it has started including other non-secure resources that could be leveraged by third-parties to make my site misfunction.

    I do not neither know nor understand the origin of this third-party code. Is it from the BuddyPress plugin itself? What is it about then?

    Thanks to @all the community and to you @r-a-y and @imathi for your help

    Best

    Jerry
    Participant

    Hello. Up until the recent upgrade to wordpress ms (3.9.1), buddypress (2.0.1), and bbpress, my user’s avatars where showing just fine throughout my site. Now they only show up on the main site. I saw this thread http://buddypress.org/support/topic/v1-7-no-avatars/ but I cannot find ‘settings’, ‘discussion’ from the wp-admin dashboard. I can find settings, but not discussion. I used “inspect element with firebug” and sure enough, each avatar on the other sites is now pointing to a different folder. On main site, they point to: /wp-content/uploads/2014/03/owl_avatar0785.jpg, on the other sites they are suddenly pointing to the respective sites’ folders, instead of the main content folder.
    I do have the plugin ” BP Avatar Suggestions” installed. It has worked great until now. I can’t find any settings within that plugin that would affect this. Any help would be appreciated.

    #183508
    bummedbride
    Participant

    Hello everyone! I still can not find a resolution to this “invalid activation key” – has anyone had any success? My Buddypress website works fine for most but there are still several of my members that are experiencing this issue?

    Has anyone found any fixes?

    Thanks!

    #183507
    lava-team
    Participant

    I can’t even find buddypress functions.
    bp_is_user_forums, bp_is_user_settings … etc..

    sorry for my poor wp knowledge.

    I just want to add my custom pages below bp user header. just like others.

    lava-team
    Participant

    Hello,

    I have been trying to add 2 tabs on user profile. “posts”,”gallery”

    posts : my posted posts. it will display a custom-post-type “user-post”
    gallery : my pictures .. or any thing.. it will display a custom-post-type “user-images”

    
    // Set up Cutsom BP navigation
    function my_setup_nav() {
          global $bp;
    
          bp_core_new_nav_item( array(
                'name' => __( 'Posts', 'buddypress' ),
                'slug' => 'user-posts',
                'position' => 19,
                'screen_function' => 'jv_user_posts', 
    	  		'show_for_displayed_user' => true
    
          ) );
    
          bp_core_new_nav_item( array(
                'name' => __( 'Gallery', 'buddypress' ),
                'slug' => 'user-gallery',
                'position' => 20,
                'screen_function' => 'jv_user_gallery' 
          ) );
    
          // Change the order of menu items
          $bp->bp_nav['messages']['position'] = 100;
    
          // Remove a menu item
          $bp->bp_nav['activity'] = false;
          $bp->bp_nav['blogs'] = false;
    
          // Change name of menu item
          $bp->bp_nav['groups']['name'] = 'community';
    }
    add_action( 'bp_setup_nav', 'my_setup_nav' );
    
    // Load a page template
    function jv_user_posts() {
          bp_core_load_template( 'buddypress/bp/cst-user-posts' );
    }
    function jv_user_gallery() {
    	  bp_core_load_template( 'buddypress/bp/cst-user-gallery' );
    }
    
    


    it has successfully created 2 tabs! works ok!

    BUT it goes to own “cst-user-posts.php” page and “cst-user-gallery.php” page.

    I mean I want to add them in /buddypress/members/sigle/home.php file

    I guess the part is here on home.php

    ‘

    <?php do_action( ‘bp_before_member_body’ );

    if ( bp_is_user_activity() || !bp_current_component() ) :
    bp_get_template_part( ‘members/single/activity’ );

    elseif ( bp_is_user_blogs() ) :
    bp_get_template_part( ‘members/single/blogs’ );

    elseif ( bp_is_user_friends() ) :
    bp_get_template_part( ‘members/single/friends’ );

    elseif ( bp_is_user_groups() ) :
    bp_get_template_part( ‘members/single/groups’ );

    elseif ( bp_is_user_messages() ) :
    bp_get_template_part( ‘members/single/messages’ );

    elseif ( bp_is_user_profile() ) :
    bp_get_template_part( ‘members/single/profile’ );

    elseif ( bp_is_user_forums() ) :
    bp_get_template_part( ‘members/single/forums’ );

    elseif ( bp_is_user_notifications() ) :
    bp_get_template_part( ‘members/single/notifications’ );

    elseif ( bp_is_user_settings() ) :
    bp_get_template_part( ‘members/single/settings’ );

    // If nothing sticks, load a generic template
    else :
    bp_get_template_part( ‘members/single/plugins’ );

    endif;

    do_action( ‘bp_after_member_body’ ); ?>

    ‘

    How can I make “if” condition for those 2 pages?
    I don’t know how to create “bp_is_user_posts” or “bp_is_user_posts” functions.
    if I could, I just need to add … if conditions.

    Please advice me!

    Thanks,
    pulla

    FACT
    Participant

    Hello People,

    i got 2 Problems.

    I Add for the Buddypress Profile that people can add their Homepage Links. The Problem is now that the URL´s opened in the same tab and not in a new. Its Possible to change this? Thats when somebody clicks on the URL Link that it opened in a New Tab?

    ANd 2nd:

    Its Possible do Hide the Dashboard on the left side for normal Users? They cant do nothing on my site (Just a Community with a Forum and later Groups) but i think when they click on the dashboard and edit profile they think that they can change nothing Oo

    Sry for my bad english guys, but i think u understand what i mean

    EDIT:

    Oh yeah and i Use WordPress 3.9.1, Buddypress 2.0.1, Buddypress – Who clicked at my Profile? 1.7, BuddyPress Security Check 1.2.0, Buddypress Xprofile Custom Fields Type 1.5.9.5

    #183483
    CommonEasy
    Participant

    Wow thanks a lot man!! This works perfect 😀 for the intrested people, i put the code from SimpleOne in this exact file: wwwroot/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress-functions.php

    CommonEasy
    Participant

    you should try to hide the fields from the edit profile page but not from the profile page. try editing the wwwroot/wp-content/plugins/buddypress/bp-themes/bp-default/members/single/profile/edit.php. more information here https://buddypress.org/support/topic/ow-to-hide-more-than-one-profile-field/

    #183480
    Derek Foulk
    Participant

    I tried what @modemlooper suggested, and there is nothing in that list that allows for underscores to be used. WordPress allows underscores to be used, but BuddyPress does not. I deactivated BuddyPress and was able to register with an ‘_’ underscore in my username. I am working on a hack for this as we speak.

    WordPress 3.9.1 / BuddyPress 2.0.1 Installed

    #183479
    Hope
    Participant

    Hi @mehdi-w,

    I noticed that you posted a topic about this issue but it’s closed now! Did you find any solution?

    Thanks in advance
    Hope

    adamt19
    Participant

    Still trying to wrap my head around taking advantage of these built in filters..

    I need to change the alt-text here so that the member’s Full name is not shown. We’re using the “Usernames Only” plugin but it does not cover a few usages of our users’ names, such as in alt-text on /members avatars, as well as in pictures.php.

    So first… avatars. The function in question:

    function bp_member_avatar( $args = '' ) {
    	echo apply_filters( 'bp_member_avatar', bp_get_member_avatar( $args ) );
    }
    	function bp_get_member_avatar( $args = '' ) {
    		global $members_template;
    
    		$fullname = !empty( $members_template->member->fullname ) ? $members_template->member->fullname : $members_template->member->display_name;
    
    		$defaults = array(
    			'type'   => 'thumb',
    			'width'  => false,
    			'height' => false,
    			'class'  => 'avatar',
    			'id'     => false,
    			'alt'    => sprintf( __( 'Profile picture of %s', 'buddypress' ), $fullname )
    		);
    
    		$r = wp_parse_args( $args, $defaults );
    		extract( $r, EXTR_SKIP );
    
    		return apply_filters( 'bp_get_member_avatar', bp_core_fetch_avatar( array( 'item_id' => $members_template->member->id, 'type' => $type, 'alt' => $alt, 'css_id' => $id, 'class' => $class, 'width' => $width, 'height' => $height, 'email' => $members_template->member->user_email ) ) );
    	}

    and what I tried:
    /* Hide FUll Name from member avatar */

    add_filter('bp_member_avatar', 'mm_hide_name_in_alt_text');
    
    function mm_hide_name_in_alt_text() {
      $defaults = array(
        'type'   => 'thumb',
        'width'  => false,
        'height' => false,
        'class'  => 'avatar',
        'id'     => false,
        'alt'    => 'Profile Picture' );
        
        return $defaults;
    }

    Looking to understand why this isn’t working?

    domi81
    Participant

    hey,

    I would like to customize the layout of the member profile page. So I edited the
    buddypress.css, dynamics.css and app.css. Everything works fine. But there is one weird
    problem: after a while of doing nothing(!) the profile page layout is switching back to
    normal. Well, almost. A lot of modifications are missing though. I have to re-upload
    the CSS files to get it back to my customized layout. This really is weird, because I
    didn’t do anything. How can that be? Is this a buddypress-problem?

    I never had a situation like this. It’s like some “program” gets into the files and changes
    the values back to default.

    I hope you understand what I mean and can help me out. This makes me crazy!

    Cheers
    domi

    #183447
    srikarnl
    Participant

    I just installed Buddypress, on all the buddy press page i have observed some words which i am not able to remove you can see it live here (lkujhbkj0) it happens on all buddypress pages, how can i remove it?

Viewing 25 results - 25,176 through 25,200 (of 94,555 total)
Skip to toolbar