The MU forums have moved to WordPress.org

RS-Discuss Forum Plugin and Database Tables Creation Issue (5 posts)

  1. idrawcoolstuff
    Member
    Posted 17 years ago #

    I have the RS-Discuss Forum working in my standard install of WP. I'm trying to get it to work in WPMU. I've uploaded the plugin and it activates just fine, however it fails to create the necessary tables in my database to allow it to function and populate the forum page.

    Anyone know where to begin looking for a solution? This plugin is a self-contained forum plugin that resides with it's own directory in the Plugins folder.

    I suspect the issue is in the admin.php file, where contains functions to create the tables, but I can't figure out what to change.

    Thanx

  2. stutley
    Member
    Posted 17 years ago #

    It's probably hardcoded to look for the WP standard tables in the database. You'll need to modify SQL queries to suit the WPMU table structure that uses blogIDs in the table names.

  3. idrawcoolstuff
    Member
    Posted 17 years ago #

    That sounds promising.

    Any clues on how to do that?

    looks like this in admin.php:

    dbDelta(
    "CREATE TABLE {$table_prefix}rs_discuss_forums
    (
    id bigint(20) unsigned NOT NULL auto_increment,
    name text NOT NULL,
    description text NOT NULL,
    nicename varchar(200) NOT NULL,
    recent_post_id bigint(20) unsigned NOT NULL default '0',
    sort_order bigint(20) NOT NULL default '0',
    topic_count bigint(20) unsigned NOT NULL default '0',
    post_count bigint(20) unsigned NOT NULL default '0',
    is_locked enum('0','1') NOT NULL default '0',
    PRIMARY KEY (id),
    KEY nicename (nicename)
    ) {$engine_string}=MyISAM;"
    );

  4. drmike
    Member
    Posted 17 years ago #

    And RS-Discuss Forum would be?...

  5. idrawcoolstuff
    Member
    Posted 17 years ago #

    Sorry thought I mentioned that. It's a forum plugin I have running on a standard WordPress installation.

    For more on that: <http://www.sargant.com/blog/wordpress-plugins/rs-discuss/>

    I don't need to offer it to all Blogs that we host, I just need it on the admin blog.

    M

About this Topic

  • Started 17 years ago by idrawcoolstuff
  • Latest reply from idrawcoolstuff