Manyou诚邀开发者加盟 | 常见问题
《站长》“开发者特刊”限量赠送
立即免费下载 Discuz!6.1.0正式版
Discuz! 6.1.0使用说明 | 使用手册
Discuz!NT2.5正式版发布
开放源码下载 | 使用手册
Discuz!收费服务内容及价格
《站长》俱乐部各地聚会活动进行中
Discuz!/ECShop 专用官方虚拟主机
论坛游戏插件再开新区 助你在聚新人气
基于Discuz!的免费论坛空间5D6D
《站长》第八期:实战互联网开放平台
返回列表 回复 发帖

转贴工具集合于面板(防干扰)for DZ 5.5[2007-03-25更新] 附5.0修改方法

#############################################
插件名称:转贴工具集合于面板(防干扰)for DZ 5.5
适用版本:DZ 5.X
修      改:klgd
修  改:修正编辑帖子不能更新附件的BUG
数据升级:无
最后更新:2007-3-25
备  注:
增加文件
templates/default/convert.htm
#############################################
因为convert.htm里有个</form>和post_editpost.htm(编辑帖子)里的发生冲突导致BUG出现

更新:
只需要修改post_editpost.htm(编辑帖子)就行了~
  1. {template convert}<!--hack by ke5.cn-->
复制代码
放在
  1. </form>
复制代码
的下面
更新完毕!

把它放到这个位置,看着有点不舒服
但是其他没地方可放,大家将就点吧~
还有其他问题可以PM我~

***************************************************************************************
5.5全新安装开始:
一.修改模板post_newthread.htm(发表主题)

1.查找
  1. <input type="button" class="lightbutton" value=" {lang post_topicreset} " tabindex="104" onclick="clearcontent()">
复制代码
在下面加
  1. <!--hack by ke5.cn-->
  2. <INPUT type="button" class="lightbutton" value="转贴工具" onclick="zhuantie.style.display=zhuantie.style.display=='none'?'block':'none'">
  3. <iframe id=rtf style="MARGIN-LEFT: 0px;WIDTH: 0px; HEIGHT: 0px" marginWidth=0 marginHeight=0 src="about:blank" scrolling=no></iframe>
  4. <script>rtf.document.designMode="On";</script>
  5. <!--hack by ke5.cn-->
复制代码
3.查找
  1. {lang post_submit_hotkey}
  2. </div>
复制代码
在下面加
  1. {template convert}<!--hack by ke5.cn-->
复制代码
二.修改模板post_editpost.htm(编辑帖子)

1.查找
  1. <input type="button" class="lightbutton" value=" {lang post_topicreset} " tabindex="104" onclick="clearcontent()">
复制代码
在下面加
  1. <!--hack by ke5.cn-->
  2. <INPUT type="button" class="lightbutton" value="转贴工具" onclick="zhuantie.style.display=zhuantie.style.display=='none'?'block':'none'">
  3. <iframe id=rtf style="MARGIN-LEFT: 0px;WIDTH: 0px; HEIGHT: 0px" marginWidth=0 marginHeight=0 src="about:blank" scrolling=no></iframe>
  4. <script>rtf.document.designMode="On";</script>
  5. <!--hack by ke5.cn-->
复制代码
3.查找
  1. </form>
复制代码
在下面加
  1. {template convert}<!--hack by ke5.cn-->
复制代码
三.修改模板forumdisplay.htm(快速发贴)和viewthread.htm(快速回复)
这个有点影响美观,可以根据自己需要选择

1.查找
  1. <input type="reset" class="lightbutton" name="topicsreset" value="{lang post_topicreset}" tabindex="6">
复制代码
在下面加
  1. <!--hack by ke5.cn-->
  2. <INPUT type="button" class="lightbutton" value="转贴工具" onclick="zhuantie.style.display=zhuantie.style.display=='none'?'block':'none'">
  3. <iframe id=rtf style="MARGIN-LEFT: 0px;WIDTH: 0px; HEIGHT: 0px" marginWidth=0 marginHeight=0 src="about:blank" scrolling=no></iframe>
  4. <script>rtf.document.designMode="On";</script>
  5. <!--hack by ke5.cn-->
复制代码
2.查找
  1.         </td>
  2.         <script type="text/javascript">
复制代码
在上面加
  1. {template convert}<!--hack by ke5.cn-->
复制代码
*************************************************************************************
5.0全新安装开始:
一.修改模板post_newthread.htm(发表主题)

1.查找
  1. <input type="button" class="lightbutton" value=" {lang post_topicreset} " tabindex="103" onclick="clearcontent()">
复制代码
在下面加
  1. <!--hack by ke5.cn-->
  2. <INPUT type="button" class="lightbutton" value="转贴工具" onclick="zhuantie.style.display=zhuantie.style.display=='none'?'block':'none'">
  3. <iframe id=rtf style="MARGIN-LEFT: 0px;WIDTH: 0px; HEIGHT: 0px" marginWidth=0 marginHeight=0 src="about:blank" scrolling=no></iframe>
  4. <script>rtf.document.designMode="On";</script>
  5. <!--hack by ke5.cn-->
复制代码
3.查找
  1. {lang post_submit_hotkey}
  2. </div>
复制代码
在下面加
  1. {template convert}<!--hack by ke5.cn-->
复制代码
二.修改模板post_editpost.htm(编辑帖子)

1.查找
  1. <input type="button" class="lightbutton" value=" {lang post_topicreset} " tabindex="103" onclick="clearcontent()">
复制代码
在下面加
  1. <!--hack by ke5.cn-->
  2. <INPUT type="button" class="lightbutton" value="转贴工具" onclick="zhuantie.style.display=zhuantie.style.display=='none'?'block':'none'">
  3. <iframe id=rtf style="MARGIN-LEFT: 0px;WIDTH: 0px; HEIGHT: 0px" marginWidth=0 marginHeight=0 src="about:blank" scrolling=no></iframe>
  4. <script>rtf.document.designMode="On";</script>
  5. <!--hack by ke5.cn-->
复制代码
3.查找
  1. </form>
复制代码
在下面加
  1. {template convert}<!--hack by ke5.cn-->
复制代码
三.修改模板forumdisplay.htm(快速发贴)


1.查找
  1.         <input type="reset" class="lightbutton" name="topicsreset" value="{lang post_topicreset}" tabindex="5">
复制代码
在下面加
  1. <!--hack by ke5.cn-->
  2. <INPUT type="button" class="lightbutton" value="转贴工具" onclick="zhuantie.style.display=zhuantie.style.display=='none'?'block':'none'">
  3. <iframe id=rtf style="MARGIN-LEFT: 0px;WIDTH: 0px; HEIGHT: 0px" marginWidth=0 marginHeight=0 src="about:blank" scrolling=no></iframe>
  4. <script>rtf.document.designMode="On";</script>
  5. <!--hack by ke5.cn-->
复制代码
2.查找
  1.         </td>
  2.         <td width="18%" class="altbg1">
复制代码
在上面加
  1. {template convert}<!--hack by ke5.cn-->
复制代码
四.修改模板viewthread.htm(快速回复)

1.查找
  1.         <input type="reset" name="topicsreset" class="lightbutton" value="{lang post_topicreset}" tabindex="5">
复制代码
在下面加
  1. <!--hack by ke5.cn-->
  2. <INPUT type="button" class="lightbutton" value="转贴工具" onclick="zhuantie.style.display=zhuantie.style.display=='none'?'block':'none'">
  3. <iframe id=rtf style="MARGIN-LEFT: 0px;WIDTH: 0px; HEIGHT: 0px" marginWidth=0 marginHeight=0 src="about:blank" scrolling=no></iframe>
  4. <script>rtf.document.designMode="On";</script>
  5. <!--hack by ke5.cn-->
复制代码
2.查找
  1.         </td>
  2.         <td width="18%" class="altbg1">
复制代码
在上面加
  1. {template convert}<!--hack by ke5.cn-->
复制代码
全新安装结束。

[ 本帖最后由 klgd 于 2007-3-25 16:29 编辑 ]

convert.rar (3.16 KB)

演示:
http://ke5.cn/bbs/

[ 本帖最后由 klgd 于 2007-1-1 00:12 编辑 ]

发表主题

1.jpg

快速发贴

2.jpg
很实用啊 !严重支持!
顺便---
广告位!
:lol
好啊````:lol :lol
好东西呀,支持了
前不久还见过和这差不多的!
原帖由 HY清风 于 2007-1-1 05:48 发表
前不久还见过和这差不多的!
本来就是在他的基础上做了一些修改
试用了不错,但查找和替换用不了?
顶了,查找和替换怎么用了,请指点
顶了,问提两个:
1、查找和替换怎么用了,勾了替换不了?
3、请指点图片过滤怎么用,和屏蔽图片有什么区别?
返回列表