<% dim admin_flag admin_flag="01" if not master or instr(session("flag"),admin_flag)=0 then Errmsg=Errmsg+"
"+"
  • 本页面为管理员专用,请登陆后进入。
  • 您没有管理本页面的权限。" call dvbbs_error() else if request("action")="save" then call saveconst() elseif request("action")="restore" then call restore() else call consted() end if conn.close set conn=nothing end if sub consted() dim sel %>
    说明:这里的设置代表了所有论坛中所有的设置,包括总设置和分论坛,在这里您可以设置几套不同的方案以供各个不同的分论坛使用。
    [论坛设置] [防刷新机制]
    [基本信息] [联系资料]
    [帖子选项] [悄悄话选项]
    [论坛首页选项] [用户与注册选项]
    [门派设置] [系统设置]
    [论坛分页设置] [在线和用户来源]
    [邮件选项] [上传设置]
    [用户选项(签名、头衔、排行等)]
    >
    当前使用设置(可将当前设置保存到下列设置模板中,选中即可)
     全选:如果要使下面设置对所有模板生效,请全选,建议全选
    <% set rs = server.CreateObject ("adodb.recordset") sql="select * from config" rs.open sql,conn,1,1 do while not rs.eof if request("skinid")="" then if request("boardid")="" then if rs("active")=1 then sel="checked" skinid=rs("id") else sel="" end if else sel="" end if else if rs("id")=cint(request("skinid")) then sel="checked" skinid=rs("id") else sel="" end if end if response.write ""&rs("skinname")&" " rs.movenext loop rs.close set rs=nothing %>
    当前使用该设置的分论坛 | 还原论坛常规设置

    以下分论坛将使用本设置,如需修改论坛使用设置,可到论坛管理中重新设置
    论坛设置[顶部]
    版面语言
    论坛当前状态
    维护期间可设置关闭论坛使用
    checked<%end if%>>打开  checked<%end if%>>关闭 
    维护说明
    在论坛关闭情况下显示,支持html语法
    是否起用定时开关论坛 checked<%end if%>>否  checked<%end if%>>是 
    论坛开放时间
    请确认您已经设置起用定时开关功能
    起止小时用符号“|”分开
    首页模式 checked<%end if%>>新版样式  checked<%end if%>>旧版样式 
    论坛基本信息[顶部]
    论坛名称
    论坛的url
    主页名称
    主页URL
    论坛首页Logo地址
    显示在论坛首页,添加论坛如果没有填写logo地址,则使用该内容
    论坛图片目录
    发贴心情目录
    发贴表情目录
    论坛头像目录
    版权信息
    论坛联系资料[顶部]
    论坛管理员Email
    给用户发送邮件时,显示的来源Email信息
    悄悄话选项[顶部]
    新短消息弹出窗口 checked<%end if%>>否  checked<%end if%>>是 
    论坛首页选项[顶部]
    首页显示论坛深度
    0代表一级,1代表2级,以此类推
    设置过大的论坛深度将影响论坛整体性能,请根据自己论坛情况做设置,建议设置为1
    快速登陆位置
    是否显示过生日会员 checked<%end if%>>否  checked<%end if%>>是 
    用户与注册选项[顶部]
    是否允许新用户注册
    关闭后论坛将不能注册
    checked<%end if%>>否  checked<%end if%>>是 
    最短用户名长度
    填写数字,不能小于1大于50
    最长用户名长度
    填写数字,不能小于1大于50
    同一IP注册间隔时间
    如不想限制可填写0
     秒
    Email通知密码
    确认您的站点支持发送mail,所包含密码为系统随机生成
    checked<%end if%>>关闭  checked<%end if%>>打开 
    一个Email只能注册一个帐号 checked<%end if%>>关闭  checked<%end if%>>打开 
    注册需要管理员认证 checked<%end if%>>关闭  checked<%end if%>>打开 
    发送注册信息邮件
    请确认您打开了邮件功能
    checked<%end if%>>关闭  checked<%end if%>>打开 
    开启短信欢迎新注册用户 checked<%end if%>>关闭  checked<%end if%>>打开 
    系统设置[顶部]
    论坛所在时区
    服务器时差
    脚本超时时间
    默认为300,一般不做更改
     秒
    是否显示页面执行时间 checked<%end if%>>否  checked<%end if%>>是 
    禁止的邮件地址
    在下面指定的邮件地址将被禁止注册,每个邮件地址用“|”符号分隔
    本功能支持模糊搜索,如设置了eway禁止,将禁止eway@aspsky.net或者eway@dvbbs.net类似这样的注册
    防刷新功能有效的页面
    请确认您打开了防刷新功能
    您指定的页面将有防刷新作用,用户在限定的时间内不能重复打开该页面,具有一定减少资源消耗的作用
    每个页面名请用“|”符号隔开
    在线和用户来源[顶部]
    在线显示用户IP
    关闭后如果所属用户组、论坛权限、用户权限中设置了用户可浏览则可见
    checked<%end if%>>保密  checked<%end if%>>公开 
    在线显示用户来源
    关闭后如果所属用户组、论坛权限、用户权限中设置了用户可浏览则可见
    开启本功能较消耗资源
    checked<%end if%>>保密  checked<%end if%>>公开 
    在线资料列表显示用户当前位置 checked<%end if%>>否  checked<%end if%>>是 
    在线资料列表显示用户登陆和活动时间 checked<%end if%>>否  checked<%end if%>>是 
    在线资料列表显示用户浏览器和操作系统 checked<%end if%>>否  checked<%end if%>>是 
    在线名单显示客人在线
    为节省资源建议关闭
    checked<%end if%>>关闭  checked<%end if%>>打开 
    在线名单显示用户在线
    为节省资源建议关闭
    checked<%end if%>>关闭  checked<%end if%>>打开 
    删除不活动用户时间
    可设置删除多少分钟内不活动用户
    单位:分钟,请输入数字
     分钟
    总论坛允许同时在线数
    如不想限制,可设置为0
     人
    邮件选项[顶部]
    发送邮件组件
    如果您的服务器不支持下列组件,请选择不支持
    SMTP Server地址
    只有在论坛使用设置中打开了发送邮件功能,该填写内容方有效
    上传设置[顶部]
    头像上传 checked<%end if%>>关闭  checked<%end if%>>打开 
    允许的最大头像文件大小  K
    用户选项[顶部]
    允许个人签名 checked<%end if%>>关闭  checked<%end if%>>打开 
    允许用户使用头像 checked<%end if%>>关闭  checked<%end if%>>打开 
    最大头像尺寸
    定义内容为头像的最大高度和宽度
     象素
    默认头像宽度
    定义内容为论坛头像的默认宽度
     象素
    默认头像高度
    定义内容为论坛头像的默认宽度
     象素
    使用自定义头像的最少发帖数  篇
    允许从其他站点上传头像
    就是是否可以直接使用http..这样的url来直接显示头像
    checked<%end if%>>关闭  checked<%end if%>>打开 
    用户签名是否开启UBB代码 checked<%end if%>>关闭  checked<%end if%>>打开 
    用户签名是否开启HTML代码 checked<%end if%>>关闭  checked<%end if%>>打开 
    用户是否开启贴图标签
    包括图片、flash、多媒体等
    checked<%end if%>>关闭  checked<%end if%>>打开 
    用户排行列表个数  个
    用户头衔
    是否允许用户自定义头衔
    checked<%end if%>>关闭  checked<%end if%>>打开 
    用户头衔最大长度  byte
    自定义头衔最少发帖数量限制
    不做限制请设置为0
     篇
    自定义头衔注册天数限制
    不做限制请设置为0
     天
    自定义头衔上面两个条件加在一起限制 checked<%end if%>>否  checked<%end if%>>是 
    自定义头衔中要屏蔽的词语
    每个限制字符用“|”符号隔开
    防刷新机制[顶部]
    防刷新机制
    如选择打开请填写下面的限制刷新时间
    对版主和管理员无效
    checked<%end if%>>关闭  checked<%end if%>>打开 
    浏览刷新时间间隔
    填写该项目请确认您打开了防刷新机制
    仅对帖子列表和显示帖子页面起作用
     秒
    论坛分页设置[顶部]
    每页显示最多纪录
    用于论坛所有和分页有关的项目(帖子列表和浏览帖子除外)
     条
    帖子选项[顶部]
    作为热门话题的最低人气值
    标准为主题回复数
     条
    编辑过的帖子显示"由xxx于yyy编辑"的信息 checked<%end if%>>否  checked<%end if%>>是 
    管理员编辑后显示"由XXX编辑"的信息 checked<%end if%>>否  checked<%end if%>>是 
    等待"由XXX编辑"信息显示的时间
    允许用户编辑自己的帖子而不在帖子底部显示"由XXX编辑"信息的时限(以分钟为单位)
     分钟
    编辑帖子时限
    编辑处理帖子的时间限制(以分钟为单位, 1天是1440分钟) 超过这个时间限制, 只有管理员和版主才能编辑和删除帖子. 如果不想使用这项功能, 请设置为0
     分钟
    是否起用记录帖子阅读用户功能
    只有用户发言时选择记录阅读该贴用户方生效
    开启本功能将消耗部分系统资源
    发贴用户、管理员和版主可看到该贴阅读用户列表
    checked<%end if%>>否  checked<%end if%>>是 
    门派设置[顶部]
    是否开启论坛门派 checked<%end if%>>否  checked<%end if%>>是 
     
    <% end sub sub saveconst() dim Forum_copyright if trim(request("skinid"))="" then Founderr=true Errmsg=Errmsg+"
    "+"
  • 请选择保存的模板名称" else Forum_Setting=request.Form("Forum_Setting(0)") & "," & request.Form("Forum_Setting(1)") & "," & request.Form("Forum_Setting(2)") & "," & request.Form("Forum_Setting(3)") & "," & request.Form("Forum_Setting(4)") & "," & request.Form("Forum_Setting(5)") & "," & request.Form("Forum_Setting(6)") & "," & request.Form("Forum_Setting(7)") & "," & request.Form("Forum_Setting(8)") & "," & request.Form("Forum_Setting(9)") & "," & request.Form("Forum_Setting(10)") & "," & request.Form("Forum_Setting(11)") & "," & request.Form("Forum_Setting(12)") & "," & request.Form("Forum_Setting(13)") & "," & request.Form("Forum_Setting(14)") & "," & request.Form("Forum_Setting(15)") & "," & request.Form("Forum_Setting(16)") & "," & request.Form("Forum_Setting(17)") & "," & request.Form("Forum_Setting(18)") & "," & request.Form("Forum_Setting(19)") & "," & request.Form("Forum_Setting(20)") & "," & request.Form("Forum_Setting(21)") & "," & request.Form("Forum_Setting(22)") & "," & request.Form("Forum_Setting(23)") & "," & request.Form("Forum_Setting(24)") & "," & request.Form("Forum_Setting(25)") & "," & request.Form("Forum_Setting(26)") & "," & request.Form("Forum_Setting(27)") & "," & request.Form("Forum_Setting(28)") & "," & request.Form("Forum_Setting(29)") & "," & request.Form("Forum_Setting(30)") & "," & request.Form("Forum_Setting(31)") & "," & request.Form("Forum_Setting(32)") & "," & request.Form("Forum_Setting(33)") & "," & request.Form("Forum_Setting(34)") & "," & request.Form("Forum_Setting(35)") & "," & request.Form("Forum_Setting(36)") & "," & request.Form("Forum_Setting(37)") & "," & request.Form("Forum_Setting(38)") & "," & request.Form("Forum_Setting(39)") & "," & request.Form("Forum_Setting(40)") & "," & request.Form("Forum_Setting(41)") & "," & request.Form("Forum_Setting(42)") & "," & request.Form("Forum_Setting(43)") & "," & request.Form("Forum_Setting(44)") & "," & request.Form("Forum_Setting(45)") & "," & request.Form("Forum_Setting(46)") & "," & request.Form("Forum_Setting(47)") & "," & request.Form("Forum_Setting(48)") & "," & request.Form("Forum_Setting(49)") & "," & request.Form("Forum_Setting(50)") & "," & request.Form("Forum_Setting(51)") & "," & request.Form("Forum_Setting(52)") & "," & request.Form("Forum_Setting(53)") & "," & request.Form("Forum_Setting(54)") & "," & request.Form("Forum_Setting(55)") & "," & request.Form("Forum_Setting(56)") & "," & request.Form("Forum_Setting(57)") & "," & request.Form("Forum_Setting(58)") & "," & request.Form("Forum_Setting(59)") & "," & request.Form("Forum_Setting(60)") & "," & request.Form("Forum_Setting(61)") & "," & request.Form("Forum_Setting(62)") & "," & request.Form("Forum_Setting(63)") & "," & request.Form("Forum_Setting(64)") & "," & request.Form("Forum_Setting(65)") & "," & request.Form("Forum_Setting(66)") & "," & request.Form("Forum_Setting(67)") & "," & request.Form("Forum_Setting(68)") & "," & request.Form("Forum_Setting(69)") & "," & request.Form("Forum_Setting(70)") & "," & request.Form("Forum_Setting(71)") & "," & request.Form("Forum_Setting(72)") Forum_info=Request("ForumName") & "," & Request("ForumURL") & "," & Request("CompanyName") & "," & Request("HostUrl") & "," & Request("SMTPServer") & "," & Request("SystemEmail") & "," & Request("Logo") & "," & Request("Picurl") & "," & Request("Faceurl") & "," & Request("GMT") & "," & Request("emoturl") & "," & Request("userfaceurl") 'response.write Forum_info 'response.write "
    " 'response.write Forum_Setting Forum_copyright=request("copyright") if request("checkall")="1" then sql="update config set Forum_Setting='"&Forum_Setting&"',StopReadme='"&request.Form("StopReadme")&"',Forum_info='"&Forum_info&"',Forum_copyright='"&Forum_copyright&"'" conn.execute(sql) else if request("skinid")<>"" then sql="update config set Forum_Setting='"&Forum_Setting&"',StopReadme='"&request.Form("StopReadme")&"',Forum_info='"&Forum_info&"',Forum_copyright='"&Forum_copyright&"' where id in ( "&request("skinid")&" )" conn.execute(sql) end if end if response.write "设置成功。" end if end sub '恢复默认设置 sub restore() Forum_info="动网先锋论坛,http://www.dvbbs.net/,动网先锋,http://www.aspsky.net/,61.145.114.64,club@aspsky.net,images/LOGO.GIF,pic/,face/,北京时间,emot/,userface/" Forum_Setting="0,300,1,1,0,1,1,1,40,lang_gb.asp,0,20,,,0,0,,,,0,30,0,40,0,1,0,9999,,1,0,1,1,1,1,1,1,0,1,32,32,0,10,1,,10,,1,1,1,1,10,10,0,1,0,1,500,120,,9,15,4,0,300,0,1,0,1,20,0,0|24,," conn.execute("update config set Forum_Setting='"&Forum_Setting&"',Forum_info='"&Forum_info&"' where id="&request("skinid")) response.write "还原设置成功。" end sub %>