參考連結:http://phpbb-tw.net/phpbb/viewtopic.php?t=19423
使用版本:phpBB 2.0.4
此外掛安裝上,我有一個步驟的疑問
開啟
admin/admin_forums.php
尋找\r
代碼: 選擇全部
VALUES ('" . $next_id . "', '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', $next_order, " . intval($HTTP_POST_VARS['forumstatus']) . ", " . intval($HTTP_POST_VARS['prune_enable'])代碼: 選擇全部
. intval($HTTP_POST_VARS['prune_enable']) .,代碼: 選擇全部
/*Mass-lock mod*/ . intval($HTTP_POST_VARS['lock_enable']) ., /*end of Mass-lock mod*/代碼: 選擇全部
VALUES ('" . $next_id . "', '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', '" . str_replace("\'", "''", $HTTP_POST_VARS['forumicon']) . "', " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', $next_order, " . intval($HTTP_POST_VARS['forumstatus']) . ", " . intval($HTTP_POST_VARS['prune_enable']) . $value_sql . ")";我之前有改到此檔的外掛只有以下兩個
1.前置圖示
2.上傳附件v237
這是最原始的2.0.4
代碼: 選擇全部
VALUES ('" . $next_id . "', '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', $next_order, " . intval($HTTP_POST_VARS['forumstatus']) . ", " . intval($HTTP_POST_VARS['prune_enable']) . $value_sql . ")";


