?? boardsetting.asp
字號:
<!--#include file =../conn.asp-->
<!-- #include file="inc/const.asp" -->
<%
Head()
Dim Board_Setting,admin_flag
admin_flag = ",9,"
CheckAdmin(admin_flag)
If request("action")="save" Then
Call saveconst()
Else
Call consted()
End if
Footer()
Sub consted()
Dim rs,i
if not isnumeric(request("editid")) then
Errmsg=ErrMsg + "<BR><li>錯誤的版面信息"
dvbbs_error()
exit sub
end if
set rs=Dvbbs.Execute("select * from dv_board where boardid="&request("editid"))
Board_Setting=split(rs("board_setting"),",")
%>
<table width="100%" cellspacing="1" cellpadding="1" align="center">
<tr><th colspan="5">論壇高級設置 → <%=rs("boardtype")%></th></tr>
<tr>
<td width="100%" class=td1 colspan=5 height=25>
說明:<BR>
1、請仔細設置下面的高級選項,Flash標簽如果打開,對安全有一定影響,請根據您的具體情況考慮。<BR>
2、您可以將高級設置的某項設置(選擇該行設置右邊的復選框)保存到所有版面、相同分類下所有版面(不包括分類)、相同分類下所有版面(包括分類)、同分類同級別版面,該項設置請慎重操作。<BR>
3、<font color=red>注意,選擇批量更新包括主題將會使用相同設置</font>。
</td>
</tr>
<form method="POST" action="boardsetting.asp?action=save">
<input type=hidden value="<%=request("editid")%>" name="editid">
<tr>
<td width="100%" class=td2 colspan=5 height=25>
<font color=blue>保存目標</font>:<input type=radio class="radio" name="savetype" value=0 checked>該版面 <input type=radio class="radio" name="savetype" value=1>所有版面 <input type=radio class="radio" name="savetype" value=2>相同分類下所有版面(不包括分類) <input type=radio class="radio" name="savetype" value=3>相同分類下所有版面(包括分類) <input type=radio class="radio" name="savetype" value=4>同分類同級別版面
</td>
</tr>
<tr>
<td width="100%" class=td1 colspan=5 height=25>
<font color=blue>
這里指的分類僅指一級分類,而不是該版面的上級版面</font>,比如您目前設置的是一個五級版面,選擇了相同分類下所有版面都更新,那么這里將更新包括該分類的一級、二級、三級、四級所有版面,如果您擔心更新范圍太大,可以選擇更新同分類同級別版面。
</td>
</tr>
<tr><th height="25" colspan="5" align=left> 功能設置導航</th></tr>
<tr>
<td width="100%" class=td1 colspan=5 height=25>
[<a href="#setting1">基本屬性</a>]
[<a href="#setting2">訪問權限</a>]
[<a href="#setting3">前臺管理權限</a>]
[<a href="#setting4">發貼相關</a>]
[<a href="#setting5">帖子列表顯示</a>]
[<a href="#setting6">帖子內容顯示</a>]
[<a href="#setting7">附件限制設置</a>]
[<a href="#setting8">論壇專題設置</a>]
[<a href="#setting9">論壇虛擬形象設置</a>]
</td>
</tr>
<tr><th height="25" colspan="5" id=tabletitlelink align=left> <a name="setting1"></a>基本屬性[<a href="#top">頂部</a>]</th></tr>
<tr>
<td width="50%" colspan=2 class=td1>
<U>外部連接</U><BR>填寫本內容后,在論壇列表點擊此版面將自動切換到該網址<BR>請填寫URL絕對路徑</td>
<td colspan=2 class=td1>
<input type=text name="Board_Setting(50)" value="<%=Board_Setting(50)%>" size=50>
</td>
<input type="hidden" id="b0" value="<b>外部連接</b><br><li>填寫本內容后,在論壇列表點擊此版面將自動切換到該網址<br><li>請填寫URL絕對路徑">
<td class=td1><a href=# onclick="helpscript(b0);return false;" class="helplink"><img src="skins/images/help.gif" border=0 title="點擊查閱管理幫助!"></a></td>
</tr>
<tr>
<td width="50%" colspan=2 class=td2>
<U>分論壇LOGO</U><BR>填寫圖片的相對或絕對路徑,不填寫則當前版面LOGO為論壇設置中LOGO</td>
<td colspan=2 class=td2>
<input type=text name="Board_Setting(51)" value="<%=Board_Setting(51)%>" size=50>
</td>
<input type="hidden" id="ba1" value="<b>分論壇LOGO</b><br><li>填寫圖片的相對或絕對路徑,不填寫則當前版面LOGO為論壇設置中LOGO">
<td class=td2><a href=# onclick="helpscript(ba1);return false;" class="helplink"><img src="skins/images/help.gif" border=0 title="點擊查閱管理幫助!"></a></td>
</tr>
<tr>
<td colspan=2 class=td1>
<U>是否采用版主繼承制度</U></td>
<td colspan=2 class=td1>
<input type=radio class="radio" name="Board_Setting(40)" value=0 <%if Board_Setting(40)="0" then%>checked<%end if%>>關閉
<input type=radio class="radio" name="Board_Setting(40)" value=1 <%if Board_Setting(40)="1" then%>checked<%end if%>>開放
</td>
<input type="hidden" id="b6" value="<b>是否采用版主繼承制度</b><br><li>如果采用該制度,則上級論壇版主可管理下級論壇相關信息">
<td class=td1><a href=# onclick="helpscript(b6);return false;" class="helplink"><img src="skins/images/help.gif" border=0 title="點擊查閱管理幫助!"></a></td>
</tr>
<tr>
<td colspan=2 class=td2>
<U>論壇列表顯示下屬論壇風格</U><BR></td>
<td colspan=2 class=td2>
<input type=radio class="radio" name="Board_Setting(39)" value=0 <%if Board_Setting(39)="0" then%>checked<%end if%>>列表
<input type=radio class="radio" name="Board_Setting(39)" value=1 <%if Board_Setting(39)="1" then%>checked<%end if%>>簡潔
</td>
<input type="hidden" id="b7" value="<b>論壇列表顯示下屬論壇風格</b><br><li>當該論壇有下屬論壇的時候生效">
<td class=td2><a href=# onclick="helpscript(b7);return false;" class="helplink"><img src="skins/images/help.gif" border=0 title="點擊查閱管理幫助!"></a></td>
</tr>
<tr>
<td colspan=2 class=td1>
<U>論壇列表簡潔風格一行版面數</U></td>
<td colspan=2 class=td1>
<input type=text size=10 name="Board_Setting(41)" value="<%=Board_Setting(41)%>"> 個
</td>
<input type="hidden" id="b8" value="<b>論壇列表簡潔風格一行版面數</b><br><li>當論壇列表開啟了下屬論壇風格為簡潔,此選項有效,此選項為設置簡潔論壇列表風格一行排列版面數">
<td class=td1><a href=# onclick="helpscript(b8);return false;" class="helplink"><img src="skins/images/help.gif" border=0 title="點擊查閱管理幫助!"></a></td>
</tr>
<tr>
<td colspan=2 class=td2>
<U>是否公開論壇事件中的操作者</U></td>
<td colspan=2 class=td2>
<input type=radio class="radio" name="Board_Setting(36)" value=0 <%if Board_Setting(36)="0" then%>checked<%end if%>>否
<input type=radio class="radio" name="Board_Setting(36)" value=1 <%if Board_Setting(36)="1" then%>checked<%end if%>>是
</td>
<input type="hidden" id="b12" value="<b>是否公開論壇事件中的操作者</b><br><li>論壇中對帖子的刪除、固頂、設置精華等操作都是要記錄操作者和操作內容的,管理員默認可看到這些操作內容,一般用戶如果打開了此選項,他們將能看到操作者">
<td class=td1><a href=# onclick="helpscript(b12);return false;" class="helplink"><img src="skins/images/help.gif" border=0 title="點擊查閱管理幫助!"></a></td>
</tr>
<tr><th height="25" colspan="5" id=tabletitlelink align=left> <a name="setting2"></a>訪問權限相關[<a href="#top">頂部</a>]</th></tr>
<tr>
<td width="50%" colspan=2 class=td1>
<U>本論壇作為分類論壇不允許發貼</U></td>
<td colspan=2 class=td1>
<input type=radio class="radio" name="Board_Setting(43)" value=0 <%if Board_Setting(43)="0" then%>checked<%end if%>>否
<input type=radio class="radio" name="Board_Setting(43)" value=1 <%if Board_Setting(43)="1" then%>checked<%end if%>>是
</td>
<input type="hidden" id="b1" value="<b>本論壇作為分類論壇不允許發貼</b><br><li>如果已經有貼則顯示或者您可以轉移到別的論壇<br><li>選擇了該項后所有會員均不能在本版發貼/回帖等操作">
<td class=td1><a href=# onclick="helpscript(b1);return false;" class="helplink"><img src="skins/images/help.gif" border=0 title="點擊查閱管理幫助!"></a></td>
</tr>
<tr>
<td colspan=2 class=td2>
<U>是否鎖定論壇</U></td>
<td colspan=2 class=td2>
<input type=radio class="radio" name="Board_Setting(0)" value=0 <%if Board_Setting(0)="0" then%>checked<%end if%>>否
<input type=radio class="radio" name="Board_Setting(0)" value=1 <%If Board_Setting(0)="1" then%>checked<%end if%>>是
</td>
<input type="hidden" id="b2" value="<b>是否鎖定論壇</b><br><li>鎖定論壇只有管理員和該版面版主可進">
<td class=td2><a href=# onclick="helpscript(b2);return false;" class="helplink"><img src="skins/images/help.gif" border=0 title="點擊查閱管理幫助!"></a></td>
</tr>
<tr>
<td colspan=2 class=td1>
<U>是否隱藏論壇</U></td>
<td colspan=2 class=td1>
<input type=radio class="radio" name="Board_Setting(1)" value=0 <%If Board_Setting(1)="0" then%>checked<%end if%>>否
<input type=radio class="radio" name="Board_Setting(1)" value=1 <%if Board_Setting(1)="1" then%>checked<%end if%>>是
</td>
<input type="hidden" id="b3" value="<b>是否隱藏論壇</b><br><li>隱藏論壇只有管理員和該版面版主可見和進入<br><li>如果用戶組或論壇權限管理或用戶權限管理中允許則用戶可見和進入<br><li>本限制對一級論壇不生效">
<td class=td1><a href=# onclick="helpscript(b3);return false;" class="helplink"><img src="skins/images/help.gif" border=0 title="點擊查閱管理幫助!"></a></td>
</tr>
<tr>
<td colspan=2 class=td2>
<U>是否認證論壇</U></td>
<td colspan=2 class=td2>
<input type=radio class="radio" name="Board_Setting(2)" value=0 <%if Board_Setting(2)="0" then%>checked<%end if%>>否
<input type=radio class="radio" name="Board_Setting(2)" value=1 <%if Board_Setting(2)="1" then%>checked<%end if%>>是
</td>
<input type="hidden" id="b4" value="<b>是否認證論壇</b><br><li>認證論壇只有管理員和該版面版主可見和進入<br><li>認證論壇對認證用戶的添加和管理在版面管理中有連接<br><li>設置了本選項后只有認證用戶可進入">
<td class=td2><a href=# onclick="helpscript(b4);return false;" class="helplink"><img src="skins/images/help.gif" border=0 title="點擊查閱管理幫助!"></a></td>
</tr>
<tr>
<td colspan=2 class=td1>
<U>帖子審核制度</U></td>
<td colspan=2 class=td1>
<input type=radio class="radio" name="Board_Setting(3)" value=0 <%if Board_Setting(3)="0" then%>checked<%end if%>>關閉
<input type=radio class="radio" name="Board_Setting(3)" value=1 <%if Board_Setting(3)="1" then%>checked<%end if%>>開放
</td>
<input type="hidden" id="b5" value="<b>帖子審核制度</b><br><li>版主、管理員和開放權限用戶可進行審核帖子<br><li>版主、管理員和開放權限用戶可直接發貼<br><li>一般用戶需審核后帖子方可見">
<td class=td1><a href=# onclick="helpscript(b5);return false;" class="helplink"><img src="skins/images/help.gif" border=0 title="點擊查閱管理幫助!"></a></td>
</tr>
<tr>
<td colspan=2 class=td2>
<U>擴展審核制度</U></td>
<td colspan=2 class=td2>
<input type=radio class="radio" name="Board_Setting(57)" value=0 <%if Board_Setting(57)="0" then%>checked<%end if%>>關閉
<input type=radio class="radio" name="Board_Setting(57)" value=1 <%if Board_Setting(57)="1" then%>checked<%end if%>>開放
<input type="hidden" id="bnew" value="<b>擴展帖子審核制度</b><br><li>版主、管理員和開放權限用戶可進行審核帖子<br><li>版主、管理員和開放權限用戶可直接發貼<br><li>一般用戶如發貼內容如果有被過濾的敏感字需審核后帖子方可見,<br>如果無被過濾的內容,則可免審核發貼。">
</td>
<td class=td2><a href=# onclick="helpscript(bnew);return false;" class="helplink"><img src="skins/images/help.gif" border=0 title="點擊查閱管理幫助!"></a></td>
</tr>
<tr>
<td colspan=2 class=td1>
<U>敏感字設置</U></td>
<td colspan=2 class=td1>
<input type="text" Name=Board_Setting(58) Value="<%=Board_Setting(58)%>" Size=50><br>可設置多個敏感字中間用"|"分隔如不填寫可以填0
<input type="hidden" id="bnewS" value="<b>敏感字設置</b><br><li>可設置多個敏感字中間用 | 分隔">
</td>
<td class=td1><a href=# onclick="helpscript(bnewS);return false;" class="helplink"><img src="skins/images/help.gif" border=0 title="點擊查閱管理幫助!"></a></td>
</tr>
<tr>
<td colspan=2 class=td2>
<U>允許同時在線數</U><BR>不限制則設置為0</td>
<td colspan=2 class=td2>
<input type=text size=10 name="Board_Setting(18)" value="<%=Board_Setting(18)%>"> 人
</td>
<input type="hidden" id="b9" value="<b>允許同時在線數</b><br><li>不限制則設置為0,如設置了允許同時在線數,則當論壇在線人數超過此數字的時候未登錄用戶將不能訪問該版面">
<td class=td2><a href=# onclick="helpscript(b9);return false;" class="helplink"><img src="skins/images/help.gif" border=0 title="點擊查閱管理幫助!"></a></td>
</tr>
<tr>
<td colspan=2 class=td1>
<U>論壇定時設置</U></td>
<td colspan=2 class=td1>
<input type=radio class="radio" name="Board_Setting(21)" value="0" <%If Board_Setting(21)="0" Then %>checked <%End If%>>關 閉</option>
<input type=radio class="radio" name="Board_Setting(21)" value="1" <%If Board_Setting(21)="1" Then %>checked <%End If%>>定時關閉</option>
<input type=radio class="radio" name="Board_Setting(21)" value="2" <%If Board_Setting(21)="2" Then %>checked <%End If%>>定時只讀</option>
</td>
<input type="hidden" id="b10" value="<b>定時設置選擇:</b><br><li>在這里您可以設置是否起用定時的各種功能,如果開啟了本功能,請設置好下面選項中的論壇設置時間,論壇該版面將在您規定的時間內有指定的設置">
<td class=td1><a href=# onclick="helpscript(b10);return false;" class="helplink"><img src="skins/images/help.gif" border=0 title="點擊查閱管理幫助!"></a></td>
</tr>
<tr>
<td colspan=2 class=td2>
<U>定時設置</U><BR>請根據需要選擇開或關</td></td>
<td colspan=2 class=td2>
<%
Board_Setting(22)=split(Board_Setting(22),"|")
If UBound(Board_Setting(22))<2 Then
Board_Setting(22)="1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1|1"
Board_Setting(22)=split(Board_Setting(22),"|")
End If
For i= 0 to UBound(Board_Setting(22))
If i<10 Then Response.Write " "
%>
<%=i%>點:<input type="checkbox" class="checkbox" name="Board_Setting(22)<%=i%>" value="1" <%If Board_Setting(22)(i)="1" Then %>checked<%End If%>>開
<%
If (i+1) mod 4 = 0 Then Response.Write "<br>"
Next
%>
</td>
<input type="hidden" id="b11" value="<b>論壇開放時間</b><br><li>設置了本選項必須同時打開是否起用定時開關論壇設置才有效,設置了此選項,論壇該版面將在您規定的時間內給用戶開放">
<td class=td2><a href=# onclick="helpscript(b11);return false;" class="helplink"><img src="skins/images/help.gif" border=0 title="點擊查閱管理幫助!"></a></td>
</tr>
<%
Dim VisitConfirm
VisitConfirm=Split(Board_Setting(54),"|")
IF Ubound(VisitConfirm)<>8 Then
Redim VisitConfirm(8)
For i=0 To 8
VisitConfirm(i)=0
Next
End If
%>
<tr>
<td colspan=2 class=td1>
<U>用戶至少文章數</U></td>
<td colspan=2 class=td1>
<input type=text size=10 name="Board_Setting(54)" value="<%=VisitConfirm(0)%>">
</td>
<input type="hidden" id="VisitConfirm1" value="<b>用戶至少文章數</b><br><li>當用戶發表的文章達到此設置時,才能擁有訪問權限!<li>不限制設置為0">
<td class=td1><a href=# onclick="helpscript(VisitConfirm1);return false;" class="helplink"><img src="skins/images/help.gif" border=0 title="點擊查閱管理幫助!"></a></td>
</tr>
<tr>
<td colspan=2 class=td2>
<U>用戶至少積分</U></td>
<td colspan=2 class=td2>
<input type=text size=10 name="Board_Setting(54)" value="<%=VisitConfirm(1)%>">
</td>
<input type="hidden" id="VisitConfirm2" value="<b>用戶至少積分值</b><br><li>當用戶的積分值達到此設置時,才能擁有訪問權限!<li>不限制設置為0">
<td class=td2><a href=# onclick="helpscript(VisitConfirm2);return false;" class="helplink"><img src="skins/images/help.gif" border=0 title="點擊查閱管理幫助!"></a></td>
</tr>
<tr>
<td colspan=2 class=td1>
<U>用戶至少金錢</U></td>
<td colspan=2 class=td1>
<input type=text size=10 name="Board_Setting(54)" value="<%=VisitConfirm(2)%>">
</td>
<input type="hidden" id="VisitConfirm3" value="<b>用戶至少金錢數</b><br><li>當用戶的金錢達到此設置時,才能擁有訪問權限!<li>不限制設置為0">
<td class=td1><a href=# onclick="helpscript(VisitConfirm3);return false;" class="helplink"><img src="skins/images/help.gif" border=0 title="點擊查閱管理幫助!"></a></td>
</tr>
<tr>
<td colspan=2 class=td2>
<U>用戶至少魅力</U></td>
<td colspan=2 class=td2>
<input type=text size=10 name="Board_Setting(54)" value="<%=VisitConfirm(3)%>">
</td>
<input type="hidden" id="VisitConfirm4" value="<b>用戶至少魅力</b><br><li>當用戶的魅力值達到此設置時,才能擁有訪問權限!<li>不限制設置為0">
<td class=td2><a href=# onclick="helpscript(VisitConfirm4);return false;" class="helplink"><img src="skins/images/help.gif" border=0 title="點擊查閱管理幫助!"></a></td>
</tr>
<tr>
<td colspan=2 class=td1>
<U>用戶至少威望</U></td>
<td colspan=2 class=td1>
<input type=text size=10 name="Board_Setting(54)" value="<%=VisitConfirm(4)%>">
</td>
<input type="hidden" id="VisitConfirm5" value="<b>用戶至少威望</b><br><li>當用戶威望達到此設置時,才能擁有訪問權限!<li>不限制設置為0">
<td class=td1><a href=# onclick="helpscript(VisitConfirm5);return false;" class="helplink"><img src="skins/images/help.gif" border=0 title="點擊查閱管理幫助!"></a></td>
</tr>
<tr>
<td colspan=2 class=td2>
<U>用戶至少精華文章</U></td>
<td colspan=2 class=td2>
<input type=text size=10 name="Board_Setting(54)" value="<%=VisitConfirm(5)%>">
</td>
<input type="hidden" id="VisitConfirm6" value="<b>用戶至少精華文章數</b><br><li>當用戶發表的精華文章達到此設置時,才能擁有訪問權限!<li>不限制設置為0">
<td class=td2><a href=# onclick="helpscript(VisitConfirm6);return false;" class="helplink"><img src="skins/images/help.gif" border=0 title="點擊查閱管理幫助!"></a></td>
</tr>
<tr>
<td colspan=2 class=td1>
<U>用戶被刪帖子數上限</U></td>
<td colspan=2 class=td1>
<input type=text size=10 name="Board_Setting(54)" value="<%=VisitConfirm(6)%>">
</td>
<input type="hidden" id="VisitConfirm7" value="<b>用戶被刪帖子數上限</b><br><li>當用戶被刪帖子數超過此設置時,不能訪問該分版!<li>不限制設置為0">
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -