Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 15,951 through 15,975 (of 94,565 total)
  • Author
    Search Results
  • #251458

    In reply to: Wrong emails editing

    palla5000
    Participant

    Hi,
    thanks for your reply.

    – By ‘save’, you mean update?
    Yes, sorry for my english

    – Have you tried editing and updating any other emails?
    – If so, did the same issue occur?
    Yes. If we update any mail, the mail are saved as post type, not as BuddyPress Emails type (bp-email type).

    – Have you tried using the Email Repair tool?
    – wp-admin > Tools > BuddyPress > ‘Reinstall emails (delete and restore from defaults).’
    This will delete your current emails including any edits you made to them.
    “Reinstall emails” work fine but the problem is the same: all new mails are not updatable.

    – What version of WP are you using?
    We use WordPress 4.4.2.

    BR

    #251456
    abuyaman
    Participant

    I tried disabling BP Email using the below two links instruction on how creating bp-custom.php & disabling code:

    bp-custom.php

    Emails

    However, I am still getting the plain text mail!

    Please advise..

    #251455
    kamarr
    Participant

    P.S. I’ve tried adding the code from in index.php from wp-content\plugins\buddypress\bp-templates\bp-legacy\buddypress\members\index.php to the code in my themes index.php however the problem still exist.

    As you stated before I believe creating another directory template in the Buddypress plugin would be best. That way the plugin could still interact within itself, pulling the proper php and css.

    How can I add a custom directory to the plugin to be made available on the BuddyPress Settings page?

    What file should I edit?

    Is there codex on the topic?

    Thanks again

    #251453

    In reply to: Wrong emails editing

    shanebp
    Moderator

    By ‘save’, you mean update?

    Have you tried editing and updating any other emails?
    If so, did the same issue occur?

    Have you tried using the Email Repair tool?
    wp-admin > Tools > BuddyPress > ‘Reinstall emails (delete and restore from defaults).’
    This will delete your current emails including any edits you made to them.

    What version of WP are you using?

    #251450
    simbaclaws
    Participant

    Hey everyone,
    I’m trying to adjust the admin bar for logged out users so that there is no register and login button and that the anonymous user profile shows up with register, logout, password etc.

    I’ve been searching for a while now and haven’t been able to find out how to do it.
    I’ve tried doing it through my functions.php by using $wp_admin_bar->remove_menu and $wp_admin_bar->add_menu. I’ve even put a script in to check what the node ID’s were of my menu’s in order to be able to remove or add them.

    I’ve seen previous posts where people said that this had something to do with either your theme or your plugins, so I disabled all plugins except buddypress and enabled twenty fifteen theme to see if it changed anything. Which it did not.
    I’m using wordpress 4.4.2 with buddypress 2.5.1 on my localhost machine.

    I’ve also looked at the following page:

    Modifying the Toolbar

    But it seems like this is a deprecated-guide?
    Does anyone know of the current way to make this work?
    I basically want the same wp-admin-bar-my-account to work for logged out users. Which is displayed as node ID: my-account.

    I have already set my site to allow users to register and I have also made sure that logged out users are capable of seeing the bar in my buddypress settings. Which works because I can see the bar with a login and register button on it but not with the my-account profile on it. And I can also use the registration form for new users.

    Does anyone have any ideas on how I can make this work?

    #251447
    alexandra55
    Participant

    @bowromir thank you so much for your reply. Unfortunately, it did not work for me. It seems that there is a problem with the following function: function themename_redirect_author_archive_to_profile

    #251444
    kamarr
    Participant

    Thank you Dan for replying!
    The solution is much needed.

    *apologizes, I’m not sure of the proper etiquette for using the @ function. What would be the best way to use that for future references.

    You confirmed my suspicions, that the search function can be drawn from the index.php file located in wp-content\plugins\buddypress\bp-templates\bp-legacy\buddypress\members.

    I agree that assigning the page on the front end would be extremely easier, however I have two directory’s. One custom and one buddypress original.

    The goal is to have more than one directory page with different parameters.

    For example:

    A directory for members who are from the united states only

    vs a directory for members who are artist only

    How could I customize the front-end buddypresss directory setup page to add additional assignable directories?

    for example:
    If I create an addition members-loop.php and name it art-members-loop.php, how would I get that show up on the buddpress front-end under the directory pages set up section as an additional directory set up option?

    Thank you again for your help! It is much needed.

    #251440

    In reply to: bp-custom

    shanebp
    Moderator

    Did you read this:
    https://codex.buddypress.org/themes/bp-custom-php/

    ‘bp-custom.php does not exist by default’
    You need to create it.

    #251438
    lanvalencia
    Participant

    I have one website of dating in wordpress, the wordpress is the version 4.5 and the buddypress version is 2.5 and this version do not send the email [{{{site.name}}}]{{friend.name}}accepted your friendship request and the rest of email yes is send, i make new website with this version and do not work, no work in my old site and in the new site, any people can help me? thank you.

    siteXmedia
    Participant

    When I try and upload a profile photo or cover photo I am seeing

    Fri Mar 18 16:50:41.550381 2016] [fcgid:warn] [pid 22118] [client 82.6.0.0:32997] mod_fcgid: stderr: PHP Fatal error: Cannot use object of type WP_Error as array in /home/domain/public_html/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 908, referer: http://domain.com/miembros/manager/profile/change-avatar/

    on line 908 I see

    $bp->avatar_admin->image->file = $bp->avatar_admin->resized[‘path’];

    Any ideas?

    Thanks

    #251436
    pcpro178
    Participant

    I’m unable to set the Search Page, Register, and Activate pages in my BuddyPress settings. I tried the Twentysixteen theme, but it didn’t fix the issue.

    buddypress settings

    How do I go about finding a theme that is fully compatible with BuddyPress? Maybe my expectations are just unrealistic. Is my only option to modify/create a theme and commit to maintaining it as WordPress/BuddyPress evolves?

    1. Which version of WordPress are you running?

    WordPress Version 4.4.2

    2. Did you install WordPress as a directory or subdomain install?
    3. If a directory install, is it in root or in a subdirectory?

    Installed WP at domain root.

    4. Did you upgrade from a previous version of WordPress? If so, from which version?

    No

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.

    Yes, this is a new install.

    6. Which version of BP are you running?

    BuddyPress Version 2.5.1

    7. Did you upgrade from a previous version of BP? If so, from which version?

    No

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?

    • Akismet (v3.1.8)
    • Bad Behavior (v2.2.18)
    • bbPress (v2.5.8)
    • BuddyPress (v2.5.1)
    • Google Analytics (v1.0.6)
    • Jetpack by WordPress.com (v3.9.4)
    • Wordfence Security (v6.0.24)
    • WP Idea Stream (v2.3.1)
    • Yoast SEO (v3.1.1)

    9. Are you using the standard WordPress theme or customized theme?

    I’ve tried several themes, including the WP Twentysixteen theme.

    10. Have you modified the core files in any way?

    No

    11. Do you have any custom functions in bp-custom.php?

    No, I’ve added nothing.

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

    bbPress Version 2.5.1

    13. Please provide a list of any errors in your server’s log files.

    ??? I don’t know where these are.

    14. Which company provides your hosting?

    DreamHost

    15. Is your server running Windows, or if Linux; Apache, nginx or something else?

    Apache on Linux

    #251433
    gungs
    Participant


    How can I move a profile window like an above image (buddypress.org > Support Page) ?

    And give me an idea to change css of this window.
    I want use this window like this buddy presspage.

    Regards,
    gungs

    @mcuk
    Participant

    Hi all,

    Trying to set the max file size limit for avatars and cover-images that users are able to upload.

    1. The define ( 'BP_AVATAR_ORIGINAL_MAX_FILESIZE', 1024 ); doesn’t seem to be working. Instead it gives the error message warning that the photo size is too big (even when the photo size is only 200kB). From what I understand, the int constant here is in kB, so am attempting to set the limit at 1 MB (1024kB) while testing.

    2. I have also tried using @imath ‘s code from this link which uses the filter in bp-core-attachments.php line 107: https://buddypress.org/support/topic/upload-failed-error-was-that-photo-is-too-big-please-upload-one-smaller-than/ . This code doesn’t seem to be having any effect on upload size which appears to be somewhere around 2 MB. I can set $size to 1 and still upload images of 1.7MB without a problem.

    add_filter( ‘bp_attachments_get_max_upload_file_size’, function( $size, $type ) {
    	if ( ‘avatar’ === $type ) {
    	$size = 1048576; //1MB in bytes. In practice approx 2MB seems to be upload limit
    	}
    	return $size;
    } );

    Any ideas?

    #251430
    harleycodr
    Participant

    Nope. I just have Buddypress installed without any email plugins. Just using whatever WordPress uses as a standard! I’d love to get this working as I have an organization that I am proposing we convert to this as our members are very active on FaceBook and why not make our organization’s website interactive with BuddyPress.

    graeme_bryson
    Participant

    I’m looking to exclude a single user ID from the main activity feed only. Directly above the main feed, I’m using a shortcode to pull in the latest post from this same single user, thus creating a ‘sticky’ post as this account only posts announcements. However, the code below seems to hide the user’s content across the entire site, so it doesn’t appear in either the shortcode-generate feed or the main feed.

    Essentially, is there a way I can specifically target the main buddypress activity feed only with this exclusion? Thanks in advance for any help you can provide.

    // hide admin's activities from all activity feeds
    function bpfr_hide_admin_activity( $a, $activities ) {
    
    	// ... but allow admin to see his activities!
    	if ( is_site_admin() )
    	return $activities;
    
    	foreach ( $activities->activities as $key => $activity ) {
    		// ID's to exclude, separated by commas. ID 1 is always the superadmin
    		if ( $activity->user_id == 784  ) {			
    
    			unset( $activities->activities[$key] );
    
    			$activities->activity_count = $activities->activity_count-1;
    			$activities->total_activity_count = $activities->total_activity_count-1;
    			$activities->pag_num = $activities->pag_num -1;
    		}
    	}
    	// Renumber the array keys to account for missing items
    	$activities_new = array_values( $activities->activities );
    	$activities->activities = $activities_new;
    
    	return $activities;
    
    }
    add_action( 'bp_has_activities', 'bpfr_hide_admin_activity', 10, 2 );
    #251426
    danbp
    Participant

    Please don’t call out people individually (this was already told to you by @shanebp)

    bp-default is no more the default theme for BP. You can use almost any other existing theme.
    While testing, i recommend you to use one of the Twenty’s theme shipped with WordPress.

    Then to create a child theme and copy into it the needed file from wp-content/plugins/buddypress/bp-templates/buddypress/

    As reminder, a page structure contains at least a header, a content and a footer template, and sometimes a sidebar, depending the theme you use.

    If you open index.php from wp-content\plugins\buddypress\bp-templates\bp-legacy\buddypress\members\index.php you should get the search form in that template.

    Though if you asign the Member page as home page in WP’s Read settings, you won’t have to struggle much with customization.

    Read Codex attentively by starting from here.

    You may also explain what you want to do exactly and tell which theme you use.

    #251423
    ds123
    Participant

    can you guys please help me get this feature working again? we really relied on it and this alone kept me from upgrading to buddypress for YEARS i just went from version 1.2 to the latest …and of course lost the feature where when you comment the reply goes to top of activity ..this keeps the conversation going otherwise stuff just gets buried …does anyone else agree?

    this is the plugin we were using which from everything i read is not ok to use on latest version of bp:
    https://wordpress.org/support/view/plugin-reviews/buddypress-activity-stream-bump-to-top

    #251421
    kamarr
    Participant

    Special thanks to @valuser and @shanebp for helping create a custom member directory by adding the Buddypress members-loop.php to my themes page.php, and renaming it page-local-members-php.

    *For the step by step, here is the link to the discussion – https://buddypress.org/support/topic/how-to-display-additional-member-directory/#post-251127

    There are now two Directories listed on the website. The current issue resides with the styling. The original member directory appears to obtain its structure from the Buddypress index.php file located in the wp-content/plugins/buddypress/bp-themes/bp-default/members-folder, while the Secondary ‘Custom’ member directory is missing the original functions like the search, role search, order by, and some basic css such as removing the bulletins on the member list.

    What would be the best solution to fix this.

    Would adding the code from index.php file from the wp-content/plugins/buddypress/bp-themes/bp-default/members-folder solve it?

    *I wonder, would it be possible to make an additional page template that would shows on the wordpress frontend part of the plugin on the Dashboard/settins/buddypress/pages section as an additional directory.
    That way you could route it from to a page from the front end the same way you route member, activity stream, register, and activate page keeping all files it in the buddypress folder.

    Update:

    I’ve tried adding the code from the index.php file located in the wp-content/plugins/buddypress/bp-themes/bp-default/members-folder to the index.php file located in the wp-content/themes/my-theme/-folder however the default styling and functions are still missing.

    Any help on this will be greatly appreciated.

    #251419
    Bowe
    Participant

    @alexandra55 you can achieve this by adding a little snippet to your bp-custom.php or functions.php.

    add_action( 'template_redirect', 'themename_redirect_author_archive_to_profile' );
    function themename_redirect_author_archive_to_profile() {
      if(is_author()){
        $user_id = get_query_var( 'author' );
        wp_redirect( bp_core_get_user_domain( $user_id ) );
      }
    }

    Hope this helps!

    #251417
    Paul Wong-Gibbs
    Keymaster

    > When they log in, they would see my wordpress dashboard.

    That itself doesn’t sound like something BuddyPress ought to cause. What caching plugins were/are you running?

    #251412
    Paul Wong-Gibbs
    Keymaster

    @oakcreative I know this is an old thread, but we (BuddyPress) could change out the #content_ifr selector for something less specific if that’s what you found you needed to do. Can you confirm?

    #251408
    beboze
    Participant

     
    1. ON CREATING A DOCUMENT FROM THE BACKOFFICE

    Concerning table on creating a document
    wp_posts
    (id = 1511)
    wp_postmeta
    (post_id = 1511)

    wp_term_relationships
    (object_id = post_id = 1511)

    wp_term_taxonomy
    (term_taxonomy_id =

    wp_terms

    On opening the document from the FrontPage the category name is missing

    2. ON CREATING A DOCUMENT FROM THE FRONT OFFICE

    Concerning table on creating a document
    wp_posts
    (id = 1514)
    wp_postmeta
    (post_id = 1514)
    wp_term_relationships
    (object_id = post_id = 1514) 2 rows of the same post_id

    wp_term_taxonomy
    2 term taxonomy id
    Id = 32 and id = 204

    wp_terms = 26

    On opening the document from the FrontPage the category name is present

    But on opening the document from the back office the category name is duplicated.

    CODE MODIFICATION
    File modified:wp-content/plugins/buddypress-docs/includes/functions.php
    Line number: 126
    function bp_docs_get_item_term_id($item_id, $item_type, $item_name = ” ) {
    global $bp;

    $groups_dir = ABSPATH.’wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-group.php’; //ss add this to get the class Bp_Groups_Group
    require_once($groups_dir);

    //if ( empty( $item_id ) ) {
    //return ;
    //}

    // Sanitization
    // @todo Maybe this should be more generous
    $slug_group = BP_Groups_Group ::get_slug($item_id); // ss add this to test the group from tbl wp_term

    $item_type = ‘group’ == $item_type ? ‘group’ : ‘user’;

    //$item_term_slug = ‘bp_docs_associated_’ . $item_type . ‘_’ . $item_id;
    $item_term_slug = ‘group’ == $item_type ? $slug_group : ‘bp_docs_associated_’ . $item_type . ‘_’ . $item_id;

    $item_term = get_term_by( ‘slug’, $item_term_slug, bp_docs_get_associated_item_tax_name() );
    //var_dump($item_term);
    //die(‘xxx’);
    // If the item term doesn’t exist, then create it
    if ( empty( $item_term ) ) {
    // Set up the arguments for creating the term. Filter this to set your own
    switch ( $item_type ) {
    case ‘group’ :
    $item = groups_get_group( ‘group_id=’ . $item_id );
    $item_name = $item->name;
    break;

    case ‘user’ :
    default :
    $item_name = bp_core_get_user_displayname( $item_id );
    break;
    }

    $item_term_args = apply_filters( ‘bp_docs_item_term_values’, array(
    ‘description’ => sprintf( _x( ‘Docs associated with the %1$s %2$s’, ‘Description for the associated-item taxonomy term. Of the form “Docs associated with the [item-type] [item-name]” – item-type is group, user, etc’, ‘bp-docs’ ), $item_type, $item_name ),
    ‘slug’ => $item_term_slug,
    ) );

    // Create the item term
    $item_term = wp_insert_term( $item_name, bp_docs_get_associated_item_tax_name(), $item_term_args );
    $term_id = isset( $item_term[‘term_id’] ) ? $item_term[‘term_id’] : false;
    } else {

    $term_id = $item_term->term_id;
    }
    //echo $item_id;
    //die(‘xxx’);
    return apply_filters( ‘bp_docs_get_item_term_id’, $term_id, $item_id, $item_type, $item_name );
    }
    Description
    The function is called when you create a document from the front office.
    I have modified the function where it going to check the corresponding slug is present in the table wp_terms.
    First I get all the category slug from BP_group , then I use them to verify if they are present in the table wp_term, if present therefore no need to add a second (prevent duplication).

    Result: No duplication but the category is null from the front office.

    #251407
    dvpl
    Participant

    I am using sendgrid plugin to send emails, buddypress sending the plain text html. I need HTML email. I also tried to add the following code in function.php but BP_Email showing me null value.

    add_filter( 'bp_email_use_wp_mail', '__return_false' );
    add_filter( 'bp_send_email_delivery_class', function( $delivery_class ) { 
        return 'Implementwpemailbp'; 
    } );
    class Implementwpemailbp implements BP_Email_Delivery
    {
    public function bp_email(BP_Email $email){
    //add_filter('wp_mail_content_type', 'set_html_content_type');
    
    //wp_mail($to, $subject, $message, $headers = '', $attachments = array())
    
    //remove_filter('wp_mail_content_type', 'set_html_content_type');
    var_dump(get_object_vars(BP_Email));
    }
    }

    Please help what I need to update in above code.

    #251405
    #251401
    @mcuk
    Participant

    Yeah I’ve got both lines in there already. Double checked by commenting out mine and copy paste yours too. To no avail though.

    Altering the thumbnail size (width/height) etc is fine, the defines work for those for both the full size and the thumb size. Its just changing the actual image of the thumbnail using define ( 'BP_AVATAR_DEFAULT_THUMB', $img_url ); .

    Came across this post from a couple of years ago where Henry has had the same issue it seems. Don’t know if it got resolved…

    https://buddypress.org/support/topic/bp_avatar_default_thumb-broken/

Viewing 25 results - 15,951 through 15,975 (of 94,565 total)
Skip to toolbar