Skip to:
Content
Pages
Categories
Search
Top
Bottom

changing blog id for multi-buddypress.


  • lava-team
    Participant

    @hungrygolf

    BuddyPress Multi Network

    I am using this plugin for multi-buddypress and works great! 1.7 buddypress.

    I have a small problem. I had buddypress on my 3rd blog and installed this plugin to have more.
    But all of activites, groups, forums have been disappeared, when I active.
    When deactived, it display all.
    I believe they are on my main blog. cuz I used to setup
    /* buddypress sub blog */
    //define ( ‘BP_ROOT_BLOG’, 3 );
    and removed it for using this plugin.
    do you know how I should fix?

    I believe that buddypress (blog ID) should be changed to “3” (my 3rd blog)

    how I should do?

    Thanks,

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

  • lava-team
    Participant

    @hungrygolf

    any tips? It would be big help, if you give me a tip to try to figure it out.


    @mercime
    Keymaster

    @mercime

    @hungrygolf best place to get assistance with the plugin is at plugin dev’s site forums. Did you add enable_multiblog per plugin instructions.


    lava-team
    Participant

    @hungrygolf

    do you mean “define ( ‘BP_ENABLE_MULTIBLOG’, true );”?
    Yes I did on bp-config.php

    if I put it on only wp-config.php (recommanded by others), it’s not working. therefore I put it on bp-config.php..


    lava-team
    Participant

    @hungrygolf

    by the way, anybody knows how to move bd data to another id of blog? it’s on 1st blog (i think) and want to move to 3rd.
    let me know if you have any idea.


    @mercime
    thanks for you answer and time.


    lava-team
    Participant

    @hungrygolf

    I have found that…

    wp_X_bp_activity, wp_X_bp_friends… etc..

    X is id value.

    What if I just change, wp_2_bp_activity to wp_3_bp_activity, would it be ok to work fine?
    If it’s right, what else I should change or modify?

    Thanks,


    @mercime
    Keymaster

    @mercime

    @hungrygolf
    RE Enable Multiblog – Where did you get “bp-config.php”? You should add enable_multiblog in wp-config.php just before /* That’s all, … Happy blogging. */ as posted at https://codex.buddypress.org/developer/developer-docs/using-multisite-with-buddypress/bp_enable_multiblog/ And, you should activate BuddyPress sitewide, i.e., via Network Admin > Plugins, not in individual site.

    Do not touch the database. If you want a subsite as your primary BuddyPress site, then see section on configure the BP_ROOT_BLOG https://codex.buddypress.org/user/install-buddypress-on-a-secondary-blog/


    lava-team
    Participant

    @hungrygolf

    @mercime, Thanks for your advice,

    oh I missed that part on wp-config.php. I will try them.

    I have already tried to change my database LOL it’s one of my testing sites. it seems to be working. however, I haven’t tried my real one. I am kind of worried.

    Mine was secondary blog with the secondary blog instruction and now I am changing multi-buddypress. therefore I have this problem.

    Thanks for your useful tips and advice,

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘changing blog id for multi-buddypress.’ is closed to new replies.
Skip to toolbar