Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 270 total)
  • Profile photo of imath
    imath
    Moderator

    @imath

    @creamundo

    Let’s be sure it’s a problem!

    Could you go in WordPress Administration / Settings / Discussion and check you are allowing avatar display in your WordPress.

    Discussion

    I’m saying this because you should at least view a mystery man as your avatar πŸ˜‰

    Profile photo of imath
    imath
    Moderator

    @imath

    Hi there, let’s try to reply to one problem at a time!

    Now the posts do appear in activity stream, but not the comments. If i comment on a post, the stream doesn’t show the comments, but if i comment on a post via activity stream, the comment is then seen on a post and on the activity stream.

    I guess, this means the BuddyPress “Site Tracking” is active.

    1/ WordPress Administration > BuddyPress Settings > Options Tab – Activity Settings section:
    Setting ‘Allow activity stream commenting on blog and forum posts’ is not checked. It means when a post or a comment is posted, then an activity will be generated, but it’s not possible to add an “Activity comment” to the generated activities. Just tested with latest WordPress and BuddyPress 2.5.2 and it works as expected:
    No sync

    2/ WordPress Administration > BuddyPress Settings > Options Tab – Activity Settings section:
    Setting ‘Allow activity stream commenting on blog and forum posts’ is checked. This means you chose to synchronize comments between the Post object and the corresponding activity object. So a comment on the activity about the post will generate a regular post comment and a regular post comment will generate an activity comment on the activity about the Post. Just tested with latest WordPress and BuddyPress 2.5.2 and it works as expected:
    Sync on

    Now @cmavrikas is talking about something else i think. He wants the activity comments to also be displayed like regular activities: in stream mode.
    I then advise to use another filter to avoid parsing args / checking the current object of the Ajax querystring:

    function activity_comments_stream_mode( $args = array() ) {
    	return array_merge( $args, array(
    		'display_comments' => 'stream',
    	) );
    }
    add_filter( 'bp_before_has_activities_parse_args', 'activity_comments_stream_mode', 20, 1 );

    I just tested it, and again it’s working fine in latest WordPress / BuddyPress 2.5.2…

    I advise you to deactivate plugins/come back to a default WordPress theme and do the opposite work to find the plugins or theme that prevents this regular behaviors.

    Profile photo of imath
    imath
    Moderator

    @imath

    Great work on the packaging @dcavins πŸ™‚

    Profile photo of imath
    imath
    Moderator

    @imath

    Hi there, what happens if you do something like this :

    <?php
    global $members_template;
    $reset_members_template = $members_template;
    
    if ( bp_has_members( 'type=newest&max=6' ) ) : ?>         
                        <?php while ( bp_members() ) : bp_the_member(); ?>                      
                            <a href="<?php bp_member_permalink() ?>"><?php bp_member_avatar('type=full&width=125&height=125') ?></a>
                        <?php endwhile; ?>
    <?php endif; 
    
    $members_template = $reset_members_template;
    ?>

    Is the issue still there ?

    Profile photo of imath
    imath
    Moderator

    @imath

    Thanks @djpaul

    I’ve replied on the ticket:
    https://buddypress.trac.wordpress.org/ticket/6931#comment:1

    And here’s a gist if you’re eager to have this behavior for your Multiblog set up:
    https://gist.github.com/imath/91d56292673e6de61597

    Profile photo of imath
    imath
    Moderator

    @imath

    Hi,

    By default the avatar sizes are :
    – 150x150px for Full size
    – 50x50px for thumb size

    If a message is asking for a different minimum size, then it’s meaning a plugin or a theme is using some of our filters/constants to edit these sizes.

    You can search for this filter bp_core_avatar_full_width or this constant BP_AVATAR_FULL_WIDTH outside of BuddyPress to find who’s setting the size to be 580x580px.

    Profile photo of imath
    imath
    Moderator

    @imath

    yw @airsid, thanks for sharing about the trouble with Ewww Image Optimizer. I’ll try to understand why it happens.

    Profile photo of imath
    imath
    Moderator

    @imath

    Profile photo of imath
    imath
    Moderator

    @imath

    Hi all,

    Thanks a lot for your feedback, but just saying “it’s not working for me” is not helping that much πŸ™‚

    Let’s share as much infos as possible..

    WordPress version?
    Theme activated?
    Plugins dealing with media activated?
    Browser used?
    Host ?

    I’m saying this because i was able to set my cover image on @christopherwayne website and set my avatar using the wp-admin/profile Extended profile area of his website.

    Perhaps try to clean your browser’s cache…

    Profile photo of imath
    imath
    Moderator

    @imath

    @christopherwayne found the problem was relative to the theme he is using. @leg3ndary can you switch theme to see if that’s also the case for you.

    If the theme is problematic for the new avatar UI, can you tell me if the content of the page is loaded using Ajax ?

    Profile photo of imath
    imath
    Moderator

    @imath

    Oh sorry, you can use the bp-custom.php file to put these filters: https://codex.buddypress.org/themes/bp-custom-php/

    Profile photo of imath
    imath
    Moderator

    @imath

    i have the problem after migrating my wordpress installation from one server to another

    Meaning this wasn’t happening before this migration?

    In the meantime, you can temporarly fallback to the “old” Avatar UI by adding this filter:

    // This will disable the Avatar UI and let you use the old UI
    add_filter( 'bp_avatar_is_front_edit', '__return_false' );
    
    // These will disable the cover image.
    add_filter( 'bp_is_profile_cover_image_active', '__return_false' );
    add_filter( 'bp_is_groups_cover_image_active', '__return_false' );
    Profile photo of imath
    imath
    Moderator

    @imath

    Hi,

    thanks everyone for reporting this issue. Could you give us details about your configs ?

    WordPress version?
    Theme activated?
    Plugins dealing with media activated?

    Profile photo of imath
    imath
    Moderator

    @imath

    Profile photo of imath
    imath
    Moderator

    @imath

    Hi,

    could you share a gist with the code you’re using to add the activity to the group ?

    Profile photo of imath
    imath
    Moderator

    @imath

    Hi,

    if the message “That photo is too big” appeared on avatar upload and not on cover image upload for the same image, i guess it’s possible a plugin/script/function or something i can’t have an idea of at the moment is either:
    – using define( 'BP_AVATAR_ORIGINAL_MAX_FILESIZE', x );
    – using `add_filter( ‘bp_core_avatar_original_max_filesize’, function( $size ) {
    return x;
    } );`
    – using `add_filter( ‘bp_attachments_get_max_upload_file_size’, function( $size, $type ) {
    if ( ‘avatar’ === $type ) {
    $size = x;
    }
    return $size;
    } );`

    where x is an int for the max filesize.

    Profile photo of imath
    imath
    Moderator

    @imath

    @danielmariveles

    Just tested on a fresh install (regular config & multisite one).

    When a user registers from the front-end registration form on both configs, i can’t manage to reproduce your issue.

    first_name/last_name user meta are created
    display_name field in table wp_users is created
    value for the xProfile Name field is created in wp_bp_xprofile_data table

    Title of the page is looking like this FirstName LastName - Site Name for profile’s page.

    So everything works fine for me.

    Are you sure it’s happening when a user registers ?
    Have you tried without any other plugin activated than BuddyPress ?

    Profile photo of imath
    imath
    Moderator

    @imath

    @aldin_abdagic thanks for your enthousiasm about the suggestion plugin πŸ™‚

    Profile photo of imath
    imath
    Moderator

    @imath

    @djpaul i’m not sure it’s linked to xprofile sync it could be something going wrong during the signup process. I will check 4.4.1 changelog and run some tests this week end. Is it a multisite config or a regular one ?

    Profile photo of imath
    imath
    Moderator

    @imath

    yw @sm60 πŸ™‚

    Profile photo of imath
    imath
    Moderator

    @imath

    Thanks a lot for your feedbacks @joost-abrahams & @jpospina πŸ™‚

    Profile photo of imath
    imath
    Moderator

    @imath

    Thanks for your feedback

    For the shortcuts, you can try this plugin: https://github.com/imath/modal-buddy

    I’ll keep in mind the 2 other points.

    Profile photo of imath
    imath
    Moderator

    @imath

    You can do it without the cover image settings.

    if ( ! $cover_image_url ) {
        $cover_image_url = 'http://mysite/link-to-default-coverimage.jpg';
    }
    Profile photo of imath
    imath
    Moderator

    @imath

    @garprogram yw πŸ™‚

    Profile photo of imath
    imath
    Moderator

    @imath

    yw @venutius

    if you’re overridding templates, i advise you to update them according to the changes we introduced in 2.4.

Viewing 25 replies - 1 through 25 (of 270 total)
Skip to toolbar