Fork me on GitHub

MultiSites with PNphpBB  Bottom

  • Hello,

    I want to create a MultiSites website, and I have a problem to do it with PNphpBB module.

    Now, I have a PNphpBB forum in my postnuke based website ( ie. www.mydomain.com ), and I want to preserve the bbdd I have in it.

    The problem is that I don't know how to configure a new PNphpBB forum in this subdomain (ie. forum.mydomain.com) preserving the bbdd that I have in the other postnuke.

    I know that I have to change "something" in the bbdd tables of the second forum, but I really don't know exactly what.

    What I think I have to do is the following one (example with "phpbb_attach_quota" table):

    -- Table structure for table `forum_phpbb_attach_quota`
    --
    CREATE TABLE `forum_phpbb_attach_quota` (
    `user_id` mediumint( 8 ) unsigned NOT NULL default '0',
    `group_id` mediumint( 8 ) unsigned NOT NULL default '0',
    `quota_type` smallint(2) NOT NULL default '0',
    `quota_limit_id` mediumint( 8 ) unsigned NOT NULL default '0',
    KEY `quota_type` (`quota_type`)
    ) TYPE=MyISAM;

    I think that I have to do the following changes ($pnconfig['prefix'] of the main postnuke I have now is "nuke"):

    -- Table structure for table `forum_phpbb_attach_quota`
    --
    CREATE TABLE `forum_phpbb_attach_quota` (
    `nuke_user_id` mediumint( 8 ) unsigned NOT NULL default '0',
    `nuke_group_id` mediumint( 8 ) unsigned NOT NULL default '0',
    `nuke_quota_type` smallint(2) NOT NULL default '0',
    `nuke_quota_limit_id` mediumint( 8 ) unsigned NOT NULL default '0',
    KEY `quota_type` (`quota_type`)
    ) TYPE=MyISAM;

    Is it correct?

    Must I do the same with all the "forum_phpbb_xxx" tables?

    Thanks for your attention.
  • Up.

This list is based on users active over the last 60 minutes.