Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ron Rennick

    (@wpmuguru)

    Is there any logic in the distributing of the sites per database?

    Yes, it uses a md5 hash to determine the database.

    You can create a home DB for site 1 and vip DBs for any other sites that you want to be in a specific database.

    Thread Starter rogier.donkervliet

    (@rogierdonkervliet)

    Hi,

    Thanx for your reply!

    What’s the use of $num_vipdbs?

    Lets say I have 5 blogs in their own DB, specified in the bottom

    • add_vip_blog(2,’vip1′); // Johan’s blog
    • add_vip_blog(3,’vip2′); // Patrick’s blog
    • add_vip_blog(4,’vip3′); // Jari’s blog
    • add_vip_blog(5,’vip4′); // Dennis’s blog
    • add_vip_blog(6,’vip5′); // Marco’s blog

    Do I still need to say $num_vipdbs = 5;?

    Plugin Author Ron Rennick

    (@wpmuguru)

    Do I still need to say $num_vipdbs = 5;?

    Yes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘MU domain mapping and shardb’ is closed to new replies.