Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 10,576 through 10,600 (of 68,948 total)
  • Author
    Search Results
  • #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.

    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

    @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.

    #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.

    #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?

    #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/

    #251399
    danbp
    Participant

    Have you tried both lines i indicated previously ?
    Also, what about thumbnail size in WP settings ? Have you checked that ?

    I’m not very well with attachments… But you’re proably right. See her for all bp_atachment references
    http://hookr.io/plugins/buddypress/#index=a&search=bp_attachments

    #251397
    @mcuk
    Participant

    Hi @danbp,

    Thanks for reply. Yeah I’ve already got the gravatar code in bp-custom and all the define’s here work fine apart from the BP_AVATAR_DEFAULT_THUMB for some reason.

    Is define ( 'BP_AVATAR_DEFAULT', $img_url ); supposed to change thumbnail avatars too as that is what is happening (which seems to compensate for the thumb define not working but is odd)?

    In addition to that, are there equivalents for setting the cover-image dimensions? The closest I have come across is the filter apply_filters( 'bp_attachments_get_cover_image_dimensions', $wh, $settings, $component );. Is that the right one to use?

    Cheers

    #251388
    shanebp
    Moderator

    You might be able to use this filter
    apply_filters( 'bp_email_set_subject', $subject, $this );
    And run stripslashes on the $subject.

    Something like:

    function richdal_email_subject( $subject, $obj ) {
        $subject = stripslashes( $subject );
        return $subject;
    }
    add_filter( 'bp_email_set_subject', 'richdal_email_subject', 15, 2 );

    But you shouldn’t have to, afaik.
    The issue is probably just due to an over-sight.

    You can open a ticket here, using the same user / pw as this forum.

    Include a link to this topic.
    And if you try the filter above, the results of that test.

    #251380
    dvpl
    Participant

    Additional Information.

    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.

    #251379
    Thorsten :-)
    Participant

    Hi guys,

    I found out that mandrillapp.com works as SMTP service with BuddyPress because of replacing all line feeds ("\n") by <br/> in the message body. The issue there is that mandrillapp.com will become an AddOn of MailChimp with day of 27th April this year.

    For this reason I searched for another SMTP service and tried SendGrid. Both SMTP services can use individual HTML templates, not from BuddyPress but you can style it within your account there. For now SendGrid cannot replace the line feeds as mandrillapp.com does but I contacted the support team of SendGrid and they will work on a solution for it. Hope to get the solution soon.

    Best,
    Thorsten

    #251377
    abuyaman
    Participant

    Thanks Paul for your quick reply 🙂

    That’s a valid point! I am using Easy WP SMTP right now! I need to deliver situation like subscription and welcome emails..

    To make clear, would you please advise which plugin is compatible with buddypress! I guess buddypress situation giving me some cool features such as user engagement. However, I wonder if it is integrated with the theme I’ve installed WPLMS since it delivers some emailing features related to courses status as well does WooCommerce.

    Thanks again for your support
    Cheers
    Abuyaman

    #251375
    riofriz
    Participant

    Hi, i am so sorry for the double post, but i have a urgent need to finish this project, and i am still stuck on the buddypress personalization. On your articles you say is the easiest thing to do, but i find it pretty complicated. Also all the guides i found are probably out to date (we are talking about stuff from 2013/2014, plenty of versions ago.
    If i create a folder called buddypress (or community) and paste the bp-legacy content in there, nothing changes.
    If i paste the bp-legacy content directly in the theme folder instead, the changes apply, but it looks like buddypress can’t read the stylesheets and js and nothing works.

    Am i missing something? Maybe i am not good in searching stuff and you have some up to date guides on how to implement buddypress on your wp theme.

    Please help me out,
    regards,
    Fernando.

    #251374
    Paul Wong-Gibbs
    Keymaster

    Any plugin that redeclares wp_mail() will cause BuddyPress to send plain text emails.
    The Postman SMTP plugin redeclares the function in Postman/PostmanWpMailBinder.php.

    A solution might be to find another SMTP plugin, but it depends what exactly you are using the Postman plugin for.

    Paul Wong-Gibbs
    Keymaster
    #251365
    abuyaman
    Participant

    Hey,

    I have the same problem that buddypress just sends plain text emails not HTML?!

    Any help is highly appreciated.
    Cheers
    Abuyaman

    #251359
    shanebp
    Moderator

    Sounds like you’re mkissing a call to bbpress pagination.

    Maybe this?
    <?php bbp_get_template_part( 'pagination', 'topics' ); ?>

    btw – this is BuddyPress support forums – bbpress support forums are here.

    Paul Wong-Gibbs
    Keymaster

    See https://buddypress.trac.wordpress.org/ticket/6961

    I’ve added Secure cookie support, but not HttpOnly because some (maybe all) are accessed with Javascript; I haven’t time to audit all the cookies in that level of detail at the moment, so maybe we can do that in the future if someone helps investigate.

    r-a-y
    Keymaster

    I cannot duplicate this problem with Theme My Login.

    I’m using the default Theme My Login settings untouched and was able to go to the register page and successfully submit the form with no redirections.

    Make sure for BuddyPress that you selected the BuddyPress “Register” page and not TMLs.

    Also disable any plugins that might be interferring with registration like New User Approve, etc.

    Paul Wong-Gibbs
    Keymaster

    Hi

    Good question. You can’t without making changes to the BuddyPress files, which we wouldn’t recommend. This is a great idea for a feature enhancement so I’ve gone ahead and opened a ticket. We’ll have it fixed for BuddyPress 2.6 (I’m working on the patch right now).

    Thanks for the suggestion!

    #251332
    r-a-y
    Keymaster

    Did you turn on registration on your WP install? See:
    https://codex.buddypress.org/getting-started/register-and-activation-pages/

Viewing 25 results - 10,576 through 10,600 (of 68,948 total)
Skip to toolbar