ALTER TABLE `cdb_forumfields` ADD `post_readperm` TINYINT( 3 ) UNSIGNED NOT NULL DEFAULT '0' COMMENT '本版塊預設發表閱讀權限'
showsetting('forums_edit_attach_ext', 'attachextensionsnew', $forum['attachextensions'], 'text');
// bluelovers
showsetting('forums_edit_post_readperm', 'post_readpermnew', $forum['post_readperm'], 'text');
// bluelovers
getattachperm='$getattachpermnew', postattachperm='$postattachpermnew'
post_readperm='$post_readpermnew',
'forums_edit_attach_ext_comment' => '設置本版塊中允許\上傳的附件擴展名,多個擴展名之間用半角逗號 "," 分割。本設置的優先級高於用戶組,留空為按照用戶組允許\的附件類型設定',
// bluelovers
'forums_edit_post_readperm' => '本版塊預設發表閱\讀權限:',
'forums_edit_post_readperm_comment' => '發表主題時會依照此設定設置閱讀權限預設值',
// bluelovers
$price = isset($price) ? intval($price) : 0;
// bluelovers
$readperm = $readperm ? $readperm : intval($forum['post_readperm']);
// bluelovers