Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] does files change when updating BP ?


  • OsamaNuman
    Participant

    @osamanuman

    Hello ,

    I have one small question:

    I have been changing some things in BuddyPress code in the files of the plugin on my CPanel (like changing some texts and converting some links to normal texts), now if I update my BP plugin will it change all the files to original version and I lose all the work done? if so how can I keep my work and update the plugin ??

    Regards

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

  • bp-help
    Participant

    @bphelp

    @osamanuman
    If you hacked the buddypress files directly without creating a child theme or using theme compatibility then unfortunately you will lose those changes when you update BP. If you would like to keep those changes it will now be a pain because you will have to download all of those files you changed in cpanel then build a child theme or use theme compatibility overload and review:

    Theme Compatibility & Template Files


    Then change the new templates in your child theme or the the ones you overloaded using template compatibility by reviewing the old templates you modified. That is why it is important to only modify the files in your child theme or the ones in wp-content/themes/YOUR-THEME/buddypress then next time when buddypress has an update you will not have to worry about losing your modifications. As far as text goes you really should be making those changes in a language file. Please review:

    Customizing Labels, Messages, and URLs


    OsamaNuman
    Participant

    @osamanuman

    thanks for the tip !!

    “hacking” BP files seemed to be the only way for me to modify some things I had to ..

    BIG THANKS !!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] does files change when updating BP ?’ is closed to new replies.
Skip to toolbar