免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
返回列表 發帖

[版型教學] 快捷回复栏加上传附件按钮。

QQ截图20130610101409.png
2013-6-10 10:22


打开viewthread_fastpost.htm模板,搜索代码
  1. <p><button type="submit" name="replysubmit" id="fastpostsubmit" value="replysubmit" tabindex="5">{lang post_newreply}</button>
複製代碼
在下面加
  1. <!--{if in_array('rayfile', $seditor[1])}-->
  2. <script type="text/javascript"  src="http://www.rayfile.com/media/js/plug_in.js"></script>
  3. <input name='rayfile_email' type='hidden' value='601447405@qq.com' id='rayfile_email'/>
  4. <input name='rayfile_tmp_address' type='hidden' value='http://www.test.com/phpwind87/plug_tmp.html' id='rayfile_tmp_address' />
  5. <input name='open_plug' type='button' onclick='open_new_html()' title="快速上传附件" value='上传附件' -3px -501px;}"></a>
  6. <!--{/if}-->
複製代碼
其中601447405@qq.com是我的网盘注册账号,改成你自己的就行了。没有账号的到rayfile申请去。

效果可以到我的论坛随便点击个上传试试。

謝謝分享
   請各位多多支持,謝謝ww

TOP

辛勞你分享很好代碼,謝謝!

TOP

为什么我用不了?用上就什么按钮都没了。
unamed1370870714.png
2013-6-10 21:23

TOP

哇。这个好强大。~~~

TOP

能不能使用论坛的附件上传?
欢迎来我Q群玩耍,群号159218504,群号没有错哦

TOP

謝謝分享

TOP

返回列表