BuddyBoss Home – Web › Support Forums › Themes › BuddyBoss theme › Changing "You cannot reply to this topic message"
- This topic has 5 replies, 2 contibutors, and was last updated 10 years, 3 months ago by Alyssa.
Question
August 19, 2014 at 7:54 pm #30730@palmdocHi. 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
August 20, 2014 at 4:28 pm #30794August 20, 2014 at 4:46 pm #30801@palmdocThanks for the tip.
In the bbpress/languages folder there is a bbpress.pot fileI 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?
August 21, 2014 at 2:08 pm #30822August 21, 2014 at 3:08 pm #30833@palmdocThe file is in bbpress
I got the solution in the bbpress forums:
http://bbpress.org/forums/topic/replacing-you-cannot-reply-to-this-topic/
August 21, 2014 at 5:10 pm #30841@alyssa-buddyboss
AlyssaParticipantSounds good, thanks for the follow up!
- The question ‘Changing "You cannot reply to this topic message"’ is closed to new replies.