Replies
For the last 3 buttons I made it work with using the translating file to add the tag. But for the first button it is difficult cause this button also uses the same translation for presenting the title tooltip. So if someone hovers over the button he sees <span class=….</span> which is not good.
I tried to solve this via jquery to prevent the buttom from showing the title but cant make it work. If buddypress wouldn’t use the same text for this button on the button and the title it would be much easier.
So I have to stay with overwriting the core bp-friends-template file for now :-((
In case you have a solution for the first button I would be happy to hear it!
I found the 4 files where I can make my changes. It is bp-friends-template, bp-activity-template, bp-messages-template and class-bp-toolkit-block.
Regarding the first 3 templates. Will they be overwritten on next buddypress update? And how can I protect them?
Copying those files to the child theme does not work regarding to this post: https://buddypress.org/support/topic/copy-buddypress-files-into-child-theme/.