Skip to:
Content
Pages
Categories
Search
Top
Bottom

Changing Buddypress database table

  • Avatar of LChief
    LChief
    Participant

    @lchief

    How can I change the default database table in Buddypress?
    I would like to save all the userdata, friend connections and activities in it and also load from it.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Avatar of Hugo
    Hugo
    Moderator

    @hnla

    What exactly is the default database table in BP? it has a few tables.

    Where are you intending on saving data to? and load from where.

    Try explaining the circumstances, what your requirement are, why it is you need to do this not how you want to approach it, that way someone with the knowledge will be able to – hopefully – suggest a best approach or solution.

    btw what is meant by [HOT] in that subject title? if it has no real relevance can you avoid doing that? :)

    Avatar of LChief
    LChief
    Participant

    @lchief

    for example from wp003_bp_friends to wp015_bp_friends

    so changing perfixes in a safe way
    Could i ask what is base_prefix?

    EDIT: I would like to use buddypress for multiple websites, but they have no wp multisite connection, just user and usermeta

    Avatar of LChief
    LChief
    Participant

    @lchief

    ok im gonna get it myself then

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    Are you certain that you don’t just need BP_ENABLE_MULTIBLOG (although 1.7 onwards doesn’t need this as it’s meant to be able to activate bp on individual sites)

    Avatar of LChief
    LChief
    Participant

    @lchief

    i am using currectly 1.7

    maybe there is something with the
    bp_core_get_table_prefix function

    Avatar of LChief
    LChief
    Participant

    @lchief

    and working with individual sites
    could you help me how to config it?

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    You either want one of two things: 1. a separate install per site or 2. the BP data shared across those installs.

    This is why I asked you explain what you wanted to achieve.

    bp_enable_multiblog is intended to allow the BP links to work under the subsite so you are not taken back to root blog.

    I find it confusing that you talk about changing DB prefixes I would have thought there is never a case where one would want to do this.

    So once again please explain how your setup functions, what exactly isn’t happening as you want it, then a solution may present it’s self.

    Avatar of LChief
    LChief
    Participant

    @lchief

    I have 5 websites with separate system and separate buddypress. I am suing only one database and I have the same table for users and usermeta.
    How could I make then to the activity, friends, messages, etc. so all the buddypress data (or except dashboard settings) be synced? :D

    Avatar of LChief
    LChief
    Participant

    @lchief

    btw I am having multiple domains aswell

    Avatar of Paul Gibbs
    Paul Gibbs
    Keymaster

    @djpaul

    Are you using a multisite install, or are these separate regular installs?

    Avatar of LChief
    LChief
    Participant

    @lchief

    separate regular installs

    Avatar of LChief
    LChief
    Participant

    @lchief

    Any ideas?

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

You must be logged in to reply to this topic.