Discuz教程网

【Discuz X1.5】快速发帖回复插件

[复制链接]
authicon 小白 发表于 2011-2-21 20:32:01 | 显示全部楼层 |阅读模式
插件作者: XX 无法下载,请举报
插件编码: GBK简体 UTF8简体 BIG5繁体 UTF8繁体 
适用版本: Discuz! X1.5 
支持站点: XX
作品介绍: 实现快速发帖,或者快速回复框里加入【匿名回复】选项

本帖最后由 小白 于 2011-2-21 20:33 编辑

主题列表页面

文件:template\default\forum\forumdisplay_fastpost.htm  
查找:
  1. <button {if !$guestpost}type="submit" {else}type="button" {/if}name="topicsubmit" id="fastpostsubmit" value="topicsubmit" tabindex="13" class="pn"><strong>{lang post_newthread}</strong></button>

复制代码


在下面增加:

  1. <!--{if $_G['uid']}-->

  2.     <!--{if $_G['group']['allowanonymous']}--><input type="checkbox" name="isanonymous" id="isanonymous" class="pc" value="1" /><label for="isanonymous">{lang post_anonymous}</label><!--{/if}-->

  3.    <!--{else}-->

  4.     <!--{if $_G['group']['allowanonymous'] || (!$_G['group']['allowanonymous'] && $orig['anonymous'])}--><input type="checkbox" name="isanonymous" id="isanonymous" class="pc" value="1" {if $orig['anonymous']}checked="checked"{/if} /><label for="isanonymous">{lang post_anonymous}</label><!--{/if}-->

  5.    <!--{/if}-->

复制代码


-------------------------------------------------------------------------------------------------
主题阅读页面
文件:template\default\forum\viewthread_fastpost.htm
查找:
  1. <!--{if $_G['gp_ordertype'] != 1 && empty($_G[gp_from])}-->

  2.        <input id="fastpostrefresh" type="checkbox" class="pc" /> <label for="fastpostrefresh">{lang post_fastreply_gotolast}</label>

  3.        <script type="text/javascript">if(getcookie('fastpostrefresh') == 1) {$('fastpostrefresh').checked=true;}</script>

  4.        <!--{/if}-->

复制代码


后面增加:
  1. <!--{if $_G['uid']}-->

  2.     <!--{if $_G['group']['allowanonymous']}--><input type="checkbox" name="isanonymous" id="isanonymous" class="pc" value="1" /><label for="isanonymous">{lang post_anonymous}</label><!--{/if}-->

  3.    <!--{else}-->

  4.     <!--{if $_G['group']['allowanonymous'] || (!$_G['group']['allowanonymous'] && $orig['anonymous'])}--><input type="checkbox" name="isanonymous" id="isanonymous" class="pc" value="1" {if $orig['anonymous']}checked="checked"{/if} /><label for="isanonymous">{lang post_anonymous}</label><!--{/if}-->

  5.    <!--{/if}-->

复制代码




上一篇:【Discuz X1.5】页面强制刷新按钮插件
下一篇:【Discuz X1.5】注册登录自带前缀马甲插件
authicon cutiemimi 发表于 2011-5-7 12:59:47 | 显示全部楼层
偶的天啊!爱死你了
authicon fantuanzi 发表于 2011-5-9 11:59:42 | 显示全部楼层
好东西,要下来看看
authicon 月之海洋 发表于 2011-5-11 01:59:41 | 显示全部楼层
这个贴不错!!!
authicon 福倒菜菜子 发表于 2011-5-13 10:59:54 | 显示全部楼层
支持楼主,顶一下
authicon NicoleOnly 发表于 2011-5-17 09:59:48 | 显示全部楼层
这个要顶起来啊
authicon mjz 发表于 2011-5-21 02:59:52 | 显示全部楼层
支持!好东西,拿走了!
authicon 乐娃娃 发表于 2011-5-26 20:59:35 | 显示全部楼层
有意思~顶顶 ,继续顶顶。继续顶哦
authicon 21585151 发表于 2011-6-18 20:59:48 | 显示全部楼层
强人,佩服死了。
authicon yuki佳 发表于 2011-6-22 10:00:07 | 显示全部楼层
顶你一下,好贴要顶!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

1314学习网 ( 浙ICP备10214163号 )

GMT+8, 2025-5-2 14:12

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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