BuddyBoss Home – Web Support Forums Themes BuddyBoss theme Changing "You cannot reply to this topic message"

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

    #30730
    @palmdoc

    Hi. Apologies in advance if this is in the wrong section.
    My forums are tied in with Buddypress Groups. I want to change the string “You cannot reply to this topic” for members who cannot reply because they have not joined the group, to a more friendly “You cannot reply to this topic unless you Join the Group”
    Does anyone know how I can customise the child theme so that the message is displayed as such?

    Many thanks!

    Answers

    #30794

    Alyssa
    Participant
    @alyssa-buddyboss

    @palmdoc I believe the bbPress language file will do this 🙂

    #30801
    @palmdoc

    Thanks for the tip.
    In the bbpress/languages folder there is a bbpress.pot file

    I changed the msgstr section as such

    #: templates/default/bbpress/form-reply.php:174
    msgid “You cannot reply to this topic”
    msgstr “You cannot reply to this topic unless you Join the Group first. (The Join Group button is at the top of the page).”

    but it didn’t seem to work.

    Anyway I edited form-reply.php and changing the string there works. I guess I have to copy form-reply.php to the Buddyboss child theme?

    #30822

    Alyssa
    Participant
    @alyssa-buddyboss

    @palmdoc is this file in the parent theme or bbpress?

    #30833
    @palmdoc

    The file is in bbpress

    I got the solution in the bbpress forums:

    http://bbpress.org/forums/topic/replacing-you-cannot-reply-to-this-topic/

    #30841

    Alyssa
    Participant
    @alyssa-buddyboss

    Sounds good, thanks for the follow up!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The question ‘Changing "You cannot reply to this topic message"’ is closed to new replies.