Written by 我就横着走 on 05月 10th, 2008
一、版主只能1级精华、超级版主只能1、2级精华
include/moderation.inc.php
查找
} elseif($operation == ‘digest’) {
在下面添加
//晓函修改,关于版主和超级版主的权限问题
if($adminid==’3′){ //版主
if(!in_array($level,array(’1′))) showmessage(’你只可設置精华1′);
}elseif($adminid==’2′){ //超版
if(!in_array($level,array(’1′,’2′))) showmessage(’你只可設置精华1,2′);
}
找 template/default/topicadmin_moderate.htm
<label><input class="radio" type="radio" name="level" value="1" $digestcheck[1] onclick="$(’expiration’).disabled=0" /> <img src="{IMGDIR}/digest_1.gif" alt="" /></label>
<label><input class="radio" type="radio" name="level" value="2" $digestcheck[2] onclick="$(’expiration’).disabled=0" /> <img src="{IMGDIR}/digest_2.gif" alt="" /></label>
[…]
Written by 我就横着走 on 02月 20th, 2008
论坛做了修改。做个备份。
打开discuz模板
修改一
添加代码
<thead class="category">
<tr>
<th>{lang forum_name}</th>
<td class="nums">{lang forum_threads}</td>
<td class="nums">{lang forum_posts}</td>
<td class="lastpost">{lang forum_lastpost}</td>
<td width="16%" class="moderator"><div align="center">{lang forum_moderators}</div></td> /*添加的代码*/
</tr>
</thead>
修改二
删除代码
<!–{if $forum[’moderators’]}–><!–{if $moddisplay == ‘flat’}–><p class="moderators">{lang forum_moderators}: $forum[moderators]</p><!–{else}–><span class="dropmenu" id="mod$forum[fid]" >{lang forum_moderators}</span><ul class="moderators popupmenu_popup" id="mod$forum[fid]_menu" style="display: none">$forum[moderators]</ul><!–{/if}–><!–{/if}–>
修改三
查找
<!–{else}–>
{lang […]
Written by 我就横着走 on 02月 18th, 2008
呵呵。终于找到方法。已经做了修改。效果很满意,今天做一下备份。
原作者:
魔焰男孩
原帖地址:http://www.discuz.net/viewthread.php?tid=418843&extra=&page=1
申明: 本插件版权归原作者所有
安装方法:
1. 下载附件 smiliescheck.inc.php 将其上传至 论坛的include目录里面
smiliescheck_utf.rar
smiliescheck_gbk.rar
2. 打开 include/newthread.inc.php, 查找:
$typeid = isset($forum[’threadtypes’][’types’][$typeid]) ? $typeid : 0;
在上面添加:
include DISCUZ_ROOT.’./include/smiliescheck.inc.php’;
3. 打开 include/newreply.inc.php, 查找:
$attachments = $attachnum ? attach_upload() : array();
在上面添加:
include DISCUZ_ROOT.’./include/smiliescheck.inc.php’;
4. 打开 include/editpost.inc.php, 查找:
} else {
$authoradd = ‘, author=\”.($isanonymous ? ” : addslashes($orig[’author’])).’\”;
$anonymousadd = ", anonymous=’$isanonymous’";
}
在下面添加:
include DISCUZ_ROOT.’./include/smiliescheck.inc.php’;
5. 安装完成, 更新缓存!
Written by 我就横着走 on 02月 14th, 2008
本想只说下怎么修改标题中的powered by,但又有人问底部的powered by所以又都发出来。
1,页面标题后面的powered by
SS跟目录下>
space.php
spacelist.php
viewspace.php
搜索:
- powered by x-space
如果搜索不到,就搜索 ” powered by x-space ” 然后注意去掉前面的 ” - ”
有的文件不止一次出现
- powered by x-space
应该全替换成空才行
SS后台>基本设置>缓存更新(全部)