Skip to:
Content
Pages
Categories
Search
Top
Bottom

Core Modifications + BP Upgrades…


  • Avatar
    Participant

    @avatarrocks

    Hello Mates, this is Jeff.

    We’ve been experimenting and modifying

    an install of WPmu & BP on a test server.

    But we’re about to take on a live server

    and want to make sure we start off on the right foot.

    From researching posts and Andy’s responses through these forums,

    it seems like we shouldn’t really be changing the core code of BP

    but rather rely on plugins and create plugins to make any core modifications,

    as this would make upgrading easier – especially as build 1.1 is about to release.

    if we’ve already made a few core mods, is this going to create an issue

    or would it be better to just start from a clean install and just do things

    through plugins this time around for the live site.

    Also if you can, please let me know how theme modifications

    would be affected through any theme upgrades that happen.

    I know this is a basic question,

    but your good responses would just help clear things up.

    With Thanks,

    – Jeff –

    .

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

  • r-a-y
    Keymaster

    @r-a-y

    If you’ve kept track of what core changes you’ve made and the changes are minor, then you can keep on doing what you’re doing.

    If you made a lot of changes, you might want to consider putting your mods in /wp-content/bp-custom.php and starting from scratch like you mentioned.

    Depending on the amount of changes you’ve made, this might be a pain for you!


    Avatar
    Participant

    @avatarrocks

    Hey r-a-y,

    thanks for your response.

    yeah, working with a dev team.

    just want to make sure we do things right from the get-go

    and keep track of any changes.

    the wp-custom solution might just be what we need.

    so will mods work through this file just as well as plugins

    or are there some mods that will just require hacking the core?

    please let me know your experience.

    – Jeff –

    .


    r-a-y
    Keymaster

    @r-a-y

    I think, for the most part, bp-custom.php will do quite nicely.

    The only thing that might be a problem is if you’re working deeply with functions that affect the WPMU core. eg. registration. Then you might need to put some of your functions in the wp-content/mu-plugins/.

    A mod might want to jump in here to give you further insight.

    Well, it really depends on *what* core mods you’ve made, exactly. Without knowing what you might have done it is impossible to comment on.

    As a rule of thumb, though, you can make a lot of changes without needing to modify the core files. If you’ve made a “few” already, maybe you could revisit them and see if there is a better way of reimplementing those changes.

    Rework your changes as a custom functions file (bp-custom.php) or plug-in. Modifying the core directly ends up being a HUGE pain because you then have to remember and reapply those changes every time a new version comes out. Either that or never apply any updates. But that’s not a good option. Many times updates include security fixes. It’s always best to be running the latest and greatest.


    Avatar
    Participant

    @avatarrocks

    Hello Mates,

    Thanks a lot for your good responses.

    We’ve been busily underway building up our site.

    Moved our essential core mods into custom.php

    and now just waiting for the 1.1 upgrade : )

    Look forward to the next evolutions.

    Sincerely,

    – Jeff –

    .

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Core Modifications + BP Upgrades…’ is closed to new replies.
Skip to toolbar