BuddyBoss Home – Web Support Forums Themes BuddyBoss theme Posts on the homepage…

Viewing 10 posts - 1 through 10 (of 10 total)
  • Question

    #30838
    @multimartin

    Hello,

    I wondered if it is possible to have the full text of posts displayed on the homepage as opposed to just the summary?

    Many thanks,
    Martin

    Answers

    #30848

    Alyssa
    Participant
    @alyssa-buddyboss

    @multimartin absolutely! First child theme tutorial if you are not using one: https://www.buddyboss.com/child-themes/

    Copy content.php from your parent theme to child theme then edit line 56 from this:
    the_excerpt()
    to this:
    the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'buddyboss' ) )

    #30851
    @multimartin

    Thanks – that’s brilliant. It worked!

    Could you also help me with another problem. I already have lots of avatars uploaded via WordPress but BuddyPress or the theme is over-riding them and displaying a ‘Mystery Man’ – is it possible to have BuddyBoss use the WordPress avatars?

    Martin

    #30852

    Alyssa
    Participant
    @alyssa-buddyboss

    @multimartin add this to your child theme functions.php file:
    remove_filter( 'avatar_defaults', 'buddyboss_addgravatar' );

    #30853

    Alyssa
    Participant
    @alyssa-buddyboss

    add this to remove the default BuddyBoss group avatar as well:

    remove_filter( 'bp_get_group_avatar', 'buddyboss_default_group_avatar');
    remove_filter( 'bp_get_new_group_avatar', 'buddyboss_default_group_avatar' );
    #30855
    @multimartin

    Hello again,

    That seems to have just made the ‘Mystery Man’ avatars appear in the back-end too. Previously the front-end showed the Mystery Man avatars and the back-end showed my custom avatars.

    Any ideas?

    Martin

    #30857
    @multimartin

    Adding remove_filter( 'get_avatar', 'bp_core_fetch_avatar_filter', 10, 5 ); to the functions files means that my correct avatars display under ‘Users’ in the back-end but the avatar that displays on the front-end is the mystery man.

    #30885

    Alyssa
    Participant
    @alyssa-buddyboss

    @multimartin the BuddyBoss Mystery Man is very similar to the WP version. Are you certain it is the same one?

    #30897
    @multimartin

    I use a plug-in to make sure that Google Profile avatars are used as WordPress avatars. The plug-in sets these in WordPress as the accounts avatars – they display across all aspects of my WordPress MU site except the BuddyPress site – which displays the Mystery Man. I can change it to the BuddyBoss Mystery Man but it will still not display my of my WordPress avatars.

    #30908

    Alyssa
    Participant
    @alyssa-buddyboss

    @multimartin this is the only needed code: remove_filter( 'avatar_defaults', 'buddyboss_addgravatar' ); If you continue to have issues you will need to contact the plugin owner as the above code will cause the BuddyBoss functions to not load.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The question ‘Posts on the homepage…’ is closed to new replies.