在你的风格CSS最下面添加以下代码
- /*快速回复*/
- .n2-firstpost{height:56px;padding:10px 10px 10px 25px;margin:10px 0px;background:#eaeaea;border:1px solid #ddd;}
- .n2-firstposti{float:left;width:95%;height:30px;line-height:30px;font-size:14px;border:1px solid;border-color:#999 #CCC #CCC #999;padding:2px 5px;background:#fff;}
- .n2-firstpostb{float:left;width:90px;height:36px;border:none;overflow:hidden;text-indent:-9999px;background:#317AC3 url({IMGDIR}/n2-post.png) no-repeat 0 0;cursor:pointer;}
复制代码 在你的风格 /forum/viewthread_node.htm 里查找
- <!--{if $_G['group']['raterange'] && $post['authorid']}-->
- <a href="javascript:;" id="ak_rate" onclick="showWindow('rate', 'https://www.discuz.1314study.com/forum.php?mod=misc&action=rate&tid=$_G[tid]&pid=$post[pid]', 'get', -1);return false;" title="{echo count($postlist[$post[pid]][totalrate]);} {lang people_score}"><i><img src="{IMGDIR}/agree.gif" alt="{lang rate}" />{lang rate}</i></a>
- <!--{/if}-->
- <!--{if $post['first'] && $_G[uid] && $_G[uid] == $post[authorid]}-->
- <a href="misc.php?mod=invite&action=thread&id=$_G[tid]" onclick="showWindow('invite', this.href, 'get', 0);"><i><img src="{IMGDIR}/activitysmall.gif" alt="{lang invite}" />{lang invite}</i></a>
- <!--{/if}-->
- <!--{hook/viewthread_useraction}-->
- </div>
- <!--{/if}-->
- <!--{/if}-->
复制代码 在 <!--{/if}--><!--{/if}-->中间加调用文件
- <!--{subtemplate forum/viewthread_fastpost_1}-->
复制代码
也就是代码如下
- <!--{if $_G['group']['raterange'] && $post['authorid']}-->
- <a href="javascript:;" id="ak_rate" onclick="showWindow('rate', 'https://www.discuz.1314study.com/forum.php?mod=misc&action=rate&tid=$_G[tid]&pid=$post[pid]', 'get', -1);return false;" title="{echo count($postlist[$post[pid]][totalrate]);} {lang people_score}"><i><img src="{IMGDIR}/agree.gif" alt="{lang rate}" />{lang rate}</i></a>
- <!--{/if}-->
- <!--{if $post['first'] && $_G[uid] && $_G[uid] == $post[authorid]}-->
- <a href="misc.php?mod=invite&action=thread&id=$_G[tid]" onclick="showWindow('invite', this.href, 'get', 0);"><i><img src="{IMGDIR}/activitysmall.gif" alt="{lang invite}" />{lang invite}</i></a>
- <!--{/if}-->
- <!--{hook/viewthread_useraction}-->
- </div>
- <!--{/if}-->
- <!--{subtemplate forum/viewthread_fastpost_1}-->
- <!--{/if}-->
复制代码 上传附件到你的风格包里
附件下载:
BUG修复
安装后回帖就提示“请输入标题和内容”,解决方法
主编 提供的修复方案:
首先下载这个附件覆盖原来的viewthread_fastpost_1.htm
viewthread_fastpost_1.rar
(1.19 KB, 下载次数: 2)
|
上一篇: Discuz X2 底部美化带免责声明共享下一篇: Discuz X2 鲜花鸡蛋(20110702)(各楼层均可操作+AJAX显示留言)
|