Re: Plugin: bbMenu 1.1
Darn that error again, there must be something wrong with that insert part when a table is created.
Check with phpmyadmin if the table bb_menu is created. If not do so manually (this is not tested, but it contains the stuff needed in the table):
"CREATE TABLE
$bbdb->menu` (
item_id
INT(3) NOT NULL AUTO_INCREMENT,
item
varchar(50) NOT NULL default ”,
set
varchar(50) NOT NULL default ”,
page
varchar(50) NOT NULL default ”,
location
varchar(50) NOT NULL default ”,
order
int(9) NOT NULL default ‘0’,
PRIMARY KEY (item_id
)
);`
Then you will have to fill it (again not tested, but it contains what needed):
"INSERT INTO
$bbdb->menu` VALUES
(DEFAULT, ‘Forums’, ‘active’, ‘index.php’, ‘front-page’, 0),
(DEFAULT, ‘Search’, ‘active’, ‘search.php’, ‘search-page’, 1),
(DEFAULT, ‘Statistics’, ‘inactive’, ‘statistics.php’, ‘stats-page’, 0);”`
When sucesfully created this table, things should work…