Skip to:
Content
Pages
Categories
Search
Top
Bottom

What is the best way to change “Friends” to “Contacts” sitewide..?


  • amitrwt
    Participant

    @amitrwt

    I would like to change “Friends” to “Contacts”or”Connections” sitewide. What would be the best approach to do it..? I’ll more than comfortable to make changes to any file as long as its long lasting.

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

  • louisemiller
    Participant

    @louisemiller

    hmmm, nice question, I am also interested in such changes


    amitrwt
    Participant

    @amitrwt

    Will update if I find a work around.


    metalhead
    Participant

    @aaronthomas1979

    If you haven’t already, create a child theme.

    Then copy your buddypress/template folder & subfolders over to your child theme.

    Go through each file, search for instances of the word “FRIENDS,” and replace it with “CONNECTIONS.”

    Or, you can pay a developer thousands of dollars to make a plugin do it for you 🙂


    metalhead
    Participant

    @aaronthomas1979

    If you haven’t already, create a child theme.

    Then copy your buddypress/template folder & subfolders over to your child theme.

    Go through each file, search for instances of the word “FRIENDS,” and replace it with “CONNECTIONS.”

    If you can’t find all instances of the word “FRIENDS” in these files, check your buddypress.po file and use Poedit to hack it out of there too.


    proctorINVADE
    Participant

    @dopeboy

    @aaronthomas1979 have you or anyone given that method a try? Why not use localhost and try it out?


    Prashant Singh
    Participant

    @prashantvatsh

    Hi,

    Please check this plugin https://wordpress.org/plugins/loco-translate/

    Using this plugin just go to it’s plugins menu and open BuddyPress there and then in your prefered language file find the word and replace it with your text.

    Hopefully, it will help you.

    Thanks


    proctorINVADE
    Participant

    @dopeboy

    @prashantvatsh i almost want to tell you that you are stupid but i wont be rude to you. That link you posted there is very far from what we are looking for.


    Prashant Singh
    Participant

    @prashantvatsh

    Have you tried creating language files and then tried translating texts? I have used it in so many client projects so I guess you were not able to change friends to connections 🙂 If you are not then please let me know I will explain how to do that.

    Thanks


    Prashant Singh
    Participant

    @prashantvatsh

    And to change the URL from ‘friends’ to ‘connections’ just write this in bp-custom.php file define ( 'BP_FRIENDS_SLUG', 'connections' );


    proctorINVADE
    Participant

    @dopeboy

    If that plugin can really do that then it is not user-friendly, it’s as if the developers just did it in a way only him can easily use it.

    I was not able to change friends to connections.


    Prashant Singh
    Participant

    @prashantvatsh

    Let me show you the way to do it and maybe you are missing one important stuff and that is the theme translation. Please check the video I made for you to explain the working: https://screencast-o-matic.com/watch/cF6O0lY5iP


    proctorINVADE
    Participant

    @dopeboy

    so one has to change eveything one by one? What of those source texts that have something in their context text already?


    proctorINVADE
    Participant

    @dopeboy

    define ( ‘BP_FRIENDS_SLUG’, ‘connections’ );

    this didn’t work

    also the Loco Plugin didn’t work, everything is still friends.


    proctorINVADE
    Participant

    @dopeboy

    Also, the plugin stated clearly that changes will vanish upon WP update. It’s not the right tool for the solution.


    evillizard
    Participant

    @evillizard

    @dope-boy you are really rude for the “stupid” statment to @prashantvatsh

    what @prashantvatsh gave you is the best solution to what you are actually looking for

    ..
    the only way to change buddypress labels like on the menu (“friend, profile, notification ” ) .. the best way is my changing the language to your choice
    ..

    @prashantvatsh was just trying to help


    proctorINVADE
    Participant

    @dopeboy

    I don’t expect you to understand @evillizard you were no in my shoes then. If you were then I will try to reason along with you judgement.

    And it didn’t work, even till now. Please get some understanding, stop trying to piss me off the more.


    proctorINVADE
    Participant

    @dopeboy

    …and that the word “stupid” appeared in my statement doesn’t mean I think he’s stupid. I think I was clear enough.

    …but I won’t be rude to you

    Did you know what that means? I was really pissed at that time that it didn’t work. But I couldn’t just be pissed to the one guy that tried to salvage the situation. I was pissed, but heck, I couldn’t get pissed at him. Are u that dumb Mr @evillizard? 😉 😉 that I discussed my discomfort doesn’t mean I wanna show it.

    What kind of lizard are you? Hope u’r not Godzilla. I hope u don’t think I’m being rude to u also.

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