Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

去掉主题列表页下方的快速发新话题编辑框

[复制链接]
拳头 发表于 2008-6-23 15:53:53 | 显示全部楼层 |阅读模式
后台有开启快速回复的选项,但不好的地方就是一旦设置关闭,
连帖子内的快速回复都会跟着消失,放在版块内又确实占用地方,
下面介绍一下去掉方法。

forumdisplay.htm
首先查找:
  1. <h4>{lang post_fastpost}</h4>
复制代码
将{lang post_fastpost}改为<a href="论坛地址">返回论坛首页</a>

之所心这样改,是因为我想保留右侧的查看积分策略说明

加个返回论坛首页,一举两得。

如果不需要查看积分策略说明的话,请修改后再看二楼。

查找下面代码并删除:
  1. <div class="postoptions">
  2.                                 <h5>{lang options}</h5>
  3.                                 <p><label><input class="checkbox" type="checkbox" name="parseurloff" id="parseurloff" value="1" /> {lang disable} {lang post_parseurl}</label></p>
  4.                                 <p><label><input class="checkbox" type="checkbox" name="smileyoff" id="smileyoff" value="1" /> {lang disable} </label>{faq smilies}</p>
  5.                                 <p><label><input class="checkbox" type="checkbox" name="bbcodeoff" id="bbcodeoff" value="1" /> {lang disable} </label>{faq discuzcode}</p>
  6.                                 <!--{if $allowanonymous || $forum['allowanonymous']}--><p><label><input class="checkbox" type="checkbox" name="isanonymous" value="1" /> {lang post_anonymous}</label></p><!--{/if}-->
  7.                                 <p><label><input class="checkbox" type="checkbox" name="usesig" value="1" $usesigcheck /> {lang post_show_sig}</label></p>
  8.                                 <p><label><input class="checkbox" type="checkbox" name="emailnotify" value="1" /> {lang post_email_notify}</label></p>
  9.                                 <!--{if $allowuseblog && $forum['allowshare']}--><p><label><input class="checkbox" type="checkbox" name="addtoblog" value="1" /> {lang post_blog_thread}</label></p><!--{/if}-->
  10.                         </div>
  11.                         <div class="postform">
  12.                                 <h5><label for="subject">{lang subject}</label>
  13.                                 <!--{if $iscircle && $mycircles}--><select name='sgid'><option value="0">{lang circle_select_please}</option><!--{loop $mycircles $id $name}--><option value="$id">$name</option><!--{/loop}--></select><!--{else}-->$typeselect<!--{/if}--> <input type="text" id="subject" name="subject" tabindex="1" /></label></h5>
  14.                                 <div id="threadtypes"></div>
  15.                                 <p><label>{lang content}</label>
  16.                                 <textarea rows="7" cols="80" class="autosave" name="message" id="message" onKeyDown="ctlent(event);" tabindex="2"></textarea>
  17.                                 </p>
  18.                                 <p class="btns">
  19.                                         <button type="submit" name="topicsubmit" id="postsubmit" tabindex="3">{lang post_topicsubmit}</button>{lang post_submit_hotkey}
  20.                                         <a href="###" id="previewpost" onclick="$('postform').action=$('postform').action + '&previewpost=yes';$('postform').submit();">{lang post_previewpost}</a>
  21.                                         <a href="###" id="restoredata" title="{lang post_autosave_last_restore}" onclick="loadData()">{lang post_autosave_restore}</a>
  22.                                         <a href="###" onclick="$('postform').reset()">{lang post_topicreset}</a>
  23.                                 </p>
  24.                         </div>
  25.                         <!--{if $smileyinsert}-->
  26.                                 <div class="smilies">
  27.                                         <div id="smilieslist"></div>
  28.                                         <script type="text/javascript">ajaxget('post.php?action=smilies', 'smilieslist');</script>
  29.                                 </div>
  30.                         <!--{/if}-->
  31.                         <script type="text/javascript">
  32.                                 var textobj = $('message');
  33.                                 window.onbeforeunload = function () {saveData(textobj.value)};
  34.                                 if(is_ie >= 5 || is_moz >= 2) {
  35.                                         lang['post_autosave_none'] = "{lang post_autosave_none}";
  36.                                         lang['post_autosave_confirm'] = "{lang post_autosave_confirm}";
  37.                                 } else {
  38.                                         $('restoredata').style.display = 'none';
  39.                                 }
  40.                         </script>
复制代码
原图:


效果图:


[ 本帖最后由 拳头 于 2008-7-2 15:37 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
 楼主| 拳头 发表于 2008-6-23 15:54:49 | 显示全部楼层
按以上方法修改之后,再查找删除:
  1. <div id="quickpost" class="box">
  2.                         <span class="headactions"><a href="member.php?action=credits&view=forum_post&fid=$fid" target="_blank">{lang credits_policy_view}</a></span>
  3.                         <h4>{lang post_fastpost}</h4>
  4.                        
  5.                 </div>
复制代码
效果图:


[ 本帖最后由 拳头 于 2008-6-24 19:48 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

挡泥板 发表于 2008-6-23 16:37:17 | 显示全部楼层
好帖!支持!(::51::)
回复

使用道具 举报

goddz 发表于 2008-6-23 16:52:13 | 显示全部楼层
好帖!支持(::20::)
回复

使用道具 举报

 楼主| 拳头 发表于 2008-6-23 17:00:20 | 显示全部楼层
右侧的表情怎么时有是无(::97::)
回复

使用道具 举报

 楼主| 拳头 发表于 2008-6-23 17:35:17 | 显示全部楼层
(::28::) (::28::) 我顶~
回复

使用道具 举报

雾血 发表于 2008-6-23 19:12:02 | 显示全部楼层
不错,顶下
回复

使用道具 举报

 楼主| 拳头 发表于 2008-6-23 20:23:58 | 显示全部楼层
没人需要,浪费精力
回复

使用道具 举报

mate1944 发表于 2008-6-23 21:15:27 | 显示全部楼层
需要需要 那个帖子是我发的 我需要的 感谢拳头大哥啊~~真的非常感谢
回复

使用道具 举报

 楼主| 拳头 发表于 2008-6-23 21:21:10 | 显示全部楼层
哪个帖子是你发的
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-10-4 07:30 , Processed in 0.170348 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表