/js/bigcolorpicker/css/jquery.bigcolorpicker.css" />--> $(function(){ editor=loadEditor('group_description'); $(".face-icon").jqfaceedit({txtAreaObj:editor,containerObj:$('#emotion_parentcontainer'),top:25,left:-27}); $("img[f='color-img']").bigColorpicker(function(el,color){ var id=$(el).attr("data-target"); $("#"+id).val(color); $("#"+id).css({"color":color}); }); }); function add(){ if( $('#value').val()!='' && $('#value').val()!==null){ update(); return; } $("#submit_button").attr("disabled", "disabled"); $("#submit_button").val( 'add...' ); $('#group_description').val(editor.html()); Dyhb.AjaxSubmit('groupAdd','','',complete); } function update(){ $("#submit_button").attr("disabled", "disabled"); $("#submit_button").val( 'update...' ); $('#group_description').val(editor.html()); Dyhb.AjaxSubmit('groupAdd','','',function(){ $("#submit_button").attr("disabled", false); $("#submit_button").val( '更新' ); }); } function complete(data,status){ $("#submit_button").attr("disabled", false); $("#submit_button").val( '发布' ); if(status==1){ setTimeout(function(){window.location.href=D.U('app/config?controller=group&action=edit&id=&value='+data.group_id);},1000); } } function insertGroupdescriptionattachment(nAttachmentid){ insertAttachment(editor,nAttachmentid); } function insertGroupdescriptionmusic(sContent){ insertMusic(editor,sContent); } function insertGroupdescriptionvideo(sContent){ insertVideo(editor,sContent); }

操作提示

  • 添加群组的时候可以为群组指定一个分类

编辑群组添加群组

-->" method="post" id="groupAdd">
-->"/>
群组别名是相对于小组名的一种昵称,且最大长达为32个字符
-->"/>
小组名字只能是由英文,数字和下划线组成,且最大长达为32个字符

-->" style="color:"/>

 
突出显示某些小组,高亮
-->"/>
小组列表简介是小组列表一个简短的介绍,且最大长达为300个字符
小组的分类,方便管理

详细的小组简介可以让人更好地了解小组的功能 查看内容支持的UBB代码
checked="select" name="group_joinway" type="radio" value="0" />自由加入 checked="select" name="group_joinway" type="radio" value="1" />禁止加入
群组一旦设置为禁止加入,那么将无法加入会员
checked="select" type="radio" name="group_ispost" value="0" />允许会员发帖 checked="select" type="radio" name="group_ispost" value="1" />不允许会员发帖 checked="select" type="radio" name="group_ispost" value="2" />自由发帖
如果发贴方式设置为自由发贴,那么不用加入小组也可以发贴
checked="select" name="group_isopen" type="radio" value="1" />完全开放 checked="select" name="group_isopen" type="radio" value="0" />仅组员
开启浏览权限后,只有组员才能够访问
checked="select" name="group_audittopic" type="radio" value="1" />是 checked="select" name="group_audittopic" type="radio" value="0" />否
发贴审核的话,只有通过管理人员审核后才能够看到帖子
checked="select" name="group_auditcomment" type="radio" value="1" />是 checked="select" name="group_auditcomment" type="radio" value="0" />否
回帖审核的话,只有通过管理人员审核后才能够看到回帖
-->"/>
自定义角色组长名字
-->"/>
自定义角色管理员名字
-->"/>
自定义角色成员名字