📄 usergroupsinfo.jsp
字号:
<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
<%@ page language="java" pageEncoding="UTF-8"%>
<jsp:include page="../cp_header.jsp" />
<form method="post" action="admincp.jsp?action=editusergroupinfo&groupid=${userGroup.groupid}">
<a name="d6f648ec5c05e6d2"></a>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
<tr class="header">
<td colspan="2">编辑用户组<a href="###" onclick="collapse_change('d6f648ec5c05e6d2')"><img id="menuimg_d6f648ec5c05e6d2" src="./images/admincp/menu_reduce.gif" border="0" style="float: right; margin-top: -12px; margin-right: 8px;" /></a></td>
</tr>
<tbody id="menu_d6f648ec5c05e6d2" style="display: yes">
<tr>
<td width="45%" class="altbg1"><b>用户组头衔:</b></td>
<td class="altbg2"><input type="text" size="50" name="grouptitle" value="${userGroup.grouptitle}" maxlength="30"></td>
</tr>
<tr>
<td width="45%" class="altbg1"><b>用户组设置方案:</b></td>
<td class="altbg2">
<select name="projectid" onchange="window.location='admincp.jsp?action=forusergroups&edit=${userGroup.groupid}&projectid='+this.options[this.options.selectedIndex].value">
<option value="0" selected="selected">无</option>
<c:forEach items="${projects}" var="project">
<option value="${project.id}" ${project.id==projectid?"selected":""}>${project.name}</option>
</c:forEach>
</select>
</td>
</tr>
<c:if test="${userGroup.type=='special'}">
<tr>
<td width="45%" class="altbg1"><b>关联管理权:</b><br /><span class="smalltxt">与本用户组相关联的管理权限类别,如果选择“无”,则本用户组用户无管理权限;否则,按照管理组中本组的权限赋予用户管理权限</span></td>
<td class="altbg2">
<select name="radminid">
<option value="0">无</option>
<option value="1" ${userGroup.radminid==1?"selected":""}>管理员</option>
<option value="2" ${userGroup.radminid==2?"selected":""}>超级版主</option>
<option value="3" ${userGroup.radminid==3?"selected":""}>版主</option>
</select>
</td>
</tr>
</c:if>
</tbody>
</table>
<br />
<c:if test="${userGroup.type=='special'}">
<a name="49fac9afe359c2b8"></a>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
<tr class="header">
<td colspan="2">用户组体制<a href="###" onclick="collapse_change('49fac9afe359c2b8')"><img id="menuimg_49fac9afe359c2b8" src="./images/admincp/menu_reduce.gif" border="0" style="float: right; margin-top: -12px; margin-right: 8px;" /></a></td>
</tr>
<tbody id="menu_49fac9afe359c2b8" style="display: yes">
<tr>
<td colspan="2" class="altbg2">
<ul><li><b><u>非公众用户组</u></b><br />当用户组设置为“非公众用户组”时,无论是以主用户组的形式,还是以扩展用户组的形式,均只能由管理员手工将用户加入本组。</ul>
<ul>
<li>
<b><u>公众用户组</u></b><br />当本用户组设置为“公众用户组”,且用户当前所在的用户组被允许加入/离开公众用户组时,用户将可以在控制面板中将本组设置为其主用户组或扩展用户组。当设为主用户组后,相关权限将遵循本用户组的权限设定;当设为扩展用户组后,将能访问特定的只有本用户组能够访问的论坛版块。
<ul>
<li><b>收费公众用户组</b>: 您可以选择要求用户支付一定的交易积分才能加入本组,用户支付的交易积分多少,决定了系统允许其拥有本组权限时间的长短。您可以设定用户拥有本组权限一天,所需支付的交易积分的数额。超过用户购买的相应期限后,系统会自动去除该用户相关的用户组属性。
<li><b>免费公众用户组</b>: 用户只需在控制面板中选择加入本用户组,即可拥有本用户组的权限和头衔,而不需要付出任何代价。
</ul>
</li>
</ul>
</td>
</tr>
</tbody>
<tr>
<td width="45%" class="altbg1"><b>公众用户组:</b><br /><span class="smalltxt">设置是否为公众用户组。注意: 使用此功能前请确定是否确实需要,否则用户一旦自行加入本组,即便之后再设置本组为非公众用户组,仍然无法将用户从该组中批量去除,除非删除本用户组。公众用户组不能关联管理组,以免产生安全隐患</span></td>
<td class="altbg2">
<input class="radio" type="radio" name="system_public" value="1" checked> 是
<input class="radio" type="radio" name="system_public" value="0" ${systemgroup==null?"checked":""}> 否
</td>
</tr>
<c:choose>
<c:when test="${systemgroup!=null}">
<c:forEach items="${systemgroup}" var="system" varStatus="index">
<c:if test="${index.count==1}">
<tr>
<td width="45%" class="altbg1"><b>收费公众用户组日价格:</b><br /><span class="smalltxt">如果您需要用户支付相应的交易积分后才能加入本用户组,请在此输入本组的日购买价格,单位为交易积分所使用的单位。例如设置为 2,则用户购买为期 30 天的本组权限,需要支付 2*30=60 个交易积分,30 天有效期后该用户将自动从本组中退出。如设置为 0,则本组为免费公众用户组。注意: 本功能需要首先设定用户组为公众用户组且设置了有效的交易积分后才有效</span></td>
<td class="altbg2"><input type="text" size="50" name="system_dailyprice" value="${system}"></td>
</tr>
</c:if>
<c:if test="${index.count==2}">
<tr>
<td width="45%" class="altbg1"><b>收费公众用户组一次最短购买时间(天):</b><br /><span class="smalltxt">设置用户在购买本组权限时,一次支付价值至少多少日的交易积分,请设置为大于等于 1 的数值。例如日价格为 2,最短购买时间为 10,则用户至少需要花费 2*10=20 个交易积分,获得至少 10 天本组权限,才能加入本组。注意: 本功能需要首先设定用户组为收费公众用户组才有效</span></td>
<td class="altbg2"><input type="text" size="50" name="system_minspan" value="${system}"></td>
</tr>
</c:if>
</c:forEach>
</c:when>
<c:otherwise>
<tr>
<td width="45%" class="altbg1"><b>收费公众用户组日价格:</b><br /><span class="smalltxt">如果您需要用户支付相应的交易积分后才能加入本用户组,请在此输入本组的日购买价格,单位为交易积分所使用的单位。例如设置为 2,则用户购买为期 30 天的本组权限,需要支付 2*30=60 个交易积分,30 天有效期后该用户将自动从本组中退出。如设置为 0,则本组为免费公众用户组。注意: 本功能需要首先设定用户组为公众用户组且设置了有效的交易积分后才有效</span></td>
<td class="altbg2"><input type="text" size="50" name="system_dailyprice" value="0"></td>
</tr>
<tr>
<td width="45%" class="altbg1"><b>收费公众用户组一次最短购买时间(天):</b><br /><span class="smalltxt">设置用户在购买本组权限时,一次支付价值至少多少日的交易积分,请设置为大于等于 1 的数值。例如日价格为 2,最短购买时间为 10,则用户至少需要花费 2*10=20 个交易积分,获得至少 10 天本组权限,才能加入本组。注意: 本功能需要首先设定用户组为收费公众用户组才有效</span></td>
<td class="altbg2"><input type="text" size="50" name="system_minspan" value="0"></td>
</tr>
</c:otherwise>
</c:choose>
</table>
<br />
</c:if>
<a name="fc7692b098d134af"></a>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
<tr class="header">
<td colspan="2">基本权限<a href="###" onclick="collapse_change('fc7692b098d134af')"><img id="menuimg_fc7692b098d134af" src="./images/admincp/menu_reduce.gif" border="0" style="float: right; margin-top: -12px; margin-right: 8px;" /></a></td>
</tr>
<tbody id="menu_fc7692b098d134af" style="display: yes">
<c:choose>
<c:when test="${userGroup.groupid==7}">
<input type="hidden" name="allowvisit" value="1">
</c:when>
<c:otherwise>
<tr>
<td width="45%" class="altbg1"><b>允许访问论坛:</b><br /><span class="smalltxt">选择“否”将彻底禁止用户访问论坛的任何页面</span></td>
<td class="altbg2">
<input class="radio" type="radio" name="allowvisit" value="1" checked> 是
<input class="radio" type="radio" name="allowvisit" value="0" ${userGroup.allowvisit!=1?"checked":""}> 否
</td>
</tr>
</c:otherwise>
</c:choose>
<tr>
<td width="45%" class="altbg1"><b>阅读权限:</b><br /><span class="smalltxt">设置用户浏览帖子或附件的权限级别,范围 0~255,0 为禁止用户浏览任何帖子或附件。当用户的阅读权限小于帖子或附件的阅读权限许可(默认时为 1)时,用户将不能阅读该帖子或下载该附件</span></td>
<td class="altbg2"><input type="text" size="50" name="readaccess" value="${userGroup.readaccess}" maxlength="3"></td>
</tr>
<tr>
<td width="45%" class="altbg1"><b>允许查看用户资料:</b><br /><span class="smalltxt">设置是否允许查看其它用户的资料信息</span></td>
<td class="altbg2">
<input class="radio" type="radio" name="allowviewpro" value="1" checked> 是
<input class="radio" type="radio" name="allowviewpro" value="0" ${userGroup.allowviewpro!=1?"checked":""}> 否
</td>
</tr>
<tr>
<td width="45%" class="altbg1"><b>允许查看统计数据:</b><br /><span class="smalltxt">设置是否允许用户查看论坛统计数据</span></td>
<td class="altbg2">
<input class="radio" type="radio" name="allowviewstats" value="1" checked> 是
<input class="radio" type="radio" name="allowviewstats" value="0" ${userGroup.allowviewstats!=1?"checked":""}> 否
</td>
</tr>
<tr>
<td width="45%" class="altbg1"><b>允许隐身:</b><br /><span class="smalltxt">设置是否允许用户登录后不显示在在线列表中</span></td>
<td class="altbg2">
<input class="radio" type="radio" name="allowinvisible" value="1" checked> 是
<input class="radio" type="radio" name="allowinvisible" value="0" ${userGroup.allowinvisible!=1?"checked":""}> 否
</td>
</tr>
<tr>
<td width="45%" class="altbg1"><b>允许加入/离开公众用户组:</b><br /><span class="smalltxt">设置是否允许用户在控制面板中加入或离开可用的公众用户组</span></td>
<td class="altbg2">
<input class="radio" type="radio" name="allowmultigroups" value="1" checked> 是
<input class="radio" type="radio" name="allowmultigroups" value="0" ${userGroup.allowmultigroups!=1?"checked":""}> 否
</td>
</tr>
<tr>
<td width="45%" class="altbg1"><b>允许积分转账:</b><br /><span class="smalltxt">设置是否允许用户在控制面板中将自己的交易积分转让给其它用户。注意: 本功能需在 JspRun! 选项中启用交易积分后才可使用</span></td>
<td class="altbg2">
<input class="radio" type="radio" name="allowtransfer" value="1" checked> 是
<input class="radio" type="radio" name="allowtransfer" value="0" ${userGroup.allowtransfer!=1?"checked":""}> 否
</td>
</tr>
<tr>
<td width="45%" class="altbg1"><b>允许使用搜索:</b><br /><span class="smalltxt">设置是否允许通过数据库进行帖子搜索和短消息搜索。注意: 当数据量大时,全文搜索将非常耗费服务器资源,请慎用</span></td>
<td class="altbg2">
<input class="radio" type="radio" name="allowsearch" value="0" ${userGroup.allowsearch==0?"checked":""}> 禁用搜索<br />
<input class="radio" type="radio" name="allowsearch" value="1" ${userGroup.allowsearch==1?"checked":""}> 只允许搜索标题<br />
<input class="radio" type="radio" name="allowsearch" value="2" ${userGroup.allowsearch==2?"checked":""}> 允许全文搜索<br />
</td>
</tr>
<tr>
<td width="45%" class="altbg1"><b>允许使用头像:</b><br /><span class="smalltxt">设置是否允许使用头像和可用头像的类型</span></td>
<td class="altbg2">
<input class="radio" type="radio" name="allowavatar" value="0" ${userGroup.allowavatar==0?"checked":""}> 禁止使用头像<br />
<input class="radio" type="radio" name="allowavatar" value="1" ${userGroup.allowavatar==1?"checked":""}> 允许使用论坛提供头像<br />
<input class="radio" type="radio" name="allowavatar" value="2" ${userGroup.allowavatar==2?"checked":""}> 允许指定头像 URL<br />
<input class="radio" type="radio" name="allowavatar" value="3" ${userGroup.allowavatar==3?"checked":""}> 允许上传头像<br />
</td>
</tr>
<tr>
<td width="45%" class="altbg1"><b>操作理由短消息通知作者:</b><br /><span class="smalltxt">设置用户在对他人评分或管理操作时是否强制输入理由和通知作者</span></td>
<td class="altbg2">
<input class="radio" type="radio" name="reasonpm" value="0" ${userGroup.reasonpm==0?"checked":""}> 不强制<br />
<input class="radio" type="radio" name="reasonpm" value="1" ${userGroup.reasonpm==1?"checked":""}> 强制输入理由<br />
<input class="radio" type="radio" name="reasonpm" value="2" ${userGroup.reasonpm==2?"checked":""}> 强制通知作者<br />
<input class="radio" type="radio" name="reasonpm" value="3" ${userGroup.reasonpm==3?"checked":""}> 强制输入理由和通知作者<br />
</td>
</tr>
<tr>
<td width="45%" class="altbg1"><b>允许使用文集:</b><br /><span class="smalltxt">设置是否允许把文章加入个人的文集中,从而供他人浏览</span></td>
<td class="altbg2">
<input class="radio" type="radio" name="allowuseblog" value="1" ${userGroup.allowuseblog==1?"checked":""}> 是
<input class="radio" type="radio" name="allowuseblog" value="0" ${userGroup.allowuseblog==0?"checked":""}> 否
</td>
</tr>
<tr>
<td width="45%" class="altbg1">
<b>允许使用昵称:</b>
<br />
<span class="smalltxt">设置是否允许用户使用昵称,昵称可用作用户的第二名字、或心情、简短留言等显示在帖子中、在线列表及用户资料中</span>
</td>
<td class="altbg2">
<input class="radio" type="radio" name="allownickname" value="1" ${userGroup.allownickname==1?"checked":""} > 是
<input class="radio" type="radio" name="allownickname" value="0" ${userGroup.allownickname==0?"checked":""}> 否
</td>
</tr>
<tr>
<td width="45%" class="altbg1">
<b>允许自定义头衔:</b>
<br />
<span class="smalltxt">设置是否允许用户设置自己的头衔名字并在帖子中显示</span>
</td>
<td class="altbg2">
<input class="radio" type="radio" name="allowcstatus" value="1" ${userGroup.allowcstatus==1?"checked":""}>
是
<input class="radio" type="radio" name="allowcstatus" value="0" ${userGroup.allowcstatus==0?"checked":""}>
否
</td>
</tr>
<tr>
<td width="45%" class="altbg1">
<b>不受时间段限制:</b>
<br />
<span class="smalltxt">设置用户是否可以不受 JspRun! 选项中设置的特殊时间段禁令限制</span>
</td>
<td class="altbg2">
<input class="radio" type="radio" name="disableperiodctrl" value="1" ${userGroup.disableperiodctrl==1?"checked":""}>
是
<input class="radio" type="radio" name="disableperiodctrl" value="0" ${userGroup.disableperiodctrl==0?"checked":""}>
否
</td>
</tr>
<tr>
<td width="45%" class="altbg1">
<b>短消息收件箱容量:</b>
<br />
<span class="smalltxt">设置用户短消息最大可保存的消息数目,0 为禁止使用短消息</span>
</td>
<td class="altbg2">
<input type="text" size="50" name="maxpmnum" value="${userGroup.maxpmnum}" maxlength="5">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -