Skip to:
Content
Pages
Categories
Search
Top
Bottom

Show full description for groups


  • American2020
    Participant

    @american2020

    I don’t understand why Buddypress is doing this, but the way it’s limiting the groups description lengths makes no sense to me.
    How can I get it so in the groups page the description is complete?

    I have a description with like 11 words and Buddypress it taking out the last 2 and replacing them with […]

    Then I have another group with a 24 words description and Buddypress still removing the last 2 words and replacing with […]

    I see no reason for this to be this way.

Viewing 13 replies - 1 through 13 (of 13 total)

  • michaelsandmichaels
    Participant

    @michaelsandmichaels

    Did you ever get a response/solution for this question? I’m wondering the same thing!


    American2020
    Participant

    @american2020

    Never looked deep into this issue as I was also trying other alternatives. But no, got no response for this.


    michaelsandmichaels
    Participant

    @michaelsandmichaels

    Thank you for the followup! What alternatives did you evaluate, and what did you end up choosing? I’ve already fully customized BuddyPress so can’t switch on this particular site, but it would be good to know for future reference. I am pretty disappointed by the lack of support for BuddyPress. Thanks!


    American2020
    Participant

    @american2020

    I don’t remember exactly what other options I tried, I finally never did the website I was planning, but I think I tried other “Social Network” type of frameworks like Dolphin (or Boonex) I believe was one and Oxwall and even elgg.


    michaelsandmichaels
    Participant

    @michaelsandmichaels

    Thanks for the info! I ended up sticking with BuddyPress with BP Better Messages to address some messaging issues in BP and may add a couple other extensions to address missing functionality.


    Varun Dubey
    Participant

    @vapvarun

    @american2020 you can use these code inside child theme functions.php or using code snippet plugin
    https://pastebin.com/xiYQNXLU


    michaelsandmichaels
    Participant

    @michaelsandmichaels

    @vapvarun, you are awesome! Thank you so much for the handy code snippet!!

    I don’t suppose you know the answer to the question posed in the thread below? 🙂

    Which file to edit – change private group message?


    American2020
    Participant

    @american2020

    @vapvarun Thanks a lot. I will give it a try on my next project.


    michaelsandmichaels
    Participant

    @michaelsandmichaels

    FYI, @vapvarun’s code snippet worked great for displaying the full description, but I just checked the error log and noticed a zillion warnings to this effect:

    PHP Warning: Use of undefined constant bp_full_group_desc_callback – assumed ‘bp_full_group_desc_callback’ (this will throw an Error in a future version of PHP) in /home/[account]/public_html/wp-content/themes/[child-theme]/functions.php on line 33

    I added single quotes around the constant, and that seems to have cleared it up:

    add_filter( ‘bp_nouveau_get_group_description_excerpt’, ‘bp_full_group_desc_callback’, 10, 3 );

    Cheers!


    wordpresslms
    Participant

    @wordpresslms

    missing single quotes in the code :

    add_filter( 'bp_nouveau_get_group_description_excerpt', bp_full_group_desc_callback , 10, 3 );
    should be

    add_filter( 'bp_nouveau_get_group_description_excerpt', 'bp_full_group_desc_callback' , 10, 3 );


    michaelsandmichaels
    Participant

    @michaelsandmichaels

    Right, exactly, that’s what I did (per my original note), and no more error messages!


    maestromike1977
    Participant

    @maestromike1977

    Hi, I’ve tried the above code but it’s not working at all when I paste into my Buddyboss child theme’s functions.php..any ideas why not?


    shanebp
    Moderator

    @shanebp

    These are the forums for BuddyPress. Please contact BuddyBoss.

Viewing 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.
Skip to toolbar