Author: Helter » Wed Feb 21, 2007 12:28 am
this is the first of the 4 forum codes I posted
INSERT INTO `phpbb_forums` VALUES (1, 1, 'Test Forum 1', '', 0, 20, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 3, 5, 1, 1, 3, 0, 3, '', 0, 0, 0, '', 'c', 3, 3, 5, 1, 3);
most of these fields will remain the same for your purposes. The ones youll have to edit are the first 3 or 4 and the 6th
INSERT INTO `phpbb_forums` VALUES (1, 1, 'Test Forum 1', '', 0, 20, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 3, 5, 1, 1, 3, 0, 3, '', 0, 0, 0, '', 'c', 3, 3, 5, 1, 3);
the fields are described in the lower section of the post
ie... INSERT INTO `phpbb_forums` VALUES (1, 1, 'Test Forum 1', '', 0, 20, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 3, 5, 1, 1, 3, 0, 3, '', 0, 0, 0, '', 'c', 3, 3, 5, 1, 3);
this is the forum id. You will need to increment this by one for every forum
INSERT INTO `phpbb_forums` VALUES (1, 1, 'Test Forum 1', '', 0, 20, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 3, 5, 1, 1, 3, 0, 3, '', 0, 0, 0, '', 'c', 3, 3, 5, 1, 3);
this is the catagory id. You can get the catagory id by looking in phpbb_catagories in your db
INSERT INTO `phpbb_forums` VALUES (1, 1, 'Test Forum 1', '', 0, 20, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 3, 5, 1, 1, 3, 0, 3, '', 0, 0, 0, '', 'c', 3, 3, 5, 1, 3);
this is your forum name
INSERT INTO `phpbb_forums` VALUES (1, 1, 'Test Forum 1', '', 0, 20, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 3, 5, 1, 1, 3, 0, 3, '', 0, 0, 0, '', 'c', 3, 3, 5, 1, 3);
forum de.scription goes here if you have one
INSERT INTO `phpbb_forums` VALUES (1, 1, 'Test Forum 1', '', 0, 20, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 3, 5, 1, 1, 3, 0, 3, '', 0, 0, 0, '', 'c', 3, 3, 5, 1, 3);
forum order. Increment by 10 for every forum
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie